Bump phpstan/phpstan from 1.10.25 to 2.1.41 #2
Annotations
10 errors and 1 warning
|
Run PHPStan:
src/Common/EventListener.php#L402
Access to property $edit on an unknown class Gandalf\Main.
|
|
Run PHPStan:
src/Common/EventListener.php#L302
Parameter #1 $string of function strtolower expects string, string|null given.
|
|
Run PHPStan:
src/Common/EventListener.php#L289
Method Common\EventListener::onSwim() has no return type specified.
|
|
Run PHPStan:
src/Common/EventListener.php#L209
Call to an undefined static method pocketmine\item\VanillaItems::ELYTRA().
|
|
Run PHPStan:
src/Common/EventListener.php#L171
Parameter #1 $string of function substr expects string, string|null given.
|
|
Run PHPStan:
src/Common/EventListener.php#L170
Parameter #1 $haystack of function str_starts_with expects string, string|null given.
|
|
Run PHPStan:
src/Common/EventListener.php#L169
Parameter #1 $string of function substr expects string, string|null given.
|
|
Run PHPStan:
src/Common/EventListener.php#L169
Parameter #1 $haystack of function str_starts_with expects string, string|null given.
|
|
Run PHPStan:
src/Common/EventListener.php#L128
Parameter #3 $subject of function str_replace expects array<string>|string, string|null given.
|
|
Run PHPStan:
src/Common/EventListener.php#L106
Parameter #1 $string of function strtolower expects string, string|null 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/checkout@v3, dsaltares/fetch-gh-release-asset@1.1.0. 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