-
-
Notifications
You must be signed in to change notification settings - Fork 947
Regression between 1.10.10 and 1.10.51 #10377
Copy link
Copy link
Closed
Description
Bug report
I'm currently working to polish code on branch 1.1 of my project https://github.com/llaville/sarif-php-sdk with help of PHPStan
And I've noticed a possible regression between version 1.10.10 and 1.10.51 !
All seems good with 1.10.51
But I got at least one issue not detected with 1.10.51, but 1.10.10 found it
My config file is :
parameters:
level: 9
paths:
- ../../src/
- ../../examples/
treatPhpDocTypesAsCertain: false
ignoreErrors:
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
path: ../../src/SarifLog.php
Code snippet that reproduces the problem
Expected output
[ERROR] Found 1 error
Did PHPStan help you today? Did it make you happy in any way?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

