schmittjoh / serializer

Library for (de-)serializing data of any complexity (supports JSON, and XML)
http://jmsyst.com/libs/serializer
MIT License
2.31k stars 591 forks source link

Run the ORM tests using an attribute driver when able #1517

Closed mbabker closed 9 months ago

mbabker commented 9 months ago
Q A
Bug fix? no
New feature? no
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets Partially #1516
License MIT

This PR changes the test suite to run the ORM's integration tests configuring the entity manager to use the attribute driver on PHP 8 and it exists, falling back to the annotation driver when not available. The bulk of this PR is actually adding attributes to all the fixture classes, there're only 3 test classes that actually changed.