Skip to content

Instantly share code, notes, and snippets.

@deleugpn
Created August 17, 2022 09:40
Show Gist options
  • Save deleugpn/dfb56ea412b29e5bad737c45767122d6 to your computer and use it in GitHub Desktop.
Save deleugpn/dfb56ea412b29e5bad737c45767122d6 to your computer and use it in GitHub Desktop.
ignoreErrors:
message: '#Method (.+) should return (.+) but returns Illuminate\\Database\\Eloquent\\Model.#'
path: ./app/*
-
message: '#Access to an undefined property (.+)\\Eloquent\\(.+).#'
paths:
- ./app/*
- ./tests/*
-
message: '#Parameter (.+) of method (.+) expects Library\\Eloquent\\(.+), Illuminate\\Database\\Eloquent\\Builder|Illuminate\\Database\\Eloquent\\Model given.#'
path: ./app/*
-
message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Factories\\Factory::(.+)#'
paths:
- ./tests/*
- ./database/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment