Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
phpstan.neon paths not working #202
Modifying paths in phpstan.neon changes nothing, it always use my app directory and only.
Laravel code where the issue was found:
Bellow my phpstan.neon
includes: - ./vendor/nunomaduro/larastan/extension.neon parameters: excludes_analyse: - /*/Definitions/* level: max ignoreErrors: - '#Laravel\\Passport\\ClientRepository::createPasswordGrantClient()#' - '#Illuminate\\Database\\Query\\Builder::dynamicWhere()#' paths: - %rootDir%/../../../app - %rootDir%/../../../routes - %rootDir%/../../../tests - %rootDir%/../../../database
I had the same issue, but with the
Maybe this would work for you. Not ideal, and diffidently an issue tho. But it works for now.
AFAICS, you can't specify
When you don't specify the
The example from the documentation only works in combination with