Skip to content

[FIX] : shadowing on plugin property #452

[FIX] : shadowing on plugin property

[FIX] : shadowing on plugin property #452

Re-run triggered April 5, 2024 11:01
Status Failure
Total duration 26s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
phpstan: source/src/DaPigGuy/PiggyCustomEnchants/commands/CustomEnchantsCommand.php#L25
Property DaPigGuy\PiggyCustomEnchants\commands\CustomEnchantsCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
phpstan: source/src/DaPigGuy/PiggyCustomEnchants/commands/subcommands/AboutSubCommand.php#L18
Property DaPigGuy\PiggyCustomEnchants\commands\subcommands\AboutSubCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
phpstan: source/src/DaPigGuy/PiggyCustomEnchants/commands/subcommands/EnchantSubCommand.php#L27
Property DaPigGuy\PiggyCustomEnchants\commands\subcommands\EnchantSubCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
phpstan: source/src/DaPigGuy/PiggyCustomEnchants/commands/subcommands/InfoSubCommand.php#L24
Property DaPigGuy\PiggyCustomEnchants\commands\subcommands\InfoSubCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
phpstan: source/src/DaPigGuy/PiggyCustomEnchants/commands/subcommands/ListSubCommand.php#L21
Property DaPigGuy\PiggyCustomEnchants\commands\subcommands\ListSubCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
phpstan: source/src/DaPigGuy/PiggyCustomEnchants/commands/subcommands/NBTSubCommand.php#L17
Property DaPigGuy\PiggyCustomEnchants\commands\subcommands\NBTSubCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
phpstan: source/src/DaPigGuy/PiggyCustomEnchants/commands/subcommands/RemoveSubCommand.php#L22
Property DaPigGuy\PiggyCustomEnchants\commands\subcommands\RemoveSubCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpstan
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/