Skip to content

Fix PHPCR tests for PHPUnit 10 #315

Fix PHPCR tests for PHPUnit 10

Fix PHPCR tests for PHPUnit 10 #315

Triggered via pull request March 12, 2024 20:52
Status Failure
Total duration 1m 10s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis / PHPStan
Matrix: Static Analysis / Psalm
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Static Analysis / PHPStan (8.3): tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php#L1
Ignored error pattern #^Call to method expects\(\) on an unknown class Doctrine\\ODM\\PHPCR\\DocumentManager\.$# in path /home/runner/work/data-fixtures/data-fixtures/tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php was not matched in reported errors.
Static Analysis / PHPStan (8.3): tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php#L1
Ignored error pattern #^Method Doctrine\\Tests\\Common\\DataFixtures\\Executor\\PHPCRExecutorTest\:\:getDocumentManager\(\) has invalid return type Doctrine\\ODM\\PHPCR\\DocumentManager\.$# in path /home/runner/work/data-fixtures/data-fixtures/tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php was not matched in reported errors.
Static Analysis / PHPStan (8.3): tests/Mock/PHPCRDocumentManager.php#L10
Class Doctrine\Tests\Mock\PHPCRDocumentManager extends unknown class Doctrine\ODM\PHPCR\DocumentManager.
Static Analysis / PHPStan (8.3)
Process completed with exit code 1.
Static Analysis / PHPStan (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis / Psalm (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.