Replies: 1 comment 1 reply
-
If we paste the error message into our helpful tool for generating ignoreErrors entries https://phpstan.org/user-guide/ignoring-errors#generate-an-ignoreerrors-entry it spits out this:
I see some differences between this and your attempt. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
here's the thing I want to ignore:
Line Http/Resources/Agent.php
129 Call to an undefined method App\Http\Resources\AgentContact::where().
I've got this in phpstan.neon
$ cat phpstan.neon
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
weedom at weedom-Latitude-5340 in ~/dev/uat-intranet on DEV-1623-larastan-changes-for-standards-v2▲
$ vendor/bin/phpstan analyze app > larastan.txt
Note: Using configuration file /home/weedom/dev/uat-intranet/phpstan.neon.
614/614 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
that last phpstan reports the error message to larastan.txt
Any clues?
Beta Was this translation helpful? Give feedback.
All reactions