Skip to content

Commit

Permalink
Those are definitely ints
Browse files Browse the repository at this point in the history
  • Loading branch information
dries-c committed Dec 3, 2024
1 parent 0c3ce03 commit d55b7fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/phpstan/configs/phpstan-bugs.neon
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ parameters:
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
path: ../../../src/serializer/PacketBatch.php
-
message: "#^Parameter \\#2 \\$parts of class pocketmine\\\\network\\\\mcpe\\\\protocol\\\\serializer\\\\BitSet constructor expects array\\<int\\>, array\\<int, float\\> given\\.$#"
count: 1
path: tests/phpunit/BitSetTest.php

-
message: "#^Parameter \\#2 \\$parts of class pocketmine\\\\network\\\\mcpe\\\\protocol\\\\serializer\\\\BitSet constructor expects array\\<int\\>, array\\<int, float\\|int\\> given\\.$#"
count: 1
path: tests/phpunit/BitSetTest.php

0 comments on commit d55b7fc

Please sign in to comment.