-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathphpstan.neon.dist
52 lines (45 loc) · 2.05 KB
/
phpstan.neon.dist
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
parameters:
level: 8
paths:
- .
excludePaths:
- vendor/*
- tests/app/var/*
# The Symfony Configuration API isn't good enough to be analysed
- src/DependencyInjection/Configuration.php
inferPrivatePropertyTypeFromConstructor: true
bootstrapFiles:
- vendor/bin/.phpunit/phpunit/vendor/autoload.php
ignoreErrors:
-
message: "#^Call to method getClassAnnotations\\(\\) on an unknown class Doctrine\\\\Common\\\\Annotations\\\\Reader\\.$#"
count: 1
path: src/Doctrine/BroadcastListener.php
-
message: "#^Parameter \\$annotationReader of method Symfony\\\\UX\\\\Turbo\\\\Doctrine\\\\BroadcastListener\\:\\:__construct\\(\\) has invalid type Doctrine\\\\Common\\\\Annotations\\\\Reader\\.$#"
count: 1
path: src/Doctrine/BroadcastListener.php
-
message: "#^Property Symfony\\\\UX\\\\Turbo\\\\Doctrine\\\\BroadcastListener\\:\\:\\$annotationReader has unknown class Doctrine\\\\Common\\\\Annotations\\\\Reader as its type\\.$#"
count: 1
path: src/Doctrine/BroadcastListener.php
-
message: "#^Class Symfony\\\\WebpackEncoreBundle\\\\Twig\\\\StimulusTwigExtension not found\\.$#"
count: 2
path: src/Bridge/Mercure/TurboStreamListenRenderer.php
-
message: "#^Parameter \\$stimulus of method Symfony\\\\UX\\\\Turbo\\\\Bridge\\\\Mercure\\\\TurboStreamListenRenderer\\:\\:__construct\\(\\) has invalid type Symfony\\\\WebpackEncoreBundle\\\\Twig\\\\StimulusTwigExtension\\.$#"
count: 1
path: src/Bridge/Mercure/TurboStreamListenRenderer.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Event\\\\OnFlushEventArgs\\:\\:getEntityManager\\(\\)\\.$#"
count: 1
path: src/Doctrine/BroadcastListener.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Event\\\\PostFlushEventArgs\\:\\:getEntityManager\\(\\)\\.$#"
count: 1
path: src/Doctrine/BroadcastListener.php
-
message: "#^Method Symfony\\\\UX\\\\Turbo\\\\TurboStreamResponse::__construct\\(\\) has parameter \\$headers with no value type specified in iterable type array\\.$#"
count: 1
path: src/TurboStreamResponse.php