Skip to content

Event rule config enhancement #723

Event rule config enhancement

Event rule config enhancement #723

Triggered via pull request February 21, 2024 13:20
Status Failure
Total duration 1m 6s
Artifacts

php.yml

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

Annotations

66 errors and 12 warnings
Static analysis for php 8.1 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$id of static method Icinga\\Module\\Notifications\\Common\\Links\:\:eventRule\(\) expects int, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:delete\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/EventRuleController.php#L55
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:get\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 3 times, but occurred only 2 times.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/EventRuleController.php#L98
Anonymous function has an unused use $eventRuleConfigSubmitButton.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/EventRuleController.php#L176
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:set\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/EventRuleController.php#L226
Call to an undefined method ipl\Sql\Connection::lastInsertId().
Static analysis for php 8.1 on ubuntu-latest: application/controllers/EventRulesController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRulesController.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/forms/EventRuleConfigElements/EscalationCondition.php#L16
Property Icinga\Module\Notifications\Forms\EventRuleConfigElements\EscalationCondition::$conditions has no type specified.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 2.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$id of static method Icinga\\Module\\Notifications\\Common\\Links\:\:eventRule\(\) expects int, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:delete\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/EventRuleController.php#L55
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:get\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 3 times, but occurred only 2 times.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/EventRuleController.php#L98
Anonymous function has an unused use $eventRuleConfigSubmitButton.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/EventRuleController.php#L176
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:set\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/EventRuleController.php#L226
Call to an undefined method ipl\Sql\Connection::lastInsertId().
Static analysis for php 7.4 on ubuntu-latest: application/controllers/EventRulesController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRulesController.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/forms/EventRuleConfigElements/EscalationCondition.php#L16
Property Icinga\Module\Notifications\Forms\EventRuleConfigElements\EscalationCondition::$conditions has no type specified.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 2.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 2.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$id of static method Icinga\\Module\\Notifications\\Common\\Links\:\:eventRule\(\) expects int, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:delete\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/EventRuleController.php#L55
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:get\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 3 times, but occurred only 2 times.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/EventRuleController.php#L98
Anonymous function has an unused use $eventRuleConfigSubmitButton.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/EventRuleController.php#L176
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:set\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/EventRuleController.php#L226
Call to an undefined method ipl\Sql\Connection::lastInsertId().
Static analysis for php 8.2 on ubuntu-latest: application/controllers/EventRulesController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRulesController.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/forms/EventRuleConfigElements/EscalationCondition.php#L16
Property Icinga\Module\Notifications\Forms\EventRuleConfigElements\EscalationCondition::$conditions has no type specified.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 2.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$id of static method Icinga\\Module\\Notifications\\Common\\Links\:\:eventRule\(\) expects int, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:delete\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/EventRuleController.php#L55
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:get\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 3 times, but occurred only 2 times.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/EventRuleController.php#L98
Anonymous function has an unused use $eventRuleConfigSubmitButton.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/EventRuleController.php#L176
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:set\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/EventRuleController.php#L226
Call to an undefined method ipl\Sql\Connection::lastInsertId().
Static analysis for php 7.3 on ubuntu-latest: application/controllers/EventRulesController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRulesController.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/forms/EventRuleConfigElements/EscalationCondition.php#L16
Property Icinga\Module\Notifications\Forms\EventRuleConfigElements\EscalationCondition::$conditions has no type specified.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$id of static method Icinga\\Module\\Notifications\\Common\\Links\:\:eventRule\(\) expects int, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:delete\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/EventRuleController.php#L55
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:get\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 3 times, but occurred only 2 times.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/EventRuleController.php#L98
Anonymous function has an unused use $eventRuleConfigSubmitButton.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/EventRuleController.php#L176
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:set\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/EventRuleController.php#L226
Call to an undefined method ipl\Sql\Connection::lastInsertId().
Static analysis for php 7.2 on ubuntu-latest: application/controllers/EventRulesController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRulesController.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/forms/EventRuleConfigElements/EscalationCondition.php#L16
Property Icinga\Module\Notifications\Forms\EventRuleConfigElements\EscalationCondition::$conditions has no type specified.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 2.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$id of static method Icinga\\Module\\Notifications\\Common\\Links\:\:eventRule\(\) expects int, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/EventRuleController.php#L1
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:delete\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/EventRuleController.php#L55
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:get\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 3 times, but occurred only 2 times.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/EventRuleController.php#L98
Anonymous function has an unused use $eventRuleConfigSubmitButton.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/EventRuleController.php#L176
Ignored error pattern #^Parameter \#1 \$key of method Icinga\\Web\\Session\\SessionNamespace\:\:set\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRuleController.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/EventRuleController.php#L226
Call to an undefined method ipl\Sql\Connection::lastInsertId().
Static analysis for php 8.0 on ubuntu-latest: application/controllers/EventRulesController.php#L1
Ignored error pattern #^Call to an undefined method Zend_Controller_Response_Abstract\:\:redirectAndExit\(\)\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/EventRulesController.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/forms/EventRuleConfigElements/EscalationCondition.php#L16
Property Icinga\Module\Notifications\Forms\EventRuleConfigElements\EscalationCondition::$conditions has no type specified.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 2.
Unit tests with php 8.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 7.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 8.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 7.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 8.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.