Skip to content

Bump phpstan/phpstan from 1.10.25 to 2.1.40 #2

Bump phpstan/phpstan from 1.10.25 to 2.1.40

Bump phpstan/phpstan from 1.10.25 to 2.1.40 #2

Triggered via push March 8, 2026 22:29
Status Failure
Total duration 13s
Artifacts

phpstan.yml

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

Annotations

10 errors
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.