Add deprecation plugin for PHPStan #3166
Open
Annotations
10 errors
|
core/classes/Events/EventHandler.php#L77
Call to function is_subclass_of() with class-string<AbstractEvent> and 'AbstractEvent' will always evaluate to true.
|
|
core/classes/Events/EventHandler.php#L36
Call to function is_subclass_of() with class-string<AbstractEvent> and 'AbstractEvent' will always evaluate to true.
|
|
core/classes/Events/DiscordWebhookBuilder.php#L80
Instanceof between DiscordEmbed and DiscordEmbed will always evaluate to true.
|
|
core/classes/Events/DiscordWebhookBuilder.php#L17
Property DiscordWebhookBuilder::$_embeds (array<DiscordEmbed>|null) is never assigned null so it can be removed from the property type.
|
|
core/classes/Events/Cancellable.php#L3
Trait Cancellable is used zero times and is not analysed.
|
|
core/classes/DTO/UpdateCheck.php#L13
Property UpdateCheck::$_raw_response (string|null) is never assigned null so it can be removed from the property type.
|
|
core/classes/Core/URL.php#L119
Right side of && is always true.
|
|
core/classes/Core/Module.php#L85
Parameter $smarty of method Module::onPageLoad() has typehint with deprecated class FakeSmarty.
|
|
core/classes/Core/Module.php#L60
Parameter $smarty of method Module::loadPage() has typehint with deprecated class FakeSmarty.
|
|
core/classes/Core/Cache.php#L51
Right side of && is always true.
|
The logs for this run have expired and are no longer available.
Loading