junstyle / vscode-php-cs-fixer

PHP CS Fixer extension for VS Code
https://marketplace.visualstudio.com/items?itemName=junstyle.php-cs-fixer
MIT License
357 stars 45 forks source link

[bug] duplicate code `declare(strict_types=1);` #201

Open zengbo opened 1 year ago

zengbo commented 1 year ago

Environment: VSCode: 1.78.0 Setting: "editor.formatOnPaste": true "editor.formatOnType": true,

Issue: When I paste some code, declare(strict_types=1); is added to the line before the code.