Skip to content
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

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

Open
darshanperpule opened this issue Oct 9, 2020 · 2 comments
Labels

Comments

@darshanperpule
Copy link

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.
@darshanperpule darshanperpule added the bug Something isn't working label Oct 9, 2020
@m2-assistant
Copy link

m2-assistant bot commented Oct 9, 2020

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
Copy link
Member

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

magento-devops-reposync-svc pushed a commit that referenced this issue Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants