Skip to content

Define config generics #194

Define config generics

Define config generics #194

Triggered via pull request February 15, 2024 13:06
Status Failure
Total duration 56s
Artifacts

php.yml

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

Annotations

42 errors and 6 warnings
Static analysis for php 7.4 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L50
Ignored error pattern #^Parameter \#1 \$template of class Icinga\\Module\\Graphite\\Util\\MacroTemplate constructor expects string, mixed given\.$# in path /app/library/Graphite/Graphing/Templates.php is expected to occur 1 time, but occurred 4 times.
Static analysis for php 7.4 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L111
PHPDoc tag @var for variable $options contains generic class Icinga\Data\ConfigObject but does not specify its types: TValue
Static analysis for php 7.4 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L123
Parameter #2 $subject of function preg_split expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L164
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L194
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L244
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.3 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L50
Ignored error pattern #^Parameter \#1 \$template of class Icinga\\Module\\Graphite\\Util\\MacroTemplate constructor expects string, mixed given\.$# in path /app/library/Graphite/Graphing/Templates.php is expected to occur 1 time, but occurred 4 times.
Static analysis for php 7.3 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L111
PHPDoc tag @var for variable $options contains generic class Icinga\Data\ConfigObject but does not specify its types: TValue
Static analysis for php 7.3 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L123
Parameter #2 $subject of function preg_split expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L164
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L194
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L244
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.0 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L50
Ignored error pattern #^Parameter \#1 \$template of class Icinga\\Module\\Graphite\\Util\\MacroTemplate constructor expects string, mixed given\.$# in path /app/library/Graphite/Graphing/Templates.php is expected to occur 1 time, but occurred 4 times.
Static analysis for php 8.0 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L111
PHPDoc tag @var for variable $options contains generic class Icinga\Data\ConfigObject but does not specify its types: TValue
Static analysis for php 8.0 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L123
Parameter #2 $subject of function preg_split expects string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L164
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L194
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L244
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L50
Ignored error pattern #^Parameter \#1 \$template of class Icinga\\Module\\Graphite\\Util\\MacroTemplate constructor expects string, mixed given\.$# in path /app/library/Graphite/Graphing/Templates.php is expected to occur 1 time, but occurred 4 times.
Static analysis for php 8.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L111
PHPDoc tag @var for variable $options contains generic class Icinga\Data\ConfigObject but does not specify its types: TValue
Static analysis for php 8.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L123
Parameter #2 $subject of function preg_split expects string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L164
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L194
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L244
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L50
Ignored error pattern #^Parameter \#1 \$template of class Icinga\\Module\\Graphite\\Util\\MacroTemplate constructor expects string, mixed given\.$# in path /app/library/Graphite/Graphing/Templates.php is expected to occur 1 time, but occurred 4 times.
Static analysis for php 8.1 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L111
PHPDoc tag @var for variable $options contains generic class Icinga\Data\ConfigObject but does not specify its types: TValue
Static analysis for php 8.1 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L123
Parameter #2 $subject of function preg_split expects string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L164
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L194
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L244
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed 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/Graphite/Graphing/Templates.php#L50
Ignored error pattern #^Parameter \#1 \$template of class Icinga\\Module\\Graphite\\Util\\MacroTemplate constructor expects string, mixed given\.$# in path /app/library/Graphite/Graphing/Templates.php is expected to occur 1 time, but occurred 4 times.
Static analysis for php 7.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L111
PHPDoc tag @var for variable $options contains generic class Icinga\Data\ConfigObject but does not specify its types: TValue
Static analysis for php 7.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L123
Parameter #2 $subject of function preg_split expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L164
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L194
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Graphite/Graphing/Templates.php#L244
Parameter #1 $template of class Icinga\Module\Graphite\Util\MacroTemplate constructor expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
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 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 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.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.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/.