Skip to content

Github Actions: Add Phpstan #423

Github Actions: Add Phpstan

Github Actions: Add Phpstan #423

Triggered via pull request August 16, 2023 09:23
@yhabteabyhabteab
synchronize #187
phpstan
Status Failure
Total duration 5m 0s
Artifacts

php.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

60 errors
UndefinedFunction: library/Reporting/Actions/SendMail.php#L76
library/Reporting/Actions/SendMail.php:76:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L81
library/Reporting/Actions/SendMail.php:81:30: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L87
library/Reporting/Actions/SendMail.php:87:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
PossiblyNullReference: library/Reporting/Report.php#L188
library/Reporting/Report.php:188:45: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: library/Reporting/Report.php#L247
library/Reporting/Report.php:247:38: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
UndefinedFunction: library/Reporting/Report.php#L268
library/Reporting/Report.php:268:31: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L270
library/Reporting/Report.php:270:32: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L274
library/Reporting/Report.php:274:28: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
MoreSpecificReturnType: library/Reporting/Reportlet.php#L58
library/Reporting/Reportlet.php:58:17: MoreSpecificReturnType: The declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation is more specific than the inferred return type 'object' (see https://psalm.dev/070)
LessSpecificReturnStatement: library/Reporting/Reportlet.php#L64
library/Reporting/Reportlet.php:64:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation (see https://psalm.dev/129)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L76
library/Reporting/Actions/SendMail.php:76:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L81
library/Reporting/Actions/SendMail.php:81:30: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L87
library/Reporting/Actions/SendMail.php:87:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
PossiblyNullReference: library/Reporting/Report.php#L188
library/Reporting/Report.php:188:45: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: library/Reporting/Report.php#L247
library/Reporting/Report.php:247:38: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
UndefinedFunction: library/Reporting/Report.php#L268
library/Reporting/Report.php:268:31: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L270
library/Reporting/Report.php:270:32: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L274
library/Reporting/Report.php:274:28: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
MoreSpecificReturnType: library/Reporting/Reportlet.php#L58
library/Reporting/Reportlet.php:58:17: MoreSpecificReturnType: The declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation is more specific than the inferred return type 'object' (see https://psalm.dev/070)
LessSpecificReturnStatement: library/Reporting/Reportlet.php#L64
library/Reporting/Reportlet.php:64:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation (see https://psalm.dev/129)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L76
library/Reporting/Actions/SendMail.php:76:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L81
library/Reporting/Actions/SendMail.php:81:30: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L87
library/Reporting/Actions/SendMail.php:87:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
PossiblyNullReference: library/Reporting/Report.php#L188
library/Reporting/Report.php:188:45: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: library/Reporting/Report.php#L247
library/Reporting/Report.php:247:38: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
UndefinedFunction: library/Reporting/Report.php#L268
library/Reporting/Report.php:268:31: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L270
library/Reporting/Report.php:270:32: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L274
library/Reporting/Report.php:274:28: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
MoreSpecificReturnType: library/Reporting/Reportlet.php#L58
library/Reporting/Reportlet.php:58:17: MoreSpecificReturnType: The declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation is more specific than the inferred return type 'object' (see https://psalm.dev/070)
LessSpecificReturnStatement: library/Reporting/Reportlet.php#L64
library/Reporting/Reportlet.php:64:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation (see https://psalm.dev/129)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L76
library/Reporting/Actions/SendMail.php:76:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L81
library/Reporting/Actions/SendMail.php:81:30: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L87
library/Reporting/Actions/SendMail.php:87:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
PossiblyNullReference: library/Reporting/Report.php#L188
library/Reporting/Report.php:188:45: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: library/Reporting/Report.php#L247
library/Reporting/Report.php:247:38: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
UndefinedFunction: library/Reporting/Report.php#L268
library/Reporting/Report.php:268:31: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L270
library/Reporting/Report.php:270:32: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L274
library/Reporting/Report.php:274:28: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
MoreSpecificReturnType: library/Reporting/Reportlet.php#L58
library/Reporting/Reportlet.php:58:17: MoreSpecificReturnType: The declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation is more specific than the inferred return type 'object' (see https://psalm.dev/070)
LessSpecificReturnStatement: library/Reporting/Reportlet.php#L64
library/Reporting/Reportlet.php:64:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation (see https://psalm.dev/129)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L76
library/Reporting/Actions/SendMail.php:76:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L81
library/Reporting/Actions/SendMail.php:81:30: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L87
library/Reporting/Actions/SendMail.php:87:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
PossiblyNullReference: library/Reporting/Report.php#L188
library/Reporting/Report.php:188:45: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: library/Reporting/Report.php#L247
library/Reporting/Report.php:247:38: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
UndefinedFunction: library/Reporting/Report.php#L268
library/Reporting/Report.php:268:31: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L270
library/Reporting/Report.php:270:32: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L274
library/Reporting/Report.php:274:28: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
MoreSpecificReturnType: library/Reporting/Reportlet.php#L58
library/Reporting/Reportlet.php:58:17: MoreSpecificReturnType: The declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation is more specific than the inferred return type 'object' (see https://psalm.dev/070)
LessSpecificReturnStatement: library/Reporting/Reportlet.php#L64
library/Reporting/Reportlet.php:64:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation (see https://psalm.dev/129)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L76
library/Reporting/Actions/SendMail.php:76:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L81
library/Reporting/Actions/SendMail.php:81:30: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Actions/SendMail.php#L87
library/Reporting/Actions/SendMail.php:87:27: UndefinedFunction: Function Icinga\Module\Reporting\Actions\t does not exist (see https://psalm.dev/021)
PossiblyNullReference: library/Reporting/Report.php#L188
library/Reporting/Report.php:188:45: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: library/Reporting/Report.php#L247
library/Reporting/Report.php:247:38: PossiblyNullReference: Cannot call method getDimensions on possibly null value (see https://psalm.dev/083)
UndefinedFunction: library/Reporting/Report.php#L268
library/Reporting/Report.php:268:31: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L270
library/Reporting/Report.php:270:32: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
UndefinedFunction: library/Reporting/Report.php#L274
library/Reporting/Report.php:274:28: UndefinedFunction: Function ipl\I18n\t does not exist (see https://psalm.dev/021)
MoreSpecificReturnType: library/Reporting/Reportlet.php#L58
library/Reporting/Reportlet.php:58:17: MoreSpecificReturnType: The declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation is more specific than the inferred return type 'object' (see https://psalm.dev/070)
LessSpecificReturnStatement: library/Reporting/Reportlet.php#L64
library/Reporting/Reportlet.php:64:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Icinga\Module\Reporting\Hook\ReportHook' for Icinga\Module\Reporting\Reportlet::getImplementation (see https://psalm.dev/129)