magento / magento-coding-standard

Magento Coding Standard
Open Software License 3.0
349 stars 153 forks source link

Uncaught Error: Class 'GraphQL\Language\Token' not found in /usr/share/php/PHP/CodeSniffer/src/Files/File.php:556 #196

Open darshanperpule opened 4 years ago

darshanperpule commented 4 years ago

Steps to reproduce

  1. Install phpcs
  2. Configure Magento2 coding standard
  3. run any module which contains graphql

Expected result

1.It should run the command and shows the result. But actually, it's giving below error PHP Fatal error: Uncaught Error: Class 'GraphQL\Language\Token' not found in /usr/share/php/PHP/CodeSniffer/src/Files/File.php:556 Stack trace:

Actual result

  1. It should successfully scan code against Magento2 coding standard and return warnings and errors.
m2-assistant[bot] commented 4 years ago

Hi @darshanperpule. 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


sivaschenko commented 3 years ago

@darshanperpule is this issue still actual? I was not able to reproduce it on the latest codebase