Cache result of validation #2684
Annotations
10 errors
Run a static analysis with phpstan/phpstan
The operation was canceled.
|
Run a static analysis with phpstan/phpstan:
src/Validator/DocumentValidator.php#L141
Method GraphQL\Validator\DocumentValidator::validate() throws checked exception Psr\SimpleCache\InvalidArgumentException but it's missing from the PHPDoc @throws tag.
|
Run a static analysis with phpstan/phpstan:
src/Validator/DocumentValidator.php#L140
Right side of && is always true.
|
Run a static analysis with phpstan/phpstan:
src/Validator/DocumentValidator.php#L140
Only booleans are allowed in &&, string given on the right side.
|
Run a static analysis with phpstan/phpstan:
src/Validator/DocumentValidator.php#L140
Only booleans are allowed in &&, Psr\SimpleCache\CacheInterface|null given on the left side.
|
Run a static analysis with phpstan/phpstan:
src/Validator/DocumentValidator.php#L112
Method GraphQL\Validator\DocumentValidator::validate() throws checked exception Psr\SimpleCache\InvalidArgumentException but it's missing from the PHPDoc @throws tag.
|
Run a static analysis with phpstan/phpstan:
src/Validator/DocumentValidator.php#L111
Method GraphQL\Validator\DocumentValidator::validate() throws checked exception Psr\SimpleCache\InvalidArgumentException but it's missing from the PHPDoc @throws tag.
|
Run a static analysis with phpstan/phpstan:
src/Validator/DocumentValidator.php#L108
Only booleans are allowed in an if condition, Psr\SimpleCache\CacheInterface|null given.
|
The run was canceled by @autofix-ci[bot].
|
The run was canceled by @autofix-ci[bot].
|
Loading