Skip to content

Commit 67b3a54

Browse files
committed
Update and pin Psalm version
1 parent be632ac commit 67b3a54

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"amphp/process": "^2",
4444
"phpunit/phpunit": "^9",
4545
"amphp/php-cs-fixer-config": "^2",
46-
"psalm/phar": "^5.4"
46+
"psalm/phar": "5.22"
4747
},
4848
"autoload": {
4949
"psr-4": {

psalm.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
</projectFiles>
1515

1616
<issueHandlers>
17+
<RiskyTruthyFalsyComparison>
18+
<errorLevel type="suppress">
19+
<directory name="src"/>
20+
</errorLevel>
21+
</RiskyTruthyFalsyComparison>
22+
1723
<UnsupportedPropertyReferenceUsage>
1824
<errorLevel type="suppress">
1925
<directory name="src"/>

src/Protocol/RespParser.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Amp\ForbidCloning;
66
use Amp\ForbidSerialization;
77
use Amp\Parser\Parser;
8-
use Generator as ParserGeneratorType;
98

109
/**
1110
* @psalm-type ParserGeneratorType = \Generator<int, int|string, string, RedisResponse>

0 commit comments

Comments
 (0)