Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor 2022-11-04 20:51:49 +00:00
commit c915334c2b
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
2 changed files with 2 additions and 14 deletions

View File

@ -209,12 +209,10 @@ JIT_WARNING
}
if(is_array($opts[$opt])){
critical_error("Cannot specify --$opt multiple times");
exit(1);
}
if($opts[$opt] === false){
}else{
critical_error("Missing value for --$opt");
exit(1);
}
exit(1);
}
return null;
}

View File

@ -15,21 +15,11 @@ parameters:
count: 1
path: ../../../build/server-phar.php
-
message: "#^Binary operation \"\\.\" between array\\<int, mixed\\>\\|string\\|false and '/'\\|'\\\\\\\\' results in an error\\.$#"
count: 2
path: ../../../src/PocketMine.php
-
message: "#^Do\\-while loop condition is always false\\.$#"
count: 1
path: ../../../src/PocketMine.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1
path: ../../../src/Server.php
-
message: "#^Parameter \\#1 \\$array of static method pocketmine\\\\plugin\\\\PluginGraylist\\:\\:fromArray\\(\\) expects array, mixed given\\.$#"
count: 1