Closed
Description
Preconditions
- Error while running PHPCS from another directory after the latest updates.
- Fatal error: Uncaught Error: Class 'Magento2\Sniffs\Html\Template\Tokenizer\Parameter' not found in /home/amasty/phpcs/vendor/magento/magento-coding-standard/Magento2/Sniffs/Html/HtmlDirectiveSniff.php:165
Steps to reproduce
- Install magento-coding-standard according to the instructions
- Run PHPCS from the installed path
Expected result
- PHPCS should run as usual with magento-coding-standard
Actual result
Fatal error: Uncaught Error: Class 'Magento2\Sniffs\Html\Template\Tokenizer\Parameter' not found in /home/amasty/phpcs/vendor/magento/magento-coding-standard/Magento2/Sniffs/Html/HtmlDirectiveSniff.php:165