remove some PHPStan error patterns

This commit is contained in:
Dylan K. Taylor 2021-11-04 19:22:49 +00:00
parent c60144210f
commit 15fca84f3b
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -20,16 +20,6 @@ parameters:
count: 1
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\\.$#"
count: 1
@ -70,11 +60,6 @@ parameters:
count: 3
path: ../../../src/PocketMine.php
-
message: "#^Cannot access offset 'type' on mixed\\.$#"
count: 1
path: ../../../src/Server.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1