forked from cakephp/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
30 lines (26 loc) · 1.32 KB
/
phpstan.neon
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
parameters:
level: 7
checkMissingIterableValueType: false
excludes_analyse:
- src/Console/Installer.php
ignoreErrors:
-
message: "#^Method App\\\\Command\\\\ConsoleCommand\\:\\:execute\\(\\) should return int\\|void\\|null but return statement is missing\\.$#"
count: 1
path: src/Command/ConsoleCommand.php
-
message: "#^Method App\\\\Controller\\\\ErrorController\\:\\:beforeFilter\\(\\) should return Cake\\\\Http\\\\Response\\|void\\|null but return statement is missing\\.$#"
count: 1
path: src/Controller/ErrorController.php
-
message: "#^Method App\\\\Controller\\\\ErrorController\\:\\:beforeRender\\(\\) should return Cake\\\\Http\\\\Response\\|void\\|null but return statement is missing\\.$#"
count: 1
path: src/Controller/ErrorController.php
-
message: "#^Method App\\\\Controller\\\\ErrorController\\:\\:afterFilter\\(\\) should return Cake\\\\Http\\\\Response\\|void\\|null but return statement is missing\\.$#"
count: 1
path: src/Controller/ErrorController.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/Controller/PagesController.php