You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m encountering an issue with instability that I consistently reproduce when attempting to integrate cognitive-complexity into PHPStan. We use a baseline for existing errors, but there’s a slight difference between local runs and CI runs for the same class:
Stored in baseline (local run): Class cognitive complexity is 75, keep it under 50
Got during run on CI: cognitive complexity is 74, keep it under 50
PHPStan: 2.0.2
PHP: 8.3
Any ideas how to investigate and fix issue ?
The text was updated successfully, but these errors were encountered:
I’m encountering an issue with instability that I consistently reproduce when attempting to integrate cognitive-complexity into PHPStan. We use a baseline for existing errors, but there’s a slight difference between local runs and CI runs for the same class:
Stored in baseline (local run): Class cognitive complexity is 75, keep it under 50
Got during run on CI: cognitive complexity is 74, keep it under 50
PHPStan: 2.0.2
PHP: 8.3
Any ideas how to investigate and fix issue ?
The text was updated successfully, but these errors were encountered: