forked from auth0/laravel-auth0
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon.dist
31 lines (26 loc) · 1.31 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
level: max
paths:
- src
bootstrapFiles:
- tests/constants.php
ignoreErrors:
- '#Function (app|auth|event|redirect) not found.#'
- '#Constructor in (.*) has parameter (.*) with default value.#'
- '#Constructor in (.*) has parameter (.*) with null as default value.#'
- '#Method (.*) has parameter (.*) with a nullable type declaration.#'
- '#Method (.*) has parameter (.*) with null as default value.#'
- '#Method (.*) has a nullable return type declaration.#'
- '#Language construct isset\(\) should not be used.#'
- '#Method (.*) has parameter (.*) with no value type specified in iterable type array.#'
- '#not allowed to extend#'
- '#Cannot call method (.*) on mixed#'
- '#no value type specified in iterable type array.#'
- '#is not final, but since the containing class is abstract, it should be.#'
- '#Class "Auth0\\Login\\Exception\\(.*)" is not allowed to extend "Exception".#'
- '#Class "Auth0\\Laravel\\Exception\\(.*)" is not allowed to extend "Exception".#'
- '#Call to an undefined method Illuminate\\(.*).#'
- '#\$hash is never read, only written.#'
reportUnmatchedIgnoredErrors: false