Skip to content

Update phpstan to 2.x #1234

Update phpstan to 2.x

Update phpstan to 2.x #1234

Triggered via pull request July 23, 2025 20:18
Status Failure
Total duration 2m 28s
Artifacts

continuous-integration.yaml

on: pull_request
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PHPStan
Process completed with exit code 1.
PHPStan: tests/DocumentTest.php#L191
Ignored error pattern #^Access to an undefined property Elastica\\Document\:\:\$field1\.$# (property.notFound) in path /home/runner/work/Elastica/Elastica/tests/DocumentTest.php is expected to occur 2 times, but occurred only 1 time.
PHPStan: tests/ClusterTest.php#L0
Ignored error pattern #^Call to method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with true and true will always evaluate to true\.$# (method.alreadyNarrowedType) in path /home/runner/work/Elastica/Elastica/tests/ClusterTest.php was not matched in reported errors.
PHPUnit (PHP 8.3, ES 9.0.0)
Process completed with exit code 1.
PHPUnit (PHP 8.1, ES 9.0.0)
Process completed with exit code 1.
PHPUnit (PHP 8.4, ES 9.0.0)
Process completed with exit code 1.
PHPUnit (PHP 8.2, ES 9.0.0)
Process completed with exit code 1.