ScriptPluginLoader: use parseDocComment() instead of reinventing the wheel

This commit is contained in:
Dylan K. Taylor
2021-11-24 17:22:49 +00:00
parent 726c5652f7
commit 472ffb28ff
2 changed files with 14 additions and 15 deletions

View File

@ -80,6 +80,11 @@ parameters:
count: 1
path: ../../../src/pocketmine/network/mcpe/protocol/DataPacket.php
-
message: "#^Parameter \\#1 \\$yamlString of class pocketmine\\\\plugin\\\\PluginDescription constructor expects array\\|string, array\\<string\\> given\\.$#"
count: 1
path: ../../../src/pocketmine/plugin/ScriptPluginLoader.php
-
message: "#^Dead catch \\- ReflectionException is never thrown in the try block\\.$#"
count: 2