Skip to content

Bump phpstan/phpstan from 1.10.25 to 2.1.46 #8

Bump phpstan/phpstan from 1.10.25 to 2.1.46

Bump phpstan/phpstan from 1.10.25 to 2.1.46 #8

Triggered via push April 2, 2026 08:18
Status Failure
Total duration 18s
Artifacts

phpstan.yml

on: push
PHPStan Analysis
14s
PHPStan Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
PHPStan Analysis: src/Common/EventListener.php#L402
Access to property $edit on an unknown class Gandalf\Main.
PHPStan Analysis: src/Common/EventListener.php#L302
Parameter #1 $string of function strtolower expects string, string|null given.
PHPStan Analysis: src/Common/EventListener.php#L289
Method Common\EventListener::onSwim() has no return type specified.
PHPStan Analysis: src/Common/EventListener.php#L209
Call to an undefined static method pocketmine\item\VanillaItems::ELYTRA().
PHPStan Analysis: src/Common/EventListener.php#L171
Parameter #1 $string of function substr expects string, string|null given.
PHPStan Analysis: src/Common/EventListener.php#L170
Parameter #1 $haystack of function str_starts_with expects string, string|null given.
PHPStan Analysis: src/Common/EventListener.php#L169
Parameter #1 $string of function substr expects string, string|null given.
PHPStan Analysis: src/Common/EventListener.php#L169
Parameter #1 $haystack of function str_starts_with expects string, string|null given.
PHPStan Analysis: src/Common/EventListener.php#L128
Parameter #3 $subject of function str_replace expects array<string>|string, string|null given.
PHPStan Analysis: src/Common/EventListener.php#L106
Parameter #1 $string of function strtolower expects string, string|null given.
PHPStan Analysis
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. Node.js 20 will be removed from the runner on September 16th, 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/