Github Actions: Add Phpstan #676
Annotations
16 errors
application/clicommands/JobsCommand.php#L117
Parameter #3 $fromDisk of static method Icinga\Application\Config::module() expects string, true given.
|
library/X509/CertificateUtils.php#L246
Unsafe call to private method Icinga\Module\X509\CertificateUtils::shortNameFromDN() through static::.
|
library/X509/Common/JobUtils.php (in context of class Icinga/Module/X509/Job)#L150
Binary operation "-" between GMP and 1 results in an error.
|
library/X509/Model/Behavior/ExpressionInjector.php#L37
Method Icinga\Module\X509\Model\Behavior\ExpressionInjector::rewriteCondition() should return ipl\Stdlib\Filter\Rule|null but return statement is missing.
|
|
|
application/clicommands/JobsCommand.php#L117
application/clicommands/JobsCommand.php:117:67: InvalidScalarArgument: Argument 3 of Icinga\Application\Config::module expects string, but true provided (see https://psalm.dev/012)
|
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: PossiblyNullReference: Cannot call method offsetGet on possibly null value (see https://psalm.dev/083)
|
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/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)
|
application/controllers/JobsController.php#L109
application/controllers/JobsController.php:109: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