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
{{ message }}
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
I ran them as per https://tomasvotruba.com/blog/not-all-mixed-types-are-equally-useless/
Is there a less strict version of the NoMixed rules?
They find like 600 issues in a smaller app.
Some seem to be false positive and otherwise not an issue for PHPStan as a whole.
Example:
Those appear to be fine for PHPStan, as Orders is resolved as
on the class itself, which then in return resolves newEmptyEntity() on that OrdersTable:
It errors with
But it is clickable, and resolves properly through the Order docblock:
So it would be more interesting to us to find the actual "undefined" objects where we call property/method on.
As those are prio to be fixed.
So maybe some param to make it only fail for actual missing ones, and assume the docblocks to be "acceptable" as the defined type?
The text was updated successfully, but these errors were encountered: