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

allRules parameters set to false do not turn off rules #196

Closed
javaDeveloperKid opened this issue Dec 8, 2022 · 2 comments
Closed

allRules parameters set to false do not turn off rules #196

javaDeveloperKid opened this issue Dec 8, 2022 · 2 comments

Comments

@javaDeveloperKid
Copy link

Given this config

includes:
    - vendor/phpstan/phpstan-strict-rules/rules.neon

parameters:
    strictRules:
	allRules: false

and this code

$a = 1;
if ($a === 1) {
}

I still get an error Strict comparison using === between 1 and 1 will always evaluate to true.

@ondrejmirtes
Copy link
Member

See #185 (comment)

@github-actions
Copy link

github-actions bot commented Jan 9, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants