forked from nucleos/NucleosUserAdminBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm-baseline.xml
60 lines (60 loc) · 1.99 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.13.1@5cf660f63b548ccd4a56f62d916ee4d6028e01a3">
<file src="src/Action/CheckEmailAction.php">
<InvalidArgument occurrences="1">
<code>$username</code>
</InvalidArgument>
</file>
<file src="src/DependencyInjection/Configuration.php">
<UndefinedMethod occurrences="4">
<code>children</code>
<code>children</code>
<code>children</code>
<code>children</code>
</UndefinedMethod>
</file>
<file src="src/Form/Transformer/RestoreRolesTransformer.php">
<TooManyTemplateParams occurrences="1">
<code>DataTransformerInterface</code>
</TooManyTemplateParams>
</file>
<file src="src/Security/EditableRolesBuilder.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
</file>
<file src="src/Security/RolesBuilder/AdminRolesBuilder.php">
<ArgumentTypeCoercion occurrences="3">
<code>$admin</code>
<code>$admin</code>
<code>$admin->getParent()</code>
</ArgumentTypeCoercion>
<InvalidArgument occurrences="1">
<code>$this->excludeAdmins</code>
</InvalidArgument>
<InvalidPropertyAssignmentValue occurrences="1">
<code>[]</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnStatement occurrences="1">
<code>$this->excludeAdmins</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
</file>
<file src="src/Security/RolesBuilder/SecurityRolesBuilder.php">
<InvalidArgument occurrences="4">
<code>$childRoles</code>
<code>$childRoles</code>
<code>$childRoles</code>
<code>$role</code>
</InvalidArgument>
<InvalidArrayOffset occurrences="2">
<code>$securityRoles[$role]</code>
<code>$securityRoles[$role]</code>
</InvalidArrayOffset>
<InvalidOperand occurrences="1">
<code>$role</code>
</InvalidOperand>
</file>
</files>