phpstan: clean some errors from level 8 baseline

This commit is contained in:
Dylan K. Taylor 2020-06-29 22:42:46 +01:00
parent fc60abe5e5
commit c0af05fcad

View File

@ -595,41 +595,6 @@ parameters:
count: 1
path: ../../../src/player/Player.php
-
message: "#^Cannot call method getWorldNonNull\\(\\) on pocketmine\\\\world\\\\Position\\|null\\.$#"
count: 1
path: ../../../src/player/Player.php
-
message: "#^Cannot call method getFloorX\\(\\) on pocketmine\\\\world\\\\Position\\|null\\.$#"
count: 1
path: ../../../src/player/Player.php
-
message: "#^Cannot call method getFloorY\\(\\) on pocketmine\\\\world\\\\Position\\|null\\.$#"
count: 1
path: ../../../src/player/Player.php
-
message: "#^Cannot call method getFloorZ\\(\\) on pocketmine\\\\world\\\\Position\\|null\\.$#"
count: 1
path: ../../../src/player/Player.php
-
message: "#^Cannot access property \\$x on pocketmine\\\\world\\\\Position\\|null\\.$#"
count: 1
path: ../../../src/player/Player.php
-
message: "#^Cannot access property \\$y on pocketmine\\\\world\\\\Position\\|null\\.$#"
count: 1
path: ../../../src/player/Player.php
-
message: "#^Cannot access property \\$z on pocketmine\\\\world\\\\Position\\|null\\.$#"
count: 1
path: ../../../src/player/Player.php
-
message: "#^Cannot call method onDeath\\(\\) on pocketmine\\\\network\\\\mcpe\\\\NetworkSession\\|null\\.$#"
count: 1