Closed kukulich closed 8 months ago
Release of other tool going up right now 👍
I’m sorry - there was “approved” so I merged it.
That's fine: it doesn't currently affect downstream, and we can always go back: I just thought this was splitting out a couple tools, but I misread from my phone, so I was too quick 😬
Let's see how this works out meanwhile 👍
Just another idea - would it be possible to prepare phar for https://github.com/Roave/infection-static-analysis-plugin ? Dependencies will be packed in the Phar
IMO no:
composer.lock
that they maintain, like we do hereAlso, the tool sharing memory space with the program is a problem, when used from a phar: that's why I still firmly believe that using tools like phpunit from a phar is a mistake.
BTW, it would be fine if address space wasn't shared (most static analysis tools), but not for this
Hmm, it looks the PR was not successful.
We are still not able to upgrade PhpParser: https://github.com/Roave/BetterReflection/pull/1387
PhpParser is used in tests so if we upgrade it we will have problem with Psalm and Infection dependencies again :(
Seems like this bit needs some polyfilling or such :thinking:
https://github.com/Roave/infection-static-analysis-plugin/blob/975adabcbbdbd6c550159d3203a7336fd82cedb7/bin/roave-infection-static-analysis-plugin#L54-L60