Happyr / Doctrine-Specification

This library gives you a new way for writing queries. Using the Specification pattern you will get small Specification classes that are highly reusable.
MIT License
445 stars 40 forks source link

Allow Symfony 6 #315

Closed KDederichs closed 2 years ago

KDederichs commented 2 years ago

Allow Symfony 6 and add PHP 8.1 to test matrix

KDederichs commented 2 years ago

Fixes #314

peter-gribanov commented 2 years ago

PHPSpec not support PHP 8.1 https://github.com/phpspec/phpspec/issues/1406

KDederichs commented 2 years ago

Good to know, removed that for now then :)

peter-gribanov commented 2 years ago

Please add Symfony 6 compatibility check to the GitHub Action config:

- php-version: '8.0'
    dependencies: highest
    variant: 'doctrine/orm:~2.7 symfony/symfony:^6.0'
KDederichs commented 2 years ago

Sure, also increased the PHP CS Fixer PHP Version, seems like that needs 7.4 now

peter-gribanov commented 2 years ago

Please try to change

-    variant: 'doctrine/orm:~2.7 symfony/symfony:^6.0'
+    variant: 'doctrine/orm:~2.7 symfony/property-access:^6.0'
KDederichs commented 2 years ago

Done, hope that fixes it cause otherwise PHPSpec needs to be updated as well?

peter-gribanov commented 2 years ago

Thanks for your work :+1:

peter-gribanov commented 2 years ago

Released in v2.0.2.