-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
[Planned] Cleanup: Round 2 - clean code (phpstan update) #784
Comments
Ref #708 check
|
Ref #765 and ... all
|
Ref #765 check |
Ref #749
|
Ref #754 Check all |
Ref #745 Check where |
Ref #771 Check |
here is a PR with working phpstan setup #1837 |
Current status - phpstan error countignoring nothing (just excluded paths)
current config
* with open PRs its below 2500 L1: VAR might not be defined I'll update depending on progress ;) |
After yesterdays updates ... current config
|
Next planned steps ...
DOC updates
@property
annotation for undefined propertiesobject
/mixed
annotationsType[]
instead ofarray
(should make some inline @var annotation obsolete)getCollection()
,getItems()
hints for better 3rd patry-code supportCode changes
replaceis_null($var)
with$var === null
... NOTE: seems useless, but from code analyte view it has a big impact ... same for returnfalse
instead ofbool
, where it is false.$var === null
withis_null($var)
This should be far far less changes the DOC update ...
Goal
... get rid of the supressed erros from below and make it possible to run LTS against phpstan checks.
Excluded files:
Mage::getModel($someVar)
(hast to be fixed in phpstan extension)Ignored errors:
Current setup fir doc changes ...
@Flyingmana before i start ... do you agreee with PRs to fix this?
The text was updated successfully, but these errors were encountered: