With the latest version (13.1.3), the vendor/bin/ecs --version command is broken:
$ vendor/bin/ecs --version
EasyCodingStandard 13.1.3
+ PHP_CodeSniffer 4.0.1
PHP Fatal error: Uncaught Error: Class "PhpCsFixer\Console\Application" not found in /.../vendor/symplify/easy-coding-standard/src/Console/EasyCodingStandardConsoleApplication.php:54
If I look at the code in the vendor directory, the Application.php is indeed missing (https://github.com/easy-coding-standard/ecs/tree/13.1.3/vendor/friendsofphp/php-cs-fixer/src/Console). If I compare the friendsofphp/php-cs-fixer directory with another version, there seem to be more files missing.
I would be happy to create a PR for this, but it almost looks like the composer installation from ecs-src to ecs repo went wrong, or copying the files to the target repository went corrupt or something.
If I look at the latest tag of phpcsfixer (https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.95.1/src/Console), the Application.php is (still) there.
I can confirm that this works on version 13.1.2:
$ vendor/bin/ecs --version
EasyCodingStandard 13.1.2
+ PHP_CodeSniffer 4.0.1
+ PHP-CS-Fixer 3.95.1
With the latest version (13.1.3), the
vendor/bin/ecs --versioncommand is broken:If I look at the code in the vendor directory, the
Application.phpis indeed missing (https://github.com/easy-coding-standard/ecs/tree/13.1.3/vendor/friendsofphp/php-cs-fixer/src/Console). If I compare thefriendsofphp/php-cs-fixerdirectory with another version, there seem to be more files missing.I would be happy to create a PR for this, but it almost looks like the composer installation from
ecs-srctoecsrepo went wrong, or copying the files to the target repository went corrupt or something.If I look at the latest tag of phpcsfixer (https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.95.1/src/Console), the
Application.phpis (still) there.I can confirm that this works on version 13.1.2: