Replies: 1 comment 1 reply
-
So something changes between your environments that causes different error messages to be reported. You should inspect why it's happening. First of all, you should make sure that Other than that this article has some pointers you can look into: https://phpstan.org/user-guide/troubleshooting-types |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm busy integrating the PHPstan analysis in the pipeline. When I run the analysis on my local machine it doesn't find any errors, but when I run it in the pipeline it strangely finds 4 errors in 1 file.
These errors are added to the baseline and make it locally run without any errors:
But when it's run in the pipeline these errors are found:
This is the code that breaks the analysis:
Both analysis are run in PHP 8.3
Can anyone help me find out why this behaves differently? I really can't see why this file breaks.
Beta Was this translation helpful? Give feedback.
All reactions