Abdul Malik Ikhsan
Abdul Malik Ikhsan
I will try
/cc @reinfi
@reinfi is the junit formatter author, see - https://github.com/easy-coding-standard/easy-coding-standard/pull/212
The issue seems on `PhpCsFixer\Fixer\Import\OrderedImportsFixer` I think you can report on php-cs-fixer repo for it https://github.com/PHP-CS-Fixer/PHP-CS-Fixer
That should already in latest vendor, https://github.com/easy-coding-standard/easy-coding-standard/blob/191e6626454f472e609d428e096b5c66494f5457/composer.json#L18 It possibly a scoper issue if only happen on ecs, which may cause invalid string processing somewhere. A root cause need to be...
is the issue happen on 12.x as well? If not, then it can be issue on `php_codesniffer` 4
in case you can lookup something on vendor https://github.com/easy-coding-standard/easy-coding-standard/blob/24708c6673871e342245c692e1bb304f119ffc58/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/OrderedImportsFixer.php#L64
I tried in ecs 12, and error still happen, so it nothing to do with php_codesniffer 4 ``` ➜ ecs-debug-20251111 git:(master) ✗ composer update Loading composer repositories with package information...
disable `OrderedImportsFixer` seems cause invalid printing: ```diff 1) src/foo.php ---------- begin diff ---------- @@ -1,7 +1,7 @@
@zonuexe I created PR to your repo to skip `\PhpCsFixer\Fixer\ControlStructure\NoUnneededCurlyBracesFixer` as seems bug on php-cs-fixer as far as I check: - https://github.com/zonuexe/ecs-debug-20251111/pull/1