Update Main.php #19
Annotations
10 errors and 2 warnings
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L23
Class NurAzliYT\LandProtections\Main extends unknown class pocketmine\plugin\PluginBase.
|
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L23
Class NurAzliYT\LandProtections\Main implements unknown interface pocketmine\event\Listener.
|
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L24
Property NurAzliYT\LandProtections\Main::$config has unknown class pocketmine\utils\Config as its type.
|
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L27
Property NurAzliYT\LandProtections\Main::$economyAPI has unknown class cooldogedev\BedrockEconomy\api\BedrockEconomyAPIv1 as its type.
|
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L30
Call to an undefined method NurAzliYT\LandProtections\Main::saveDefaultConfig().
|
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L31
Access to constant YAML on an unknown class pocketmine\utils\Config.
|
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L31
Call to an undefined method NurAzliYT\LandProtections\Main::getDataFolder().
|
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L31
Instantiated class pocketmine\utils\Config not found.
|
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L32
Call to method getAll() on an unknown class pocketmine\utils\Config.
|
Check Code Style:
src/NurAzliYT/LandProtections/Main.php#L33
Call to method get() on an unknown class pocketmine\utils\Config.
|
Check Code Style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check Code Style
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|