Skip to content

Commit 3c1ce7f

Browse files
authored
Merge pull request #661 from cakephp/3.x-stan-update
3.x: stan update
2 parents bfbe7b2 + abf5e1b commit 3c1ce7f

File tree

3 files changed

+67
-2
lines changed

3 files changed

+67
-2
lines changed

.phive/phars.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpstan" version="1.10.22" installed="1.10.22" location="./tools/phpstan" copy="false"/>
4-
<phar name="psalm" version="5.13.1" installed="5.13.1" location="./tools/psalm" copy="false"/>
3+
<phar name="phpstan" version="1.10.56" installed="1.10.56" location="./tools/phpstan" copy="false"/>
4+
<phar name="psalm" version="5.20.0" installed="5.20.0" location="./tools/psalm" copy="false"/>
55
</phive>

psalm-baseline.xml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<files psalm-version="5.20.0@3f284e96c9d9be6fe6b15c79416e1d1903dcfef4">
3+
<file src="src/AuthenticationService.php">
4+
<RiskyTruthyFalsyComparison>
5+
<code><![CDATA[empty($parsed['host'])]]></code>
6+
<code><![CDATA[empty($parsed['scheme'])]]></code>
7+
</RiskyTruthyFalsyComparison>
8+
</file>
9+
<file src="src/Authenticator/CookieAuthenticator.php">
10+
<RiskyTruthyFalsyComparison>
11+
<code>empty($identity)</code>
12+
</RiskyTruthyFalsyComparison>
13+
</file>
14+
<file src="src/Authenticator/EnvironmentAuthenticator.php">
15+
<RiskyTruthyFalsyComparison>
16+
<code>empty($data)</code>
17+
<code>empty($user)</code>
18+
</RiskyTruthyFalsyComparison>
19+
</file>
20+
<file src="src/Authenticator/FormAuthenticator.php">
21+
<RiskyTruthyFalsyComparison>
22+
<code>empty($user)</code>
23+
</RiskyTruthyFalsyComparison>
24+
</file>
25+
<file src="src/Authenticator/HttpDigestAuthenticator.php">
26+
<RiskyTruthyFalsyComparison>
27+
<code>empty($digest)</code>
28+
<code>empty($user)</code>
29+
</RiskyTruthyFalsyComparison>
30+
</file>
31+
<file src="src/Authenticator/JwtAuthenticator.php">
32+
<RiskyTruthyFalsyComparison>
33+
<code>empty($user)</code>
34+
</RiskyTruthyFalsyComparison>
35+
</file>
36+
<file src="src/Authenticator/Result.php">
37+
<RiskyTruthyFalsyComparison>
38+
<code>empty($data)</code>
39+
</RiskyTruthyFalsyComparison>
40+
</file>
41+
<file src="src/Authenticator/SessionAuthenticator.php">
42+
<RiskyTruthyFalsyComparison>
43+
<code>empty($user)</code>
44+
<code>empty($user)</code>
45+
</RiskyTruthyFalsyComparison>
46+
</file>
47+
<file src="src/Authenticator/TokenAuthenticator.php">
48+
<RiskyTruthyFalsyComparison>
49+
<code>empty($headerLine)</code>
50+
<code>empty($queryParam)</code>
51+
<code>empty($user)</code>
52+
</RiskyTruthyFalsyComparison>
53+
</file>
54+
<file src="src/Identifier/IdentifierCollection.php">
55+
<RiskyTruthyFalsyComparison>
56+
<code>$result</code>
57+
</RiskyTruthyFalsyComparison>
58+
</file>
59+
<file src="src/Middleware/AuthenticationMiddleware.php">
60+
<RiskyTruthyFalsyComparison>
61+
<code>$url</code>
62+
</RiskyTruthyFalsyComparison>
63+
</file>
64+
</files>

psalm.xml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
findUnusedPsalmSuppress="true"
88
findUnusedBaselineEntry="true"
99
findUnusedCode="false"
10+
errorBaseline="psalm-baseline.xml"
1011
>
1112
<projectFiles>
1213
<directory name="src" />

0 commit comments

Comments
 (0)