doctrine / phpcr-odm

Doctrine PHPCR ODM
http://www.doctrine-project.org/projects/phpcr-odm.html
MIT License
183 stars 97 forks source link

test with PHP 8.1 #826

Closed dbu closed 2 years ago

dbu commented 2 years ago

seems we have some issues to fix :-/

i don't understand the pattern of failures. with php 8.0 (and 7.1-4, as per the builds on the 1.x branch) all is fine. but with php 8.1 we get errors. we do not get any errors with the jackrabbit storage, only with the jackalope-doctrine-dbal storage.

when running only one the ReferenceTest that has 1 error when the whole test suite is run, it has 2 errors. using phpunit 9.5, i see a different error pattern than with the currently allowed 8.5. and when phpunit 9.5 tests only the ReferenceTest, no more errors happen. however, the failures seem to be consistently happening when running the tests multiple times.

see this test run: https://github.com/doctrine/phpcr-odm/actions/runs/2979822085

anybody got some ideas?