-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
121 lines (102 loc) · 5.78 KB
/
phpstan-baseline.neon
File metadata and controls
121 lines (102 loc) · 5.78 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
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
parameters:
ignoreErrors:
-
message: '#^Method App\\Blog\\Infrastructure\\Doctrine\\Repository\\PostORMRepository\:\:findTags\(\) should return array\<string\> but returns array\<mixed\>\.$#'
identifier: return.type
count: 1
path: src/Blog/Infrastructure/Doctrine/Repository/PostORMRepository.php
-
message: '#^Method App\\Blog\\Infrastructure\\Doctrine\\Repository\\PostORMRepository\:\:findTagsAndOccurrences\(\) should return list\<array\{tag\: string, occurrences\: int\}\> but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Blog/Infrastructure/Doctrine/Repository/PostORMRepository.php
-
message: '#^Method App\\Blog\\Infrastructure\\Doctrine\\Repository\\PostORMRepository\:\:getOneLatestPublished\(\) should return App\\Blog\\Domain\\Data\\Post but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Blog/Infrastructure/Doctrine/Repository/PostORMRepository.php
-
message: '#^Parameter \#1 \$input of callable App\\Shared\\Domain\\Markdown\\MarkdownConverter expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: src/Blog/Infrastructure/Symfony/Controller/Post/ViewController.php
-
message: '#^Method App\\CV\\Infrastructure\\Doctrine\\Repository\\ProfessionalExperienceORMRepository\:\:findOneLatest\(\) should return App\\CV\\Domain\\Data\\ProfessionalExperience\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: src/CV/Infrastructure/Doctrine/Repository/ProfessionalExperienceORMRepository.php
-
message: '#^Method App\\CV\\Infrastructure\\Doctrine\\Repository\\ProjectORMRepository\:\:findOneLatest\(\) should return App\\CV\\Domain\\Data\\Project\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: src/CV/Infrastructure/Doctrine/Repository/ProjectORMRepository.php
-
message: '#^Method App\\Places\\Infrastructure\\Doctrine\\Repository\\PlaceORMRepository\:\:getOneLatestUpdated\(\) should return App\\Places\\Domain\\Data\\Place but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Places/Infrastructure/Doctrine/Repository/PlaceORMRepository.php
-
message: '#^Property App\\Shared\\Infrastructure\\Bus\\SymfonyMessengerCommandBus\:\:\$messageBus is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: src/Shared/Infrastructure/Bus/SymfonyMessengerCommandBus.php
-
message: '#^Parameter \#1 \$url of method Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController\:\:redirect\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: src/Shared/Infrastructure/EasyAdmin/HttpCache/Controller/ClearHttpCacheController.php
-
message: '#^Method App\\Shared\\Infrastructure\\EasyAdmin\\HttpCache\\EventListener\\AdminEntityListener\:\:afterEntityDeleted\(\) has parameter \$event with generic class EasyCorp\\Bundle\\EasyAdminBundle\\Event\\AfterEntityDeletedEvent but does not specify its types\: TEntity$#'
identifier: missingType.generics
count: 1
path: src/Shared/Infrastructure/EasyAdmin/HttpCache/EventListener/AdminEntityListener.php
-
message: '#^Method App\\Shared\\Infrastructure\\EasyAdmin\\HttpCache\\EventListener\\AdminEntityListener\:\:afterEntityPersisted\(\) has parameter \$event with generic class EasyCorp\\Bundle\\EasyAdminBundle\\Event\\AfterEntityPersistedEvent but does not specify its types\: TEntity$#'
identifier: missingType.generics
count: 1
path: src/Shared/Infrastructure/EasyAdmin/HttpCache/EventListener/AdminEntityListener.php
-
message: '#^Method App\\Shared\\Infrastructure\\EasyAdmin\\HttpCache\\EventListener\\AdminEntityListener\:\:afterEntityUpdated\(\) has parameter \$event with generic class EasyCorp\\Bundle\\EasyAdminBundle\\Event\\AfterEntityUpdatedEvent but does not specify its types\: TEntity$#'
identifier: missingType.generics
count: 1
path: src/Shared/Infrastructure/EasyAdmin/HttpCache/EventListener/AdminEntityListener.php
-
message: '#^Offset 1 on non\-empty\-array\<string\> on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 2
path: src/Shared/Infrastructure/Markdown/Extension/CodeBlockHighlight/Renderer/CodeBlockRenderer.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 1
path: src/Shared/Infrastructure/ObjectMapper/ValinorObjectMapper.php
-
message: '#^Method App\\Shared\\Infrastructure\\Symfony\\HttpCache\\SymfonyHttpCache\:\:normalize\(\) should return array\{urls\: list\<string\>\} but returns non\-empty\-array\.$#'
identifier: return.type
count: 1
path: src/Shared/Infrastructure/Symfony/HttpCache/SymfonyHttpCache.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 2
path: src/User/Infrastructure/Symfony/Command/AdminCreate.php
-
message: '#^Parameter \#1 \$environment of class App\\Kernel constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: tools/phpstan/console-application.php
-
message: '#^Parameter \#1 \$environment of class App\\Kernel constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: tools/phpstan/object-manager.php
-
message: '#^Call to an undefined method PHPStan\\Type\\Type\:\:getClassName\(\)\.$#'
identifier: method.notFound
count: 1
path: tools/phpstan/src/Type/CommandBusDispatchDynamicMethodReturnTypeExtension.php
-
message: '#^Parameter \#2 \$args of static method PHPStan\\Reflection\\ParametersAcceptorSelector\:\:selectFromArgs\(\) expects array\<PhpParser\\Node\\Arg\>, array\<PhpParser\\Node\\Arg\|PhpParser\\Node\\VariadicPlaceholder\> given\.$#'
identifier: argument.type
count: 1
path: tools/phpstan/src/Type/CommandBusDispatchDynamicMethodReturnTypeExtension.php