Github Actions: Add Phpstan #677
Annotations
11 errors
|
application/clicommands/CheckCommand.php#L265
application/clicommands/CheckCommand.php:265:36: PossiblyFalseOperand: Left operand cannot be falsable, got false|int (see https://psalm.dev/162)
|
application/clicommands/JobsCommand.php#L117
application/clicommands/JobsCommand.php:117:67: InvalidArgument: Argument 3 of Icinga\Application\Config::module expects string, but true provided (see https://psalm.dev/004)
|
application/controllers/CertificateController.php#L40
application/controllers/CertificateController.php:40:23: PossiblyNullArgument: Argument 1 of Icinga\Module\X509\CertificateDetails::setCert cannot be null, possibly null value provided (see https://psalm.dev/078)
|
application/controllers/ChainController.php#L54
application/controllers/ChainController.php:54:13: PossiblyNullArrayAccess: Cannot access array value on possibly null variable $chain of type Icinga\Module\X509\Model\X509CertificateChain|null (see https://psalm.dev/079)
|
application/controllers/ChainController.php#L54
application/controllers/ChainController.php:54:13: PossiblyNullReference: Cannot call method offsetGet on possibly null value (see https://psalm.dev/083)
|
application/controllers/JobsController.php#L86
application/controllers/JobsController.php:86:30: ImplicitToStringCast: Argument 1 of Icinga\Module\X509\Forms\Config\JobConfigForm::setRedirectUrl expects string, but Icinga\Web\Url provided with a __toString method (see https://psalm.dev/060)
|
application/controllers/JobsController.php#L99
application/controllers/JobsController.php:99:25: PossiblyInvalidPropertyFetch: Cannot fetch property on possible non-object $data of type false (see https://psalm.dev/114)
|
application/controllers/JobsController.php#L99
application/controllers/JobsController.php:99:58: PossiblyInvalidPropertyFetch: Cannot fetch property on possible non-object $data of type false (see https://psalm.dev/114)
|
application/controllers/JobsController.php#L101
application/controllers/JobsController.php:101:31: PossiblyInvalidPropertyFetch: Cannot fetch property on possible non-object $data of type false (see https://psalm.dev/114)
|
application/controllers/JobsController.php#L108
application/controllers/JobsController.php:108:39: PossiblyInvalidPropertyFetch: Cannot fetch property on possible non-object $data of type false (see https://psalm.dev/114)
|
The logs for this run have expired and are no longer available.
Loading