-
Notifications
You must be signed in to change notification settings - Fork 5
Add PHP 8.2 and Monolog 3 to Test Matrix, drop Support for PHP 7.2 and 7.3 #20
base: master
Are you sure you want to change the base?
Add PHP 8.2 and Monolog 3 to Test Matrix, drop Support for PHP 7.2 and 7.3 #20
Conversation
composer.json
Outdated
@@ -21,10 +21,11 @@ | |||
"require-dev": { | |||
"doctrine/doctrine-bundle": "^1.8 || ^2.0", | |||
"doctrine/phpcr-odm": "^1.4", | |||
"jackalope/jackalope": "^1.0 || ^2.0@dev", |
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.
Not sure why this is now required:
https://github.com/dantleech/phpcr-migrations-bundle/actions/runs/4436191849/jobs/7784305593
Maybe @dbu has a hint
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.
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.
looks like i need to upgrade the phpcr-bundle for jackalope 2 - i did not do that yet.
for the need to require jackalope: i think this has been necessary before as well - phpcr-odm does not require a specific phpcr implementation. is the ci build of this bundle not requiring jackalope dynamically?
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.
for the need to require jackalope: i think this has been necessary before as well - phpcr-odm does not require a specific phpcr implementation. is the ci build of this bundle not requiring jackalope dynamically
It seems not: https://github.com/dantleech/phpcr-migrations-bundle/blob/master/.github/workflows/ci.yaml
There is no log of the last run but atleast last year it seems to have run without problems without require a phpcr implementation 🤔 :
https://github.com/dantleech/phpcr-migrations-bundle/commits/master
I thought it is not worth to invest in supporting PHP 7.2 and 7.3 and remove it from the matrix and composer.json: @dantleech what do you think about dropping PHP 7.2 / 7.3 support. For Sulu 1.6 we require 7.4 still if there would appear any bugs but only until we hopelly release this year Sulu 3.0. |
drop away! |
composer.json
Outdated
"symfony/symfony": "^4.4 || ^5.4 || ^6.0", | ||
"symfony/monolog-bundle": "^2.0 || ^3.0", | ||
"symfony/phpunit-bridge": "^5.4 || ^6.0", | ||
"symfony-cmf/testing": "^2.1 || ^3.0 || ^4.0" | ||
"symfony-cmf/testing": "dev-master as 4.5.0" |
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.
@dbu I think we could tag the merged symfony-cmf/Testing#213 so I can remove here dev-master
?
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.
sorry, this went under. i created the tag now: https://github.com/symfony-cmf/Testing/releases/tag/4.4.2
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.
composer.json updated
composer.json
Outdated
@@ -21,10 +21,13 @@ | |||
"require-dev": { | |||
"doctrine/doctrine-bundle": "^1.8 || ^2.0", | |||
"doctrine/phpcr-odm": "^1.4", | |||
"jackalope/jackalope": "^1.0", | |||
"jackalope/jackalope-doctrine-dbal": "^1.0", | |||
"jackalope/jackalope-jackrabbit": "^1.0", |
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 would only install one of dbal or jackrabbit. and you don't need to require jackalope/jackalope separately, it is required by the actual implementations.
as to why this suddenly comes up: maybe old versions of symfony-cmf/testing did require jackalope but the newest one no longer does? you'd need to compare composer.json of symfony-cmf/testing if you want to be sure.
but imho requiring something explicitly here is a good idea anyways. you might also need to do a bit of setup in the ci steps to be able to use the implementation if there are functional tests in this repository.
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 required the jackalope-doctrine-dbal
for now. Maybe @dantleech can tell us if something specific is required, from my side ready for review :)
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.
looks sane to me. but i am no maintainer of this bundle and have not used it...
i'd suggest to squash the commits as there was some back and forth in the commits ;-)
Currently PHP 8.2 and Monolog 3 is not tested.
Requires: