forked from sonata-project/SonataAdminBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm-baseline.xml
125 lines (125 loc) · 5.32 KB
/
psalm-baseline.xml
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
122
123
124
125
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.13.1@afd8874a9e4562eac42a02de90e42e430c3a1db1">
<file src="src/Admin/AbstractAdmin.php">
<!--will be removed in v4. Currently BC break-->
<InvalidReturnStatement occurrences="1">
<code>$this->parentAssociationMapping</code>
</InvalidReturnStatement>
<!--will be fixed in v4. Currently BC break. Remove string from union type of $this->parentAssociationMapping-->
<InvalidArrayOffset occurrences="1">
<code>$this->parentAssociationMapping[$code]</code>
</InvalidArrayOffset>
<!--will be removed in v4. Currently BC break-->
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this->subClasses</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="src/Datagrid/Pager.php">
<InvalidReturnStatement occurrences="2">
<code>next($this->results)</code>
<code>reset($this->results)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>next</code>
<code>rewind</code>
</InvalidReturnType>
</file>
<file src="src/Datagrid/SimplePager.php">
<InvalidReturnStatement occurrences="2">
<code>$this->results</code>
<code>$this->results</code>
</InvalidReturnStatement>
<InvalidPropertyAssignmentValue occurrences="2">
<code>new ArrayCollection($this->results->slice(0, $this->getMaxPerPage()))</code>
<code>new ArrayCollection(\array_slice($this->results, 0, $this->getMaxPerPage()))</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="src/DependencyInjection/Compiler/ExtensionCompilerPass.php">
<InvalidReturnStatement occurrences="1">
<code>$extensionMap</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array<string, array<string, array<string, array<string, array<string, string>>>>></code>
</InvalidReturnType>
</file>
<file src="src/Translator/Extractor/JMSTranslatorBundle/AdminExtractor.php">
<InvalidReturnType occurrences="2">
<code>buildSecurityInformation</code>
<code>getBaseRole</code>
</InvalidReturnType>
</file>
<!--The next error is due to not installed Doctrine ORM\ODM-->
<file src="src/Admin/AdminHelper.php">
<UndefinedClass occurrences="1">
<code>DoctrinePersistentCollection</code>
</UndefinedClass>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Command/CreateClassCacheCommand.php">
<UndefinedClass occurrences="1">
<code>ClassCollectionLoader</code>
</UndefinedClass>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Form/Type/ModelTypeList.php">
<InvalidExtendClass occurrences="1">
<code>ModelListType</code>
</InvalidExtendClass>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Object/MetadataInterface.php">
<UndefinedClass occurrences="1">
<code>CoreMetadataInterface</code>
</UndefinedClass>
<UnrecognizedStatement occurrences="1"/>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Twig/Extension/StringExtension.php">
<UndefinedClass occurrences="2">
<code>TextExtension</code>
<code>TextExtension</code>
</UndefinedClass>
</file>
<file src="src/Admin/FieldDescriptionCollection.php">
<InvalidPropertyAssignmentValue occurrences="2">
<code>$this->elements</code>
<code>array_merge(array_flip($keys), $this->elements)</code>
</InvalidPropertyAssignmentValue>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Twig/Extension/TemplateRegistryExtension.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Route/AdminPoolLoader.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Model/AuditManager.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Filter/FilterFactory.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Controller/PolyfillControllerTrait.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Admin/Pool.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
</files>