StupidJsonDecodeTest: added a callable prototype

for some reason this causes a new error to be reported which previously didn't show. I have no idea why.
This commit is contained in:
Dylan K. Taylor
2020-08-31 13:45:23 +01:00
parent 9cf8f608d8
commit 81c1613e5d
2 changed files with 9 additions and 1 deletions

View File

@ -5,3 +5,8 @@ parameters:
count: 1
path: ../../phpunit/network/mcpe/StupidJsonDecodeTest.php
-
message: "#^Property pocketmine\\\\network\\\\mcpe\\\\StupidJsonDecodeTest\\:\\:\\$stupidJsonDecodeFunc \\(Closure\\(string, bool\\)\\: mixed\\) does not accept Closure\\|null\\.$#"
count: 1
path: ../../phpunit/network/mcpe/StupidJsonDecodeTest.php