Macros: Log the object where a macro is not found #2665
Annotations
8 errors and 1 warning
PHPStan:
library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L105
Access to an undefined property Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model::$name.
|
PHPStan:
library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L107
Access to protected property Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model::$host.
|
PHPStan:
library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Web/Navigation/Action)#L107
Cannot access property $name on mixed.
|
PHPStan:
library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L105
Access to an undefined property Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model::$name.
|
PHPStan:
library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L107
Access to protected property Icinga\Module\Icingadb\Compat\CompatHost|Icinga\Module\Icingadb\Compat\CompatService|ipl\Orm\Model::$host.
|
PHPStan:
library/Icingadb/Common/Macros.php (in context of class Icinga/Module/Icingadb/Widget/Detail/ObjectDetail)#L107
Ignored error pattern #^Cannot access property \$name on mixed\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Widget/Detail/ObjectDetail.php is expected to occur 2 times, but occurred 3 times.
|
PHPStan:
library/Icingadb/Widget/Detail/ObjectDetail.php#L580
Cannot access property $name on mixed.
|
PHPStan
Process completed with exit code 1.
|
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/.
|
Loading