simpod / phpstan-graphql
PHPStan GraphQL extension
Installs: 4 971
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 1
Type:phpstan-extension
Requires
- php: ~7.1
- nikic/php-parser: ^4.0
- phpstan/phpdoc-parser: ^0.4
- phpstan/phpstan: ^0.11|^0.12
- webonyx/graphql-php: ^0.13.0
Requires (Dev)
- doctrine/coding-standard: ^5.0
- jakub-onderka/php-parallel-lint: ^1.0
- phing/phing: ^2.16.0
- phpstan/phpstan-phpunit: ^0.10
- phpstan/phpstan-strict-rules: ^0.10
- phpunit/phpunit: ^7.2
This package is auto-updated.
Last update: 2020-10-02 08:04:34 UTC
README
This extension provides the following features:
ResolveInfo::getFieldSelection($depth)
return type is interpreted based on passed$depth
value.
Usage
To use this extension, require it in Composer:
composer require --dev simpod/phpstan-graphql
And include extension.neon in your project's PHPStan config:
includes:
- vendor/simpod/phpstan-graphql/extension.neon