-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Keep full PHPUnit 9.x support #417
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #417 +/- ##
============================================
+ Coverage 66.66% 66.73% +0.07%
Complexity 92 92
============================================
Files 21 21
Lines 459 460 +1
============================================
+ Hits 306 307 +1
Misses 153 153 ☔ View full report in Codecov by Sentry. |
But why, @mvorisek? Who in their right mind will not update |
Imagine project like this one /w slow test detector dependency. If this package/dependency will limit the phpunit version, lowest testing will be constrained more than needed. Therefore this PR. |
Again, why would anyone want to use
I can't see a problem with limiting use to versions of And, when we start patching |
Normally, |
Do you have examples of such packages? |
In short any PHPUnit lib.
When "lowest" packages are installed for PHPUnit testing, the |
I have understood, but I would like to see an actual package where that would be a problem to avoid solving problems that aren't problems. |
I am describing our internal testing package. With the This/slow detector package is thankfully fully compatible. We can avoid the patching by testing PHP 8.3 /w higher PHPUnit, but I have choosen to patch PHPUnit to make the testing (of this package) as best as possible. |
And which of your internal packages or applications that use your internal testing package really need to use |
Perhaps your company can request an invoice for accepting this patch - and if you want me to, I can choose an amount that
By the way, bug fix support for |
#417 (comment) is strong example. When a package claims it does support some deps, the deps must be really supported and tested. Dev packages must imply minimal side effect to the testing, in this case, not prohibit to install PHPUnit 9.0.0 - 9.4.2. |
So you will not be requesting an invoice? |
Andreas, thank you for bringing this topic up again and addressing the elephant in the room. I saw your ergebnis/composer-normalize#1236 (comment) comment where you came up with the financing initially. In OOS I play about the same role you do. I am developer, researcher and influecer. I understand that you would welcome big corporations to take a part of the costs you have to keep the projects maintained. I am however not a big corporation. If it would help you, I can pay you a few cups of coffee from my personal budget though. What I can do and I am already doing is to bring more people to you, potentially working in the big corporations. In numbers, I have spreaded the word of your repos, mainly for https://github.com/ergebnis/composer-normalize and newly for this one, to thousands of people, and even added these to popular repos like PrestaShop, Roundcube, atk4, ... Besides my direct contributions, this is a support I do for you and will happily continue to do to participate on your bills and projects this way. |
Co-authored-by: Andreas Möller <[email protected]> Co-authored-by: Michael Voříšek <[email protected]>
4edfd1d
to
2f86dfa
Compare
Well then, let's get it merged, @mvorisek! |
Thank you, @mvorisek! |
Thank you ❤ |
revert #416
"run in separate process" has an issue on PHP 8.3+
the issue has nothing to do with this package compatibility, phpunit 9.x is fully compatible
related with #368 and #369