Skip to content

Update PHPStan packages to v2 (major) #1768

Update PHPStan packages to v2 (major)

Update PHPStan packages to v2 (major) #1768

Triggered via pull request February 9, 2025 10:00
Status Failure
Total duration 15m 9s
Artifacts

continuous-integration.yml

on: pull_request
run  /  Generate test matrix
4s
run / Generate test matrix
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors
run / Static Code Analysis (8.4): src/Type/JsonType.php#L36
Call to function is_array() with array<mixed> will always evaluate to true.
run / Static Code Analysis (8.4): src/Type/JsonType.php#L44
Call to function is_array() with array<mixed, mixed> will always evaluate to true.
run / Static Code Analysis (8.4): src/Type/JsonType.php#L53
Method Nucleos\Form\Type\JsonType::reverseTransform() never returns null so it can be removed from the return type.
run / Static Code Analysis (8.4): src/Type/JsonType.php#L65
Call to function is_string() with string will always evaluate to true.
run / Static Code Analysis (8.4)
Process completed with exit code 2.