-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpstan.neon
30 lines (23 loc) · 864 Bytes
/
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
includes:
# may be required later for unit tests with prophecy
#- ../.Build/vendor/jangregor/phpstan-prophecy/extension.neon
parameters:
tmpDir: %currentWorkingDirectory%/var/cache/phpstan
parallel:
# Don't be overly greedy on machines with more CPU's to be a good neighbor especially on CI
maximumNumberOfProcesses: 5
level: 5
paths:
- %currentWorkingDirectory%/Classes
# todo: check unit tests as well
#- %currentWorkingDirectory%/Tests
# scan, do not check
scanDirectories:
- %currentWorkingDirectory%/.Build/Web/typo3/sysext
- %currentWorkingDirectory%/.Build/Web/typo3conf/ext
# for link to perform check and jump to file in PhpStorm, also install e.g. plugin "Awesome Console"
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
ignoreErrors:
# https://phpstan.org/user-guide/ignoring-errors
# use regex here
# ...