Enable parsing/emitting .properties without creating a Config object

this is useful when the contents are just going to get passed straight into a model, making Config object redundant anyway.
This commit is contained in:
Dylan K. Taylor
2021-10-07 20:53:15 +01:00
parent 5115387feb
commit 2a3a57c519
2 changed files with 17 additions and 10 deletions

View File

@ -165,6 +165,11 @@ parameters:
count: 1
path: ../../../src/timings/TimingsHandler.php
-
message: "#^Parameter \\#1 \\$config of static method pocketmine\\\\utils\\\\Config\\:\\:writeProperties\\(\\) expects array\\<string, bool\\|float\\|int\\|string\\>, array\\<string, mixed\\> given\\.$#"
count: 1
path: ../../../src/utils/Config.php
-
message: "#^Parameter \\#2 \\$offset of function substr expects int, mixed given\\.$#"
count: 1