Closed
Description
develop
branch is not working with Magento 2 codebase
Preconditions
- Have cloned
magento/magento2
Steps to reproduce
- Change
composer.json
dependency to"magento/magento-coding-standard": "dev-develop"
- Run
composer update magento/magento-coding-standard
- Run
vendor/bin/phpcs --standard=dev/tests/static/framework/Magento/ruleset.xml app/code
orphp vendor/bin/phpunit dev/tests/static/phpunit.xml.dist
Expected result
Check is running without errors.
Actual result
Fatal error: Uncaught Error: Class 'Magento2\Sniffs\Commenting\PHPDocFormattingValidator' not found in vendor/magento/magento-coding-standard/Magento2/Sniffs/Commenting/ClassAndInterfacePHPDocFormattingSniff.php:36