mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
remove some PHPStan error patterns
This commit is contained in:
parent
c60144210f
commit
15fca84f3b
@ -20,16 +20,6 @@ parameters:
|
|||||||
count: 1
|
count: 1
|
||||||
path: ../../../build/server-phar.php
|
path: ../../../build/server-phar.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Cannot access offset \\(float\\|int\\) on mixed\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: ../../../src/CrashDump.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Cannot access offset string on mixed\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: ../../../src/CrashDump.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Parameter \\#1 \\$path of static method pocketmine\\\\utils\\\\Filesystem\\:\\:cleanPath\\(\\) expects string, mixed given\\.$#"
|
message: "#^Parameter \\#1 \\$path of static method pocketmine\\\\utils\\\\Filesystem\\:\\:cleanPath\\(\\) expects string, mixed given\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
@ -70,11 +60,6 @@ parameters:
|
|||||||
count: 3
|
count: 3
|
||||||
path: ../../../src/PocketMine.php
|
path: ../../../src/PocketMine.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Cannot access offset 'type' on mixed\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: ../../../src/Server.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Cannot cast mixed to string\\.$#"
|
message: "#^Cannot cast mixed to string\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user