-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphpstan.neon
24 lines (24 loc) · 1013 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
parameters:
inferPrivatePropertyTypeFromConstructor: true
level: 9
paths:
- src
excludePaths:
- src/Bridge/Symfony/Bundle/DependencyInjection/Configuration.php
- src/Bridge/Monolog/StreamHandler.php
# Internal error: Expected to find an ancestor with class name Swoole\Timer on Swoole\Server, but none was found.
- src/Server/WorkerHandler/HMRWorkerStartHandler.php
- tests
# Open/Swoole problems when only one extension installed
- src/Bridge/OpenSwoole/OpenSwoole.php
- src/Bridge/OpenSwoole/WaitGroup.php
- src/Bridge/Swoole/WaitGroup.php
- src/Common/System/System.php
- src/Bridge/Swoole/Swoole.php
# remove after upgrade to PHP 8.2
- src/Server/HttpServer.php
ignoreErrors:
# Put false positives here
- '#PHPDoc tag @var for variable \$row contains unresolvable type#'
- '#PHPDoc tag @SuppressWarnings has invalid value#'
tmpDir: /tmp/phpstan_src