Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
339 changes: 0 additions & 339 deletions LICENSE

This file was deleted.

674 changes: 674 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion application/controllers/HostsController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2019 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2019 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Controllers;

Expand Down
3 changes: 2 additions & 1 deletion application/controllers/IdoHostsController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Cube Module | (c) 2022 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Controllers;

Expand Down
3 changes: 2 additions & 1 deletion application/controllers/IdoServicesController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Cube Module | (c) 2022 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Controllers;

Expand Down
3 changes: 2 additions & 1 deletion application/controllers/IndexController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Controllers;

Expand All @@ -10,6 +11,6 @@
{
public function indexAction()
{
$this->redirectNow('cube/hosts' . ($this->params->toString() === '' ? '' : '?' . $this->params->toString()));

Check failure on line 14 in application/controllers/IndexController.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Binary operation "." between '?' and mixed results in an error.

Check failure on line 14 in application/controllers/IndexController.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Binary operation "." between '?' and mixed results in an error.

Check failure on line 14 in application/controllers/IndexController.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Binary operation "." between '?' and mixed results in an error.

Check failure on line 14 in application/controllers/IndexController.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Binary operation "." between '?' and mixed results in an error.
}
}
3 changes: 2 additions & 1 deletion application/controllers/ServicesController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2019 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2019 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Controllers;

Expand Down
3 changes: 2 additions & 1 deletion application/forms/DimensionsForm.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Forms;

Expand Down Expand Up @@ -73,24 +74,24 @@
public function assemble()
{
$dimensions = $this->cube->listDimensions();
$cnt = count($dimensions);

Check failure on line 77 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Parameter #1 $value of function count expects array|Countable, mixed given.

Check failure on line 77 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Parameter #1 $value of function count expects array|Countable, mixed given.

Check failure on line 77 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Parameter #1 $value of function count expects array|Countable, mixed given.

Check failure on line 77 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Parameter #1 $value of function count expects array|Countable, mixed given.

if ($cnt < 3) {
$allDimensions = $this->cube->listAdditionalDimensions();

$this->addElement('select', 'addDimension', [
'options' => ['' => $this->translate('+ Add a dimension')] + $allDimensions,

Check failure on line 83 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Binary operation "+" between array{'': string} and mixed results in an error.

Check failure on line 83 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Binary operation "+" between array{'': string} and mixed results in an error.

Check failure on line 83 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Binary operation "+" between array{'': string} and mixed results in an error.

Check failure on line 83 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Binary operation "+" between array{'': string} and mixed results in an error.
'class' => 'autosubmit'
]);
}

$pos = 0;
foreach ($dimensions as $dimension) {

Check failure on line 89 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Argument of an invalid type mixed supplied for foreach, only iterables are supported.

Check failure on line 89 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Argument of an invalid type mixed supplied for foreach, only iterables are supported.

Check failure on line 89 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Argument of an invalid type mixed supplied for foreach, only iterables are supported.

Check failure on line 89 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Argument of an invalid type mixed supplied for foreach, only iterables are supported.
$this->addDimensionButtons($dimension, $pos++, $cnt);

Check failure on line 90 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Parameter #1 $dimension of method Icinga\Module\Cube\Forms\DimensionsForm::addDimensionButtons() expects Icinga\Module\Cube\Dimension, mixed given.

Check failure on line 90 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Parameter #1 $dimension of method Icinga\Module\Cube\Forms\DimensionsForm::addDimensionButtons() expects Icinga\Module\Cube\Dimension, mixed given.

Check failure on line 90 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Parameter #1 $dimension of method Icinga\Module\Cube\Forms\DimensionsForm::addDimensionButtons() expects Icinga\Module\Cube\Dimension, mixed given.

Check failure on line 90 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Parameter #1 $dimension of method Icinga\Module\Cube\Forms\DimensionsForm::addDimensionButtons() expects Icinga\Module\Cube\Dimension, mixed given.
}

foreach ($this->cube->getSlices() as $key => $value) {

Check failure on line 93 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Argument of an invalid type mixed supplied for foreach, only iterables are supported.

Check failure on line 93 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Argument of an invalid type mixed supplied for foreach, only iterables are supported.

Check failure on line 93 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Argument of an invalid type mixed supplied for foreach, only iterables are supported.

Check failure on line 93 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Argument of an invalid type mixed supplied for foreach, only iterables are supported.
$this->addSlice($this->cube->getDimension($key), $value);

Check failure on line 94 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Parameter #1 $dimension of method Icinga\Module\Cube\Forms\DimensionsForm::addSlice() expects Icinga\Module\Cube\Dimension, mixed given.

Check failure on line 94 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Parameter #1 $dimension of method Icinga\Module\Cube\Forms\DimensionsForm::addSlice() expects Icinga\Module\Cube\Dimension, mixed given.

Check failure on line 94 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Parameter #1 $dimension of method Icinga\Module\Cube\Forms\DimensionsForm::addSlice() expects Icinga\Module\Cube\Dimension, mixed given.

Check failure on line 94 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Parameter #1 $dimension of method Icinga\Module\Cube\Forms\DimensionsForm::addSlice() expects Icinga\Module\Cube\Dimension, mixed given.
}

$this->addElement($this->createUidElement());
Expand All @@ -113,7 +114,7 @@
$sliceFieldset->addHtml(Html::tag(
'span',
['class' => 'dimension-name'],
sprintf('%s: %s = %s', $this->translate('Slice/Filter'), $dimension->getLabel(), $value)

Check failure on line 117 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Parameter #4 ...$values of function sprintf expects bool|float|int|string|null, mixed given.

Check failure on line 117 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Parameter #4 ...$values of function sprintf expects bool|float|int|string|null, mixed given.

Check failure on line 117 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Parameter #4 ...$values of function sprintf expects bool|float|int|string|null, mixed given.

Check failure on line 117 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Parameter #4 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
));

$this->addHtml($sliceFieldset);
Expand Down Expand Up @@ -145,7 +146,7 @@
$dimensionFieldset->addHtml($btn);
}

if ($pos + 1 !== $total) {

Check failure on line 149 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Binary operation "+" between mixed and 1 results in an error.

Check failure on line 149 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Binary operation "+" between mixed and 1 results in an error.

Check failure on line 149 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Binary operation "+" between mixed and 1 results in an error.

Check failure on line 149 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Binary operation "+" between mixed and 1 results in an error.
$btn = $this->createElement('submitButton', 'moveDimensionDown_' . $dimensionId, [
'label' => new Icon('angle-double-down'),
'title' => sprintf($this->translate('Move dimension "%s" down'), $dimension->getLabel()),
Expand All @@ -166,7 +167,7 @@
$url = $this->getUrl();

if ($dimension = $this->getValue('addDimension')) {
$url->setParam('dimensions', DimensionParams::fromUrl($url)->add($dimension)->getParams());

Check failure on line 170 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Cannot call method add() on mixed.

Check failure on line 170 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Cannot call method add() on mixed.

Check failure on line 170 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Cannot call method add() on mixed.

Check failure on line 170 in application/forms/DimensionsForm.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Cannot call method add() on mixed.
Notification::success($this->translate('New dimension has been added'));
} else {
$updateDimensions = false;
Expand Down
3 changes: 2 additions & 1 deletion configuration.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

$this->menuSection(N_('Reporting'), ['icon' => 'fa-chart-simple', 'priority' => 100])
->add($this->translate('Cube'))->setUrl('cube/hosts')->setPriority(10);
3 changes: 2 additions & 1 deletion library/Cube/Cube.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/CubeRenderer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/CubeRenderer/HostStatusCubeRenderer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\CubeRenderer;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/CubeRenderer/ServiceStatusCubeRenderer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2019 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2019 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\CubeRenderer;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Dimension.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/DimensionParams.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2020 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2020 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Hook/ActionsHook.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Hook;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Hook/IcingaDbActionsHook.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Hook;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/IcingaDb/CustomVariableDimension.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2022 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\IcingaDb;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/IcingaDb/IcingaDbCube.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2022 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\IcingaDb;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/IcingaDb/IcingaDbHostStatusCube.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2022 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\IcingaDb;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/IcingaDb/IcingaDbServiceStatusCube.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2022 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\IcingaDb;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Ido/CustomVarDimension.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Ido;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Ido/DataView/Hoststatus.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2021 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2021 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Ido\DataView;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Ido/DbCube.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Ido;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Ido/IdoCube.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Ido;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Ido/IdoHostStatusCube.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Ido;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Ido/IdoServiceStatusCube.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2019 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Ido;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Ido/Query/HoststatusQuery.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2021 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2021 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Ido\Query;

Expand Down
3 changes: 3 additions & 0 deletions library/Cube/Ido/ZfSelectWrapper.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php

// SPDX-FileCopyrightText: 2019 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Ido;

/**
Expand Down
3 changes: 3 additions & 0 deletions library/Cube/ProvidedHook/Cube/IcingaDbActions.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php

// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\ProvidedHook\Cube;

use Icinga\Module\Cube\Hook\IcingaDbActionsHook;
Expand Down
3 changes: 2 additions & 1 deletion library/Cube/ProvidedHook/Cube/MonitoringActions.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\ProvidedHook\Cube;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/ProvidedHook/Icingadb/IcingadbSupport.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2022 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\ProvidedHook\Icingadb;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Web/ActionLink.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Web;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Web/ActionLinks.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Web;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Web/Controller.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Web;

Expand Down
3 changes: 2 additions & 1 deletion library/Cube/Web/IdoController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2019 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2019 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Icinga\Module\Cube\Web;

Expand Down
3 changes: 3 additions & 0 deletions phpstan-baseline-by-php-version.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php

// SPDX-FileCopyrightText: 2024 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

$includes = [];
if (PHP_VERSION_ID < 80000) {
$includes[] = __DIR__ . '/phpstan-baseline-7x.neon';
Expand Down
3 changes: 2 additions & 1 deletion public/css/module.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

.controls > a {
color: @icinga-blue;
Expand Down
3 changes: 2 additions & 1 deletion run.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later

use Icinga\Module\Cube\Cube;

Expand Down
Loading