-
Notifications
You must be signed in to change notification settings - Fork 46
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
errors even with allRules: false #185
Comments
Can you please post the code sample that reports this? |
doesn't |
Yeah, it should, there's gonna be some misconfiguration that should be obvious by looking at rules.neon. |
I will check it |
perhaps I dont understand the documentation
then I updated strict and deleted it and replaced it with:
and now all kind of errors |
This is the problem: phpstan-strict-rules/rules.neon Lines 133 to 134 in 6f0133d
Besides phpstan-strict-rules/rules.neon Lines 2 to 14 in 6f0133d
|
Yeah I found it too. I am already working on PR with fix. |
Should be fixed by PR #186 |
I tried to use 1.4.2 and even with
first one fixed by setting |
@gemal That could be probably fixed by |
@gemal Strict rules does not only add new rules (that could be disabled by Here is complete list of settings modifications did by including strict rules:
You can switch them back to default if you do not want stricter settings enabled. |
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. |
I just updated to strict v1.4.0 and I added:
but now I'm getting this:
Variable property access on $this(App\Controller\AppController).
is this correct? I thought that
allRules: false
disabled all strict rulesThe text was updated successfully, but these errors were encountered: