-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
41 lines (41 loc) · 1.38 KB
/
phpstan.neon
File metadata and controls
41 lines (41 loc) · 1.38 KB
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
32
33
34
35
36
37
38
39
40
41
parameters:
level: 5
bootstrapFiles:
- phpstan-bootstrap.php
scanDirectories:
- app/Config
- app/Controllers
- app/Database
- app/Filters
- app/Helpers
- app/Language
- app/Libraries
- app/Models
- app/Repositories
- app/Services
- app/ThirdParty
- app/Views
paths:
- app/Controllers
- app/Models
- app/Repositories
- app/Services
- app/Views
ignoreErrors:
- '#Function base_url not found.#'
- '#Function view not found.#'
- '#Function helper not found.#'
- '#Function esc not found.#'
- '#Function log_message not found.#'
- '#Function clean_path not found.#'
- '#Function lang not found.#'
- '#Function config not found.#'
- '#Function env not found.#'
- '#Constant ENVIRONMENT not found.#'
- '#Variable \$this might not be defined.#'
- '#Variable \$[a-zA-Z_][a-zA-Z0-9_]* might not be defined.#'
- '#Strict comparison using === between .* and false will always evaluate to false.#'
- '#Strict comparison using !== between .* and false will always evaluate to true.#'
- '#Right side of && is always true.#'
- '#Calling static::.* outside of class scope.#'
- '#Parameter .* of function str_pad expects string.*#'