PhpStan 2 #967
Annotations
10 errors
phpstan:
components/updater/available-updates.php#L25
If condition is always false.
|
phpstan:
controllers/MotionExportTraits.php (in context of class app/controllers/MotionController)#L170
PHPDoc tag @var with type app\models\db\TexTemplate is not subtype of native type null.
|
phpstan:
controllers/MotionExportTraits.php (in context of class app/controllers/MotionController)#L252
PHPDoc tag @var with type array<app\models\db\IMotion> is not subtype of native type mixed.
|
phpstan:
controllers/PagesController.php#L418
Method app\models\http\ResponseInterface@anonymous/controllers/PagesController.php:410::renderYii() never returns null so it can be removed from the return type.
|
phpstan:
models/db/AmendmentSection.php#L36
PHPDoc tag @var with type app\models\db\ConsultationSettingsMotionSection is not subtype of native type null.
|
phpstan:
models/db/Consultation.php#L588
Strict comparison using !== between int<min, -3>|int<-1, max> and -2 will always evaluate to true.
|
phpstan:
models/db/Consultation.php#L743
Argument of an invalid type list<string>|false supplied for foreach, only iterables are supported.
|
phpstan:
models/notifications/Base.php#L27
PHPDoc tag @var with type app\models\notifications\IEmailAdmin is not subtype of native type $this(app\models\notifications\Base).
|
phpstan:
models/notifications/Base.php#L48
PHPDoc tag @var with type app\models\notifications\IEmailUser is not subtype of native type $this(app\models\notifications\Base).
|
phpstan:
models/sectionTypes/ISectionType.php#L156
Parameter #2 $replace of function str_replace expects array<string>|string, array<int, int<1, max>|string> given.
|
Loading