Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 687 Bytes

errors-to-ignore.md

File metadata and controls

23 lines (15 loc) · 687 Bytes

Errors To Ignore

Some parts of Laravel are currently too magical for Larastan/PHPStan to understand.

If you hit those errors in your project, you can add them to your phpstan.neon as needed. Learn more about ignoring errors in PHPStan.

Higher Order Messages

This comes up when using higher order messages.

- '#Call to an undefined method Illuminate\\Support\\HigherOrder#'

Factories

This comes up when you add database/factories to your analysed paths.

- path: database/factories/*
  message: '#Undefined variable: \$factory#'