ci: fix syntax error #5
Annotations
10 errors and 2 warnings
phpstan analyze:
src/shock95x/auctionhouse/AHListing.php#L60
Method shock95x\auctionhouse\AHListing::fromRow() has parameter $row with no value type specified in iterable type array.
|
phpstan analyze:
src/shock95x/auctionhouse/AuctionHouse.php#L82
Using nullsafe method call on non-nullable type shock95x\auctionhouse\database\Database. Use -> instead.
|
phpstan analyze:
src/shock95x/auctionhouse/EventListener.php#L33
Cannot call method close() on pocketmine\block\tile\Tile|null.
|
phpstan analyze:
src/shock95x/auctionhouse/EventListener.php#L44
Cannot call method close() on pocketmine\block\tile\Tile|null.
|
phpstan analyze:
src/shock95x/auctionhouse/category/Category.php#L37
Method shock95x\auctionhouse\category\Category::getAll() return type has no value type specified in iterable type array.
|
phpstan analyze:
src/shock95x/auctionhouse/category/defaults/EnchantedCategory.php#L31
Parameter #1 $enchantment of class pocketmine\item\enchantment\EnchantmentInstance constructor expects pocketmine\item\enchantment\Enchantment, pocketmine\item\enchantment\Enchantment|null given.
|
phpstan analyze:
src/shock95x/auctionhouse/commands/AHCommand.php#L24
Parameter #1 $plugin of class shock95x\auctionhouse\commands\subcommand\ShopCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
|
phpstan analyze:
src/shock95x/auctionhouse/commands/AHCommand.php#L25
Parameter #1 $plugin of class shock95x\auctionhouse\commands\subcommand\admin\AdminCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
|
phpstan analyze:
src/shock95x/auctionhouse/commands/AHCommand.php#L26
Parameter #1 $plugin of class shock95x\auctionhouse\commands\subcommand\SellCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
|
phpstan analyze:
src/shock95x/auctionhouse/commands/AHCommand.php#L27
Parameter #1 $plugin of class shock95x\auctionhouse\commands\subcommand\CategoryCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "plugin.phar".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading