Skip to content

PMMP 5.0.0

PMMP 5.0.0 #144

Re-run triggered October 2, 2023 07:27
Status Failure
Total duration 34s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: source/src/DaPigGuy/PiggyCrates/EventListener.php#L28
Access to constant CHEST on an unknown class pocketmine\block\BlockTypeIds.
phpstan: source/src/DaPigGuy/PiggyCrates/PiggyCrates.php#L92
Cannot call method setCount() on pocketmine\item\Item|null.
phpstan: source/src/DaPigGuy/PiggyCrates/PiggyCrates.php#L93
Cannot call method setNamedTag() on pocketmine\item\Item|null.
phpstan: source/src/DaPigGuy/PiggyCrates/PiggyCrates.php#L94
Cannot call method setCustomName() on pocketmine\item\Item|null.
phpstan: source/src/DaPigGuy/PiggyCrates/PiggyCrates.php#L95
Cannot call method setLore() on pocketmine\item\Item|null.
phpstan: source/src/DaPigGuy/PiggyCrates/PiggyCrates.php#L102
Cannot call method addEnchantment() on pocketmine\item\Item|null.
phpstan: source/src/DaPigGuy/PiggyCrates/PiggyCrates.php#L109
Parameter #1 $item of class DaPigGuy\PiggyCrates\crates\CrateItem constructor expects pocketmine\item\Item, pocketmine\item\Item|null given.
phpstan: source/src/DaPigGuy/PiggyCrates/commands/CrateCommand.php#L17
Property DaPigGuy\PiggyCrates\commands\CrateCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
phpstan: source/src/DaPigGuy/PiggyCrates/commands/KeyAllCommand.php#L17
Property DaPigGuy\PiggyCrates\commands\KeyAllCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
phpstan: source/src/DaPigGuy/PiggyCrates/commands/KeyCommand.php#L18
Property DaPigGuy\PiggyCrates\commands\KeyCommand::$plugin (pocketmine\plugin\Plugin) overriding property CortexPE\Commando\BaseCommand::$plugin should not have a native type.
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/