-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Update to symfony/console 6.0 and newer version of phpunit #61
Conversation
composer.json
Outdated
"php-di/invoker": "~2.0", | ||
"psr/container": "^1.0|^2.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~6.4", | ||
"phpunit/phpunit": ">=6.4", |
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.
This runs the risk of breaking with new PHPUnit versions. Maybe try something like ^6.4 || 7 || 8
?
🤦 thank you Travis-CI… we have no CI anymore. |
Hi! What's preventing this from moving forward? Since Valet uses Silly as a dependency, it seems that every local environment featuring Valet is currently prevented from upgrading to Cheers |
Honestly, it depends on our degree of confidence here since we have no CI. The ideal scenario is someone sends a PR to add GitHub Actions CI, but I know that this takes time (as I won't have much time in the near future to tackle that). If this PR is really blocking, and you both are confident this PR is good, I'm fine with merging. I don't want to be the SPOF here. Also there's this minor comment that needs to be adjusted before merging: #61 (comment) Any help is welcome! |
Ok cool. Can't promise anything but I may try and look into adding GitHub CI instead (in a separate PR) |
I've amend the last commit with the changes suggested ! Thanks and sorry for the delay ! |
Sweet, thanks @cjobeili. I think a good approach now would be to fix CI in a different PR, get that other PR merged in, then merge |
Not at all, i've just worked on github actions so https://github.com/cjobeili/silly/actions/runs/1813643403 . |
I've merged #64 |
Updated with master and kaboom ! I'm looking at it |
So here my "investigations": 7.0, 7.1 and 7.2 fails because of the new composer condition added >=7.4 Are we ok to drop all version before 7.4 ? Thanks! |
Yes! |
The last fail is due to
this bug has been fixed since 8.5.14 commit but composer seems to like this version. Any idea how to handle this issue ? Thanks! |
@cjobeili this may be a naive answer but couldn't you just change the dependency requirement for this?
Since PHPUnit 8 is introduced for the first time anyway. Thanks for doing this by the way! |
Please update & merge this. |
@PieterCappelle feel free to send a PR. |
@cjobeili I'm fine to merge this, is this ready to merge for you? |
@mnapoli I'm fine with this, i've drop the low-deps matrix because it was a pain to make it work "quickly". If it's ok for you it's ok for me ! All tests passes with standard deps. |
Thank you! |
This PR aims to update symfony/console version in order to make it work for brefphp/bref in ref of #60
I have updated to a newer version of phpunit in a separated commit too