Conversation
…omplain about calculating int's with float's. Removed supressed error: Is fixed upstream. Add 4 new baseline entries: complaining about not available method during magic method resolution.
| xmlns="https://getpsalm.org/schema/config" | ||
| xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
| errorBaseline="psalm-baseline.xml" | ||
| ensureOverrideAttribute="false" |
There was a problem hiding this comment.
This resulted in ~370 errors. I let you decide if you want to force this - I excluded it for this patch now since it would bloat this patch.
| xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
| errorBaseline="psalm-baseline.xml" | ||
| ensureOverrideAttribute="false" | ||
| strictBinaryOperands="false" |
There was a problem hiding this comment.
This resulted in ~10 errors, all about multiplying a float with an int.
|
@DanielBadura does this need a rebase, since #1484 got merged? |
|
If I remember correctly I did the PR after the merge, but I'll rebase again in 10min |
|
I created this PR after the merge, so no rebase needed. |
|
@stof sorry for pinging you again... Can we merge this? It unlocks PHPUnit 12 for Prophecy: phpspec/prophecy-phpunit#67 |
|
@Jean85 are you happy for me to merge this? And are you free sometime today for a quick chat, to help me release updates for PHPUnit 11, Symfony and PHP 8.3? I am already working on 8.4 support. |
|
@MarcelloDuarte very happy to be of help! I may have some time today to do it; let me know how I can be of help. You can reach me via email looking at my author field, on phpc.social, on multiple Discord servers (PHP-FIG's, PHPC, Sentry...) or on some Slack (Grusp, Symfony, Avanscoperta). |
|
@Jean85 Cool 👍 sent you an invite |
|
Closing it here, as it seems the first commit was cherry-picked is part of the newest release: https://github.com/phpspec/phpspec/releases/tag/7.6.0 |
Same changes as in #1483 but from a more up to date state so that psalm 6 is allowed which enables the installation of PHPUnit 11.
Also updates psalm baseline & configuration due to new errors reported by psalm newest minor versions.