Cache result of validation #2684
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Annotations
27 errors
Static Analysis with PHPStan (7.4)
Process completed with exit code 2.
|
Static Analysis with PHPStan (7.4)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires psr/simple-cache ^3.0 -> satisfiable by psr/simple-cache[3.0.0].
- psr/simple-cache 3.0.0 requires php >=8.0.0 -> your php version (7.4.33) does not satisfy that requirement.
Problem 2
- Root composer.json requires symfony/cache ^6.4 -> satisfiable by symfony/cache[v6.4.0, ..., v6.4.23].
- symfony/cache[v6.4.0, ..., v6.4.23] require php >=8.1 -> your php version (7.4.33) does not satisfy that requirement.
|
Static Analysis with PHPStan (8.0)
Process completed with exit code 2.
|
Static Analysis with PHPStan (8.0)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires symfony/cache ^6.4 -> satisfiable by symfony/cache[v6.4.0, ..., v6.4.23].
- symfony/cache[v6.4.0, ..., v6.4.23] require php >=8.1 -> your php version (8.0.30) does not satisfy that requirement.
|
Static Analysis with PHPStan (8.4)
The operation was canceled.
|
Static Analysis with PHPStan (8.4):
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.
|
Static Analysis with PHPStan (8.4):
src/Validator/DocumentValidator.php#L140
Right side of && is always true.
|
Static Analysis with PHPStan (8.4):
src/Validator/DocumentValidator.php#L140
Only booleans are allowed in &&, string given on the right side.
|
Static Analysis with PHPStan (8.4):
src/Validator/DocumentValidator.php#L140
Only booleans are allowed in &&, Psr\SimpleCache\CacheInterface|null given on the left side.
|
Static Analysis with PHPStan (8.4):
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.
|
Static Analysis with PHPStan (8.4):
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.
|
Static Analysis with PHPStan (8.4):
src/Validator/DocumentValidator.php#L108
Only booleans are allowed in an if condition, Psr\SimpleCache\CacheInterface|null given.
|
Static Analysis with PHPStan (8.4)
The run was canceled by @autofix-ci[bot].
|
Static Analysis with PHPStan (8.3)
The operation was canceled.
|
Static Analysis with PHPStan (8.3):
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.
|
Static Analysis with PHPStan (8.3):
src/Validator/DocumentValidator.php#L140
Right side of && is always true.
|
Static Analysis with PHPStan (8.3):
src/Validator/DocumentValidator.php#L140
Only booleans are allowed in &&, string given on the right side.
|
Static Analysis with PHPStan (8.3):
src/Validator/DocumentValidator.php#L140
Only booleans are allowed in &&, Psr\SimpleCache\CacheInterface|null given on the left side.
|
Static Analysis with PHPStan (8.3):
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.
|
Static Analysis with PHPStan (8.3):
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.
|
Static Analysis with PHPStan (8.3):
src/Validator/DocumentValidator.php#L108
Only booleans are allowed in an if condition, Psr\SimpleCache\CacheInterface|null given.
|
Static Analysis with PHPStan (8.3)
The run was canceled by @autofix-ci[bot].
|
Static Analysis with PHPStan (8.1)
The operation was canceled.
|
Static Analysis with PHPStan (8.1)
The run was canceled by @autofix-ci[bot].
|
Static Analysis with PHPStan (8.2)
The operation was canceled.
|
Static Analysis with PHPStan (8.2)
The run was canceled by @autofix-ci[bot].
|
Static Analysis
The run was canceled by @autofix-ci[bot].
|