add Type::isNever and Type::isExplicitNever methods #26202
Annotations
10 errors and 1 warning
|
PHPStan:
src/plugin/PluginDescription.php#L179
Parameter #5 $permissionDeniedMessage of class pocketmine\plugin\PluginDescriptionCommandEntry constructor expects string|null, mixed given.
|
|
PHPStan:
src/plugin/PluginDescription.php#L177
Parameter #3 $aliases of class pocketmine\plugin\PluginDescriptionCommandEntry constructor expects list<string>, mixed given.
|
|
PHPStan:
src/plugin/PluginDescription.php#L176
Parameter #2 $usageMessage of class pocketmine\plugin\PluginDescriptionCommandEntry constructor expects string|null, mixed given.
|
|
PHPStan:
src/plugin/PluginDescription.php#L175
Parameter #1 $description of class pocketmine\plugin\PluginDescriptionCommandEntry constructor expects string|null, mixed given.
|
|
PHPStan:
src/item/Item.php#L741
Cannot cast mixed to int.
|
|
PHPStan:
src/item/Item.php#L740
Cannot cast mixed to int.
|
|
PHPStan:
src/item/Item.php#L739
Cannot cast mixed to int.
|
|
PHPStan:
src/command/defaults/WhitelistCommand.php#L92
Parameter #2 $array of function implode expects array<string>, list<mixed> given.
|
|
PHPStan:
src/command/defaults/WhitelistCommand.php#L91
Parameter #1 $array of function sort expects an array of values castable to string, array<mixed> given.
|
|
PHPStan:
build/generate-block-serializer-consts.php#L181
Parameter #1 $array of function sort expects an array of values castable to string, array<mixed> given.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02, pmmp/setup-php-action@3c38c259834f945351a662392836d90eb08abff0, step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e, Wandalen/wretry.action@v3.8.0_js_action. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading