mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Cleanup phpstan baseline and fix code sniffer issues
- Baseline: Nothing new added, only obsolete paths removed Phpstan now uses single instead of double quotes for messages. Thats why each message is updated.
This commit is contained in:
parent
95a6992bb0
commit
2b060a4f2a
3 changed files with 2820 additions and 2218 deletions
|
|
@ -226,7 +226,8 @@ abstract class BaseHostAndServiceRenderer implements ItemRenderer
|
|||
$title = $isService
|
||||
? sprintf(
|
||||
$this->translate('Service "%s" on "%s" is in flapping state'),
|
||||
$item->display_name, $item->host->display_name
|
||||
$item->display_name,
|
||||
$item->host->display_name
|
||||
)
|
||||
: sprintf(
|
||||
$this->translate('Host "%s" is in flapping state'),
|
||||
|
|
|
|||
|
|
@ -182,12 +182,12 @@ class ObjectList extends ItemList
|
|||
->setDetailUrl(Url::fromPath('icingadb/service'))
|
||||
->setMultiselectUrl(Links::servicesDetails())
|
||||
->addDetailFilterAttribute(
|
||||
$item,
|
||||
Filter::all(
|
||||
Filter::equal('name', $object->name),
|
||||
Filter::equal('host.name', $object->host->name)
|
||||
)
|
||||
);
|
||||
$item,
|
||||
Filter::all(
|
||||
Filter::equal('name', $object->name),
|
||||
Filter::equal('host.name', $object->host->name)
|
||||
)
|
||||
);
|
||||
|
||||
$this->addMultiSelectFilterAttribute(
|
||||
$item,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue