Closed alexislefebvre closed 2 years ago
it looks to be coming from Doctrine\Common
though no?
In another bundle, I only had to require doctrine/annotations
: https://github.com/liip/LiipTestFixturesBundle/pull/170
And the namespace of annotations is Doctrine\Common\Annotations
: https://github.com/doctrine/annotations/blob/1.13.2/lib/Doctrine/Common/Annotations/AnnotationReader.php
I will try with doctrine/common
though.
I fixed the make test_doctrine_bridge
by adding doctrine/annotations
in vendor-bin/doctrine/composer.json
.
Now there's another error:
1) Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundleTest::testServiceRegistration LogicException: "enable_annotations" on the validator cannot be set as the PHP version is lower than 8 and Doctrine Annotations support is disabled. Consider upgrading PHP.
I skipped the tests in PhpcrLoaderIntegrationTest
, that's the best I can do right now.
I forgot about this PR. Can we skip the tests of PHPCR too?
I skipped more tests of PHPCR and the CI is green, I think it's better to have a partially green CI that a broken one.
Hello @theofidry, could you please review this PR?
Thank you @alexislefebvre
I saw this error on CI :
doctrine/annotations
was a dependency ofdoctrine/persistence
until https://github.com/doctrine/persistence/pull/197/filesIt has to be a strong dependency now.