Skip to content

Macros: Log the object where a macro is not found #2666

Macros: Log the object where a macro is not found

Macros: Log the object where a macro is not found #2666

Triggered via pull request March 21, 2024 15:25
Status Failure
Total duration 2m 6s
Artifacts

php.yml

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

Annotations

21 errors and 14 warnings
Static analysis for php 8.3 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Web\Navigation\Action::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 8.3 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Widget\Detail\ObjectDetail::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 8.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Web\Navigation\Action::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Widget\Detail\ObjectDetail::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Web\Navigation\Action::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Widget\Detail\ObjectDetail::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Web\Navigation\Action::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Widget\Detail\ObjectDetail::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Web\Navigation\Action::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Widget\Detail\ObjectDetail::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Web\Navigation\Action::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Widget\Detail\ObjectDetail::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Web\Navigation\Action::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L32
Parameter #2 $object of method Icinga\Module\Icingadb\Widget\Detail\ObjectDetail::resolveMacro() expects Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|Icinga\Module\Icingadb\Model\Host|Icinga\Module\Icingadb\Model\Service, Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model given.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.
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.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.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.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.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/.
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/.
Static analysis for php 8.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 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 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.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.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.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.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/.