-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
psalm-baseline.xml
85 lines (85 loc) · 4.17 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
<file src="src/Constructs.php">
<ArgumentTypeCoercion>
<code><![CDATA[$constructsWithMultipleDefinitions]]></code>
</ArgumentTypeCoercion>
<MixedArgumentTypeCoercion>
<code><![CDATA[\usort($constructs, static function (Construct $a, Construct $b): int {
return \strcmp(
$a->name(),
$b->name(),
);
})]]></code>
</MixedArgumentTypeCoercion>
<MixedAssignment>
<code><![CDATA[$construct]]></code>
<code><![CDATA[$constructs[$name]]]></code>
<code><![CDATA[$fileInfo]]></code>
</MixedAssignment>
<MixedMethodCall>
<code><![CDATA[definedIn]]></code>
</MixedMethodCall>
<MixedReturnTypeCoercion>
<code><![CDATA[\array_values($constructs)]]></code>
<code><![CDATA[list<Construct>]]></code>
</MixedReturnTypeCoercion>
<RedundantFunctionCall>
<code><![CDATA[\array_values]]></code>
</RedundantFunctionCall>
</file>
<file src="test/DataProvider/Php81.php">
<MixedArgument>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Bar\Bar::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Bar\Baz::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Bar\Foo::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Bar\Qux::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Foo\Bar::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Foo\Baz::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Foo\Foo::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Foo\Qux::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespaceWithBraces\Bar::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespaceWithBraces\Baz::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespaceWithBraces\Foo::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespaceWithBraces\Qux::class]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespace\Qux::class]]></code>
</MixedArgument>
<UndefinedClass>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Bar\Bar]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Bar\Baz]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Bar\Foo]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Bar\Qux]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Foo\Bar]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Foo\Baz]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Foo\Foo]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinMultipleNamespaces\Foo\Qux]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespaceWithBraces\Bar]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespaceWithBraces\Baz]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespaceWithBraces\Foo]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespaceWithBraces\Qux]]></code>
<code><![CDATA[Test\Fixture\Classy\Php81\WithinNamespace\Qux]]></code>
</UndefinedClass>
</file>
<file src="test/Unit/ConstructTest.php">
<DeprecatedMethod>
<code><![CDATA[__toString]]></code>
</DeprecatedMethod>
<MixedArgument>
<code><![CDATA[$faker->fileExtension()]]></code>
</MixedArgument>
<TooManyArguments>
<code><![CDATA[static function () use ($faker): string {
return \sprintf(
'%s.%s',
$faker->word(),
$faker->fileExtension(),
);
}]]></code>
</TooManyArguments>
</file>
<file src="test/Util/Scenario.php">
<RedundantFunctionCall>
<code><![CDATA[\array_values]]></code>
</RedundantFunctionCall>
</file>
</files>