Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different results in different environments #12

Open
judgedim opened this issue Jan 21, 2025 · 0 comments
Open

Different results in different environments #12

judgedim opened this issue Jan 21, 2025 · 0 comments

Comments

@judgedim
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant