Skip to content

Class 'Magento2\Sniffs\Html\Template\Tokenizer\Parameter' not found #214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
edspc opened this issue Aug 9, 2021 · 2 comments
Closed

Class 'Magento2\Sniffs\Html\Template\Tokenizer\Parameter' not found #214

edspc opened this issue Aug 9, 2021 · 2 comments
Assignees
Labels
bug Something isn't working Progress: done

Comments

@edspc
Copy link

edspc commented Aug 9, 2021

Preconditions

  1. Error while running PHPCS from another directory after the latest updates.
  2. 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

  1. Install magento-coding-standard according to the instructions
  2. Run PHPCS from the installed path

Expected result

  1. 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
@edspc edspc added the bug Something isn't working label Aug 9, 2021
@m2-assistant
Copy link

m2-assistant bot commented Aug 9, 2021

Hi @edspc. Thank you for your report.
To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


@edspc
Copy link
Author

edspc commented Aug 9, 2021

@magento I am working on this

edspc pushed a commit to edspc/magento-coding-standard that referenced this issue Aug 9, 2021
magento-devops-reposync-svc pushed a commit that referenced this issue Apr 27, 2023
ACP2E-1887: Remove phpcsutils classes and add dependency on phpcsstandards/phpcsutils
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Progress: done
Projects
None yet
Development

No branches or pull requests

1 participant