Resolve template with value of BackEnum
Closes https://github.com/phpstan/phpstan/issues/12219 Closes https://github.com/phpstan/phpstan/issues/13638 Closes https://github.com/phpstan/phpstan/issues/13282 Closes https://github.com/phpstan/phpstan/issues/13782
This pull request has been marked as ready for review.
interessting.. does it also solve https://github.com/phpstan/phpstan/issues/13782 ?
interessting.. does it also solve phpstan/phpstan#13782 ?
You don't appear on the issue bot https://github.com/phpstan/phpstan-src/actions/runs/19269104831?pr=4548 But I can take a look after this one is merged
You don't appear on the issue bot
yes, thats because the issue does not yet have a label like "bug" or "feature request". issue-bot does not look into unlabelled issues
You don't appear on the issue bot
yes, thats because the issue does not yet have a label like "bug" or "feature request". issue-bot does not look into unlabelled issues
Oh ok. Test added and seems like it does close https://github.com/phpstan/phpstan/issues/13782.
Hi @staabm, when I run
vendor/bin/phpunit tests/PHPStan/Rules/Methods/CallMethodsRuleTest.php --filter=testBug12219
both mutator are caught locally.
Any idea why it could be reported on CI ? Is there some cache ?
Hi @staabm, when I run
vendor/bin/phpunit tests/PHPStan/Rules/Methods/CallMethodsRuleTest.php --filter=testBug12219both mutator are caught locally.
Any idea why it could be reported on CI ? Is there some cache ?
As shown by https://github.com/phpstan/phpstan-src/pull/4548/commits/6cb52a2049cf9499edc8e25942d5250e1ea6823b
if I tried the mutant reported by https://github.com/phpstan/phpstan-src/actions/runs/19963970402/job/57251263461?pr=4548
it failed.
I got the same issue with the following PR https://github.com/phpstan/phpstan-src/pull/4548
Either I misunderstand something, either it's buggy
I had a look but cannot yet make sense of it