-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rename plus and minus to add and sub #282
Conversation
@norberttech When running the tests locally with a PHP version that has the For example:
I don't think that it's related to the PR but something that should be looked into 🙂 |
Thanks, this looks great! |
As they're also failing on the CI, I guess it's more because of a summer time / winter time switch where the tests aren't taking this into account. It might be better to create the dates in the timezone |
Unfortunately, I'm afraid it's another BC break in PHP, unrelated to the It would not be the first one, https://github.com/aeon-php/rate-limiter is broken due to a bug in how PHP started to handle microseconds in DateInterval, it was already fixed but it looks like it will be released in 8.1.10 |
So the current |
Yeah, in 8.1 definitely rate limiter is affected but if you don't need bigger precision than 1s you should be fine. Could you maybe try to use @infection-ignore-all above those all methods to see if this will make it happy? Another way around would be to keep in tests old methods as they internally use new ones and switch while migrating to 2.0 |
I've updated it, but don't know what information I can get out of the report. Can you help me here? |
Yeah, I see it didn't help. |
I would like to dive deeper into the topic first. So for now I reduced the score to 99. Thanks for your help 🙂 |
Thanks @christian-kolb this was truly needed contribution! |
Awesome, thanks for your help 🙂 |
@norberttech That was quick, thanks a lot for your help on this 🙂 |
Change Log
Changed
Description
Resolves #281