Scrub PHPStan baselines

This commit is contained in:
Dylan K. Taylor 2021-04-19 16:18:22 +01:00
parent 73f913e279
commit 4e0bc6c98e
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
3 changed files with 0 additions and 40 deletions

View File

@ -295,26 +295,6 @@ parameters:
count: 1
path: ../../../src/world/World.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1
path: ../../../src/world/format/io/data/BedrockWorldData.php
-
message: "#^Parameter \\#2 \\$value of method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:setString\\(\\) expects string, mixed given\\.$#"
count: 1
path: ../../../src/world/format/io/data/BedrockWorldData.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1
path: ../../../src/world/format/io/data/JavaWorldData.php
-
message: "#^Parameter \\#2 \\$value of method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:setString\\(\\) expects string, mixed given\\.$#"
count: 1
path: ../../../src/world/format/io/data/JavaWorldData.php
-
message: "#^Cannot access offset 1 on mixed\\.$#"
count: 2
@ -325,11 +305,6 @@ parameters:
count: 2
path: ../../../src/world/format/io/region/RegionWorldProvider.php
-
message: "#^Property pocketmine\\\\world\\\\generator\\\\Flat\\:\\:\\$preset \\(string\\) does not accept mixed\\.$#"
count: 1
path: ../../../src/world/generator/Flat.php
-
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
count: 1

View File

@ -940,11 +940,6 @@ parameters:
count: 2
path: ../../../src/world/format/Chunk.php
-
message: "#^Parameter \\#1 \\$className of static method pocketmine\\\\utils\\\\Utils\\:\\:testValidInstance\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: ../../../src/world/format/io/FormatConverter.php
-
message: "#^Only numeric types are allowed in %%, int\\|false given on the left side\\.$#"
count: 1

View File

@ -250,11 +250,6 @@ parameters:
count: 1
path: ../../../src/scheduler/AsyncTask.php
-
message: "#^Cannot call method cancel\\(\\) on pocketmine\\\\scheduler\\\\TaskHandler\\|null\\.$#"
count: 1
path: ../../../src/scheduler/CancellableClosureTask.php
-
message: "#^Cannot call method getAsyncWorkerId\\(\\) on pocketmine\\\\scheduler\\\\AsyncWorker\\|null\\.$#"
count: 1
@ -510,8 +505,3 @@ parameters:
count: 1
path: ../../phpunit/event/HandlerListManagerTest.php
-
message: "#^Cannot call method cancel\\(\\) on pocketmine\\\\scheduler\\\\TaskHandler\\|null\\.$#"
count: 1
path: ../../plugins/TesterPlugin/src/pmmp/TesterPlugin/CheckTestCompletionTask.php