New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Symfony 7 #28
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,22 +9,21 @@ | |
"paragonie/halite": "^4.6|^5.0", | ||
"doctrine/orm": "^2.5", | ||
"doctrine/doctrine-bundle": "^2.0", | ||
"symfony/property-access": "^4.1|^5.0|^6.0", | ||
"symfony/dependency-injection": "^4.1|^5.0|^6.0", | ||
"symfony/yaml": "^4.1|^5.0|^6.0", | ||
"symfony/http-kernel": "^4.1|^5.0|^6.0", | ||
"symfony/config": "^4.1|^5.0|^6.0", | ||
"symfony/property-access": "^5.4|^6.0|^7.0", | ||
"symfony/dependency-injection": "^5.4|^6.0|^7.0", | ||
"symfony/yaml": "^5.4|^6.0|^7.0", | ||
"symfony/http-kernel": "^5.4|^6.0|^7.0", | ||
"symfony/config": "^5.4|^6.0|^7.0", | ||
"doctrine/annotations": "^1.13|^2.0", | ||
"symfony/expression-language": "^4.1|^5.0|^6.0" | ||
"symfony/expression-language": "^5.4|^6.0|^7.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.0|^9.0", | ||
"defuse/php-encryption": "^2.1", | ||
"doctrine/cache": "^1.11", | ||
"phpstan/phpstan": "^1.4", | ||
"jetbrains/phpstorm-attributes": "^1.0", | ||
"phpcompatibility/php-compatibility": "^9.3", | ||
"symfony/phpunit-bridge": "^6.0" | ||
"symfony/phpunit-bridge": "^6.4|^7.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you can drop symfony/phpunit-bridge 6 completly. It is mostly backward compatible There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I checked the docs and you're right, we can drop the support for 6.4, especially since they are in the dev-requirements, which do not affect users of our library. From the docs:
|
||
}, | ||
"suggest": { | ||
"defuse/php-encryption": "Alternative for halite for use with older php-versions", | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could not get this to work, and perhaps we should also not support this any longer?
I don't mind supporting php 7.2 as long as it uses the latest versions it can (since sf 5.4 support it) but supporting it with the lowest versions possible of the supporting libraries is rather annoying.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried adding it back again after dropping support for symfony 4? Otherwise you might remove dead code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I re-added it in 0a1f3c9.
I had to bump the minimum-requirement of doctrine/doctrine-bundle from 2.0.0 to 2.0.8 for the root-project and for the sf5.4-demo-project I updated the minimum-requirement of symfony/flex to 1.21.
To have phpunit run succesfully, I had to signal phpunit-bridge to use phpunit 7 for that specific job.
Good of you to catch it, since this way we can guarantee our minimum requirements actually work. 👍