-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphpstan.neon
35 lines (35 loc) · 1.67 KB
/
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
31
32
33
34
35
parameters:
inferPrivatePropertyTypeFromConstructor: true
level: 9
paths:
- src
excludePaths:
- src/Bridge/Doctrine/BlockingProxyFactory.php
- src/Bridge/Doctrine/ServicePooledRepositoryFactory.php
- 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#'
-
message: '#invalid (return )?type Doctrine\\Common\\Proxy\\Proxy#'
path: src/Bridge/Doctrine/BlockingProxyFactory.php
-
message: '#Static method BlackfireProbe::startTransaction\(\) invoked with 1 parameter, 0 required\.#'
path: src/Bridge/Upscale/Blackfire/Monitoring/RequestMonitoring.php
-
message: "#Call to function method_exists\\(\\) with 'BlackfireProbe' and 'setAttribute' will always evaluate to false.#"
path: src/Bridge/Upscale/Blackfire/Monitoring/RequestMonitoring.php
tmpDir: /tmp/phpstan_src