Skip to content

Commit

Permalink
Update and pin Psalm version
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Aug 3, 2024
1 parent be632ac commit 67b3a54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"amphp/process": "^2",
"phpunit/phpunit": "^9",
"amphp/php-cs-fixer-config": "^2",
"psalm/phar": "^5.4"
"psalm/phar": "5.22"
},
"autoload": {
"psr-4": {
Expand Down
6 changes: 6 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
</projectFiles>

<issueHandlers>
<RiskyTruthyFalsyComparison>
<errorLevel type="suppress">
<directory name="src"/>
</errorLevel>
</RiskyTruthyFalsyComparison>

<UnsupportedPropertyReferenceUsage>
<errorLevel type="suppress">
<directory name="src"/>
Expand Down
1 change: 0 additions & 1 deletion src/Protocol/RespParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Amp\ForbidCloning;
use Amp\ForbidSerialization;
use Amp\Parser\Parser;
use Generator as ParserGeneratorType;

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

0 comments on commit 67b3a54

Please sign in to comment.