-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
33 lines (31 loc) · 1.37 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
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
#- vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
tmpDir: /tmp/phpstan
#editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
checkMissingIterableValueType: false
treatPhpDocTypesAsCertain: false
checkGenericClassInNonGenericObjectType: false
dynamicConstantNames:
- SWOOLE
ignoreErrors:
- '#has invalid type Composer\\Script\\Event\.#'
- '#Call to an undefined method AMQPConnection::setConnectionName#'
- '#Used function Swoole\\.*#'
- '#with no value type specified in iterable type array#'
- '#return type has no value type specified in iterable type array#'
- '#return type has no value type specified in iterable type iterable#'
- '#type has no value type specified in iterable type array#'
- '#has no value type specified in iterable type array#'
-
message: '#Unreachable statement - code above always terminates#'
path: src/Http/SwooleServer.php
-
message: '#Constructor of class TinyFramework\\Broadcast\\SwooleBroadcast has an unused parameter \$config\.#'
path: src/Broadcast/SwooleBroadcast.php
level: 6
paths:
- src