Skip to content

Commit

Permalink
Silence PHPStan error
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Jul 12, 2023
1 parent a731a06 commit 49feaac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/phpstan/configs/phpstan-bugs.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
parameters:
ignoreErrors:
-
message: "#^Casting to string something that's already string\\.$#"
count: 1
path: ../../../src/AvailableCommandsPacket.php

-
message: "#^Parameter \\#3 \\$packets of static method pocketmine\\\\network\\\\mcpe\\\\protocol\\\\serializer\\\\PacketBatch\\:\\:encodePackets\\(\\) expects array\\<int, pocketmine\\\\network\\\\mcpe\\\\protocol\\\\Packet\\>, array\\<int\\|string, pocketmine\\\\network\\\\mcpe\\\\protocol\\\\Packet\\> given\\.$#"
count: 1
Expand Down

0 comments on commit 49feaac

Please sign in to comment.