PluginOutput::render(): Return correctly cut off output #40
Annotations
62 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#L210
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_PATTERNS.
|
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L216
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_REPLACEMENTS.
|
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has no return type specified.
|
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has parameter $output with no type specified.
|
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L252
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 is expected to occur 3 times, but occurred only 2 times.
|
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest:
library/Icingadb/Widget/Detail/UserDetail.php#L70
Cannot access property $display_name on mixed.
|
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 #^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#L210
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_PATTERNS.
|
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L216
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_REPLACEMENTS.
|
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has no return type specified.
|
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has parameter $output with no type specified.
|
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L252
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 is expected to occur 3 times, but occurred only 2 times.
|
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest:
library/Icingadb/Widget/Detail/UserDetail.php#L70
Cannot access property $display_name on mixed.
|
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.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 #^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#L203
Property Icinga\Module\Icingadb\Util\PluginOutput::$renderedOutput (string) does not accept string|null.
|
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L205
Method Icinga\Module\Icingadb\Util\PluginOutput::render() should return string but returns string|null.
|
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L210
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_PATTERNS.
|
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L216
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_REPLACEMENTS.
|
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has no return type specified.
|
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has parameter $output with no type specified.
|
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L252
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 is expected to occur 3 times, but occurred only 2 times.
|
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 #^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#L203
Property Icinga\Module\Icingadb\Util\PluginOutput::$renderedOutput (string) does not accept string|null.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L205
Method Icinga\Module\Icingadb\Util\PluginOutput::render() should return string but returns string|null.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L210
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_PATTERNS.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L216
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_REPLACEMENTS.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has no return type specified.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has parameter $output with no type specified.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L252
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 is expected to occur 3 times, but occurred only 2 times.
|
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#L210
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_PATTERNS.
|
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L216
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_REPLACEMENTS.
|
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has no return type specified.
|
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has parameter $output with no type specified.
|
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L252
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 is expected to occur 3 times, but occurred only 2 times.
|
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest:
library/Icingadb/Widget/Detail/UserDetail.php#L70
Cannot access property $display_name on mixed.
|
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 #^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 #^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#L203
Property Icinga\Module\Icingadb\Util\PluginOutput::$renderedOutput (string) does not accept string|null.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L205
Method Icinga\Module\Icingadb\Util\PluginOutput::render() should return string but returns string|null.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L210
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_PATTERNS.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L216
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_REPLACEMENTS.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has no return type specified.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has parameter $output with no type specified.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L252
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 is expected to occur 3 times, but occurred only 2 times.
|
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#L210
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_PATTERNS.
|
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L216
Cannot redeclare constant Icinga\Module\Icingadb\Util\PluginOutput::HTML_REPLACEMENTS.
|
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has no return type specified.
|
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L220
Method Icinga\Module\Icingadb\Util\PluginOutput::test() has parameter $output with no type specified.
|
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest:
library/Icingadb/Util/PluginOutput.php#L252
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 is expected to occur 3 times, but occurred only 2 times.
|
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest:
library/Icingadb/Widget/Detail/UserDetail.php#L70
Cannot access property $display_name on mixed.
|
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest
Process completed with exit code 1.
|