This repository was archived by the owner on Dec 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpstan.neon
More file actions
73 lines (59 loc) · 1.32 KB
/
phpstan.neon
File metadata and controls
73 lines (59 loc) · 1.32 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# To run analyse:
# bin/phpstan analyse --memory-limit=-1
#
# or (replacing conf level by 1, … up to 8):
# bin/phpstan analyse -l 1 --memory-limit=-1
parameters:
level: 5
bootstrapFiles:
- phpstan.bootstrap
scanFiles:
- _common.php
paths:
- common
- dblayer
- dbschema
- diff
- filemanager
- html.filter
- html.form
- html.validator
- image
- mail
- net
- net.http
- net.http.feed
- net.xmlrpc
- pager
- rest
- session.db
- template
- text.wiki2xhtml
- url.handler
- zip
dynamicConstantNames:
- HTTP_PROXY_HOST
- HTTP_PROXY_PORT
reportUnmatchedIgnoredErrors: false
# Notes:
#
# Use /* @phpstan-ignore-next-line */ or // @phpstan-ignore-line
# to ignore some specific lines in code
ignoreErrors:
# Intensive use of magic __set/__get/__call/__invoke causes theses wrong warnings
- message: '#Call to an undefined method form#'
paths:
- html.form/*
- message: '#Access to an undefined property form#'
paths:
- html.form/*
- message: '#Call to an undefined method xmlTag#'
paths:
- rest/*
- message: '#Access to an undefined property xmlTag#'
paths:
- rest/*
- message: '#Access to an undefined property cursor#'
paths:
- session.db/*