remove particle/validator dependency, require respect/validation, close #3228

this fixes a few crashes that could appear from invalid plugin_list.yml setups, which was the reason #3228 was opened to begin with. Respect also has nicer error messages, as long as you don't use the static API :)
This commit is contained in:
Dylan K. Taylor
2020-05-15 22:57:38 +01:00
parent 129a7c1b3e
commit 3fb34ad18e
3 changed files with 209 additions and 80 deletions

View File

@ -45,9 +45,9 @@
"pocketmine/uuid": "^0.1.0",
"pocketmine/color": "^0.1.0",
"adhocore/json-comment": "^0.1.0",
"particle/validator": "^2.3",
"netresearch/jsonmapper": "^2.0",
"ocramius/package-versions": "^1.5"
"ocramius/package-versions": "^1.5",
"respect/validation": "^2.0"
},
"require-dev": {
"phpstan/phpstan": "^0.12.25",