Clean phpstan baselines

some of these are dead, others are FPs fixed by newer PHPStan versions.
This commit is contained in:
Dylan K. Taylor
2020-10-24 17:22:40 +01:00
parent a8980a0f67
commit 1424114cf2
3 changed files with 0 additions and 85 deletions

View File

@ -240,11 +240,6 @@ parameters:
count: 1
path: ../../../src/pocketmine/Server.php
-
message: "#^Parameter \\#1 \\$name of static method pocketmine\\\\level\\\\generator\\\\GeneratorManager\\:\\:getGenerator\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/Server.php
-
message: "#^Parameter \\#1 \\$uuid of method pocketmine\\\\Server\\:\\:updatePlayerListData\\(\\) expects pocketmine\\\\utils\\\\UUID, pocketmine\\\\utils\\\\UUID\\|null given\\.$#"
count: 1
@ -535,46 +530,6 @@ parameters:
count: 1
path: ../../../src/pocketmine/command/SimpleCommandMap.php
-
message: "#^Parameter \\#1 \\$target of method pocketmine\\\\permission\\\\BanList\\:\\:addBan\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/command/defaults/BanCommand.php
-
message: "#^Parameter \\#1 \\$name of method pocketmine\\\\Server\\:\\:getPlayerExact\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/command/defaults/BanCommand.php
-
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/command/defaults/BanIpCommand.php
-
message: "#^Parameter \\#1 \\$ip of method pocketmine\\\\command\\\\defaults\\\\BanIpCommand\\:\\:processIPBan\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/command/defaults/BanIpCommand.php
-
message: "#^Parameter \\#1 \\$name of method pocketmine\\\\Server\\:\\:getPlayer\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/command/defaults/BanIpCommand.php
-
message: "#^Parameter \\#1 \\$name of method pocketmine\\\\Server\\:\\:getOfflinePlayer\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/command/defaults/DeopCommand.php
-
message: "#^Parameter \\#1 \\$name of method pocketmine\\\\Server\\:\\:getPlayer\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/command/defaults/KickCommand.php
-
message: "#^Parameter \\#1 \\$name of method pocketmine\\\\Server\\:\\:getOfflinePlayer\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/command/defaults/OpCommand.php
-
message: "#^Cannot call method addParticle\\(\\) on pocketmine\\\\level\\\\Level\\|null\\.$#"
count: 1
@ -1535,11 +1490,6 @@ parameters:
count: 1
path: ../../../src/pocketmine/network/rcon/RCONInstance.php
-
message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/permission/BanEntry.php
-
message: "#^Method pocketmine\\\\permission\\\\DefaultPermissions\\:\\:registerPermission\\(\\) should return pocketmine\\\\permission\\\\Permission but returns pocketmine\\\\permission\\\\Permission\\|null\\.$#"
count: 1
@ -1670,11 +1620,6 @@ parameters:
count: 1
path: ../../../src/pocketmine/utils/Config.php
-
message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/pocketmine/utils/Config.php
-
message: "#^Method pocketmine\\\\utils\\\\MainLogger\\:\\:getLogger\\(\\) should return pocketmine\\\\utils\\\\MainLogger but returns pocketmine\\\\utils\\\\MainLogger\\|null\\.$#"
count: 1