Skip to content

Commit

Permalink
Update PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Dec 4, 2022
1 parent 74f0ac4 commit da138dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"require-dev": {
"nette/tester": "2.4.3",
"phpstan/phpstan": "1.8.11",
"phpstan/phpstan": "1.9.2",
"phpstan/phpstan-strict-rules": "1.4.4",
"nepada/phpstan-nette-tester": "1.0.0",
"spaze/phpstan-disallowed-calls": "2.10.0",
Expand Down
4 changes: 4 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ parameters:
path: src/MessageBus/Commands/MessengerCommandBus.php
message: "#^Dead catch - Symfony\\\\Component\\\\Messenger\\\\Exception\\\\HandlerFailedException is never thrown in the try block\\.#"
count: 1
- # false positive
message: "#^Casting to string something that's already string\\.$#"
count: 1
path: src/MessageBus/StaticAnalysis/MessageType.php

0 comments on commit da138dc

Please sign in to comment.