-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (28 loc) · 1012 Bytes
/
Copy pathphpstan.neon
File metadata and controls
28 lines (28 loc) · 1012 Bytes
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
parameters:
level: 2
parallel:
processTimeout: 500.0
paths:
- htdocs
fileExtensions:
- php
- phtml
excludePaths:
analyseAndScan:
- htdocs/xoops_data/caches
# vendor trees are gitignored / composer-installed, so they are absent in
# checkouts that skip `composer install` (e.g. CodeRabbit's PHPStan run).
# `(?)` marks the path optional so PHPStan does not error when it is missing.
- htdocs/class/libraries/vendor/ (?)
- tests/
analyse:
- htdocs/class/auth/
- htdocs/install/
- htdocs/xoops_lib/vendor/ (?)
scanFiles:
# Same vendor tree as above — optional so PHPStan does not error when the
# kint dependency is absent (checkouts without `composer install`).
- htdocs/xoops_lib/vendor/kint-php/kint/src/Kint.php (?)
stubFiles:
- phpstan-constants.stub.php
treatPhpDocTypesAsCertain: false