-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
27 lines (27 loc) · 1.15 KB
/
phpstan.dist.neon
File metadata and controls
27 lines (27 loc) · 1.15 KB
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
parameters:
level: 10
paths:
- src/
- tests/
ignoreErrors:
# Symfony 6.4 TreeBuilder fluent API lacks precise return types for PHPStan
-
message: '#Cannot call method \w+\(\) on mixed#'
path: src/DependencyInjection/Configuration.php
reportUnmatched: false
-
message: '#Cannot call method \w+\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null#'
path: src/DependencyInjection/Configuration.php
reportUnmatched: false
# WorkerMessageSkipEvent was added in Symfony 7.2; the subscriber is conditionally registered
-
messages:
- '#WorkerMessageSkipEvent#'
- '#expects Symfony\\Component\\Messenger\\Envelope, mixed given#'
path: src/EventSubscriber/WorkerMessageSkipEventSubscriber.php
reportUnmatched: false
# CoversClass became repeatable in a later PHPUnit 11.x
-
message: '#Attribute class PHPUnit\\Framework\\Attributes\\CoversClass is not repeatable#'
path: tests/
reportUnmatched: false