Skip to content

PluginOutput::render(): Return correctly cut off output #42

PluginOutput::render(): Return correctly cut off output

PluginOutput::render(): Return correctly cut off output #42

Triggered via pull request July 23, 2024 13:30
Status Success
Total duration 2m 36s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

70 errors
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method insertBefore\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method removeChild\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$html of method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:processHtml\(\) expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strlen expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|false given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L183
Parameter #3 $subject of function preg_replace expects array|string, string|null given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method insertBefore\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method removeChild\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$html of method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:processHtml\(\) expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strlen expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|false given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L183
Parameter #3 $subject of function preg_replace expects array|string, string|null given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method insertBefore\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method removeChild\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:render\(\) should return string but returns string\|false\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$html of method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:processHtml\(\) expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strlen expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|false given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Property Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:\$renderedOutput \(string\) does not accept string\|false\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L183
Parameter #3 $subject of function preg_replace expects array|string, string|null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method insertBefore\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method removeChild\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:render\(\) should return string but returns string\|false\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$html of method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:processHtml\(\) expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strlen expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|false given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Property Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:\$renderedOutput \(string\) does not accept string\|false\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L183
Parameter #3 $subject of function preg_replace expects array|string, string|null given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method insertBefore\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method removeChild\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$html of method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:processHtml\(\) expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strlen expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|false given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L183
Parameter #3 $subject of function preg_replace expects array|string, string|null given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method insertBefore\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method removeChild\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$html of method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:processHtml\(\) expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strlen expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|false given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L183
Parameter #3 $subject of function preg_replace expects array|string, string|null given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest
Process completed with exit code 1.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method insertBefore\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Cannot call method removeChild\(\) on DOMNode\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:render\(\) should return string but returns string\|false\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$html of method Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:processHtml\(\) expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strlen expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|false given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L1
Ignored error pattern #^Property Icinga\\Module\\Icingadb\\Util\\PluginOutput\:\:\$renderedOutput \(string\) does not accept string\|false\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Util/PluginOutput.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Util/PluginOutput.php#L183
Parameter #3 $subject of function preg_replace expects array|string, string|null given.