Skip to content

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

Open
@darshanperpule

Description

@darshanperpule

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions