Merge branch 'master' into bugfix/test-fix-6542

This commit is contained in:
Eric Lippmann 2014-07-02 10:57:08 +02:00
commit 545a153490
110 changed files with 266 additions and 289 deletions

4
.gitignore vendored
View File

@ -10,7 +10,6 @@
!.gitkeep !.gitkeep
build/ build/
test/js/npm-debug.log
# ./configure output # ./configure output
config.log config.log
@ -20,10 +19,9 @@ config.status
Makefile Makefile
# cmd tester # cmd tester
test/php/bin/extcmd_test modules/test/bin/extcmd_test
# misc test output # misc test output
test/frontend/static/public
test/php/library/Icinga/Protocol/Statusdat/.cache test/php/library/Icinga/Protocol/Statusdat/.cache
# Generated API documentation # Generated API documentation

View File

@ -202,7 +202,7 @@ exec { 'iptables-allow-http':
exec { 'icinga-htpasswd': exec { 'icinga-htpasswd':
creates => '/usr/share/icinga/htpasswd.users', creates => '/usr/share/icinga/htpasswd.users',
command => 'mkdir /usr/share/icinga && htpasswd -b -c /usr/share/icinga/htpasswd.users icingaadmin icinga', command => 'mkdir -p /usr/share/icinga && htpasswd -b -c /usr/share/icinga/htpasswd.users icingaadmin icinga',
require => Class['apache'] require => Class['apache']
} }

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
namespace Icinga\Clicommands; namespace Icinga\Clicommands;
@ -118,4 +117,3 @@ class AutocompleteCommand extends Command
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
namespace Icinga\Clicommands; namespace Icinga\Clicommands;
@ -41,4 +40,3 @@ class HelpCommand extends Command
); );
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
namespace Icinga\Clicommands; namespace Icinga\Clicommands;
@ -212,4 +211,3 @@ class ModuleCommand extends Command
$this->fail("Not implemented yet"); $this->fail("Not implemented yet");
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
namespace Icinga\Clicommands; namespace Icinga\Clicommands;
@ -81,4 +80,3 @@ class WebCommand extends Command
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -159,4 +158,3 @@ class AuthenticationController extends ActionController
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -549,4 +548,3 @@ class ConfigController extends BaseConfigController
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -191,4 +190,3 @@ class DashboardController extends ActionController
return true; return true;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -78,4 +77,3 @@ class ErrorController extends ActionController
$this->view->request = $error->request; $this->view->request = $error->request;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -117,4 +116,3 @@ class FilterController extends ActionController
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -56,4 +55,3 @@ class IndexController extends ActionController
{ {
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
@ -107,5 +106,3 @@ class InstallController extends ActionController
$session->write(); $session->write();
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
@ -43,4 +42,3 @@ class LayoutController extends ActionController
$this->renderScript('parts/topbar.phtml'); $this->renderScript('parts/topbar.phtml');
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -79,4 +78,3 @@ class ListController extends Controller
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -83,4 +82,3 @@ class PreferenceController extends BasePreferenceController
$this->view->form = $form; $this->view->form = $form;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
use Icinga\Web\Controller\ActionController; use Icinga\Web\Controller\ActionController;
use Icinga\Application\Icinga; use Icinga\Application\Icinga;
@ -57,4 +56,3 @@ class SearchController extends ActionController
$this->view->tabs = $dashboard->getTabs(); $this->view->tabs = $dashboard->getTabs();
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -188,4 +187,3 @@ class StaticController extends ActionController
$lessCompiler->printStack(); $lessCompiler->printStack();
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -30,10 +30,10 @@
namespace Icinga\Form\Config\Authentication; namespace Icinga\Form\Config\Authentication;
use \Exception; use \Exception;
use \Icinga\Authentication\Backend\DbUserBackend;
use \Zend_Config; use \Zend_Config;
use Icinga\Data\ResourceFactory; use Icinga\Data\ResourceFactory;
use Icinga\Authentication\UserBackend; use Icinga\Authentication\DbConnection;
use Icinga\Authentication\Backend\DbUserBackend;
/** /**
* Form class for adding/modifying database authentication backends * Form class for adding/modifying database authentication backends
@ -148,7 +148,6 @@ class DbBackendForm extends BaseBackendForm
$this->addErrorMessage(sprintf(t('Using the specified backend failed: %s'), $e->getMessage())); $this->addErrorMessage(sprintf(t('Using the specified backend failed: %s'), $e->getMessage()));
return false; return false;
} }
return true; return true;
} }
} }

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -93,4 +92,3 @@ class ConfirmRemovalForm extends Form
); );
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -295,4 +294,3 @@ class GeneralForm extends Form
return $cfg; return $cfg;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -202,4 +201,3 @@ class LoggingForm extends Form
return new Zend_Config($cfg); return new Zend_Config($cfg);
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -165,4 +164,3 @@ class AddUrlForm extends Form
$this->setSubmitLabel("Add To Dashboard"); $this->setSubmitLabel("Add To Dashboard");
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
@ -64,4 +63,3 @@ class LoggingPage extends Page
return $this->createForm()->getConfig(); return $this->createForm()->getConfig();
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -175,4 +174,3 @@ class GeneralForm extends Form
); );
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -94,4 +93,3 @@ class Zend_View_Helper_FormDateTime extends Zend_View_Helper_FormElement
return $xhtml; return $xhtml;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -54,4 +53,3 @@ class Zend_View_Helper_FormNumber extends \Zend_View_Helper_FormText
. $this->getClosingBracket(); . $this->getClosingBracket();
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -63,4 +62,3 @@ class Zend_View_Helper_FormTriStateCheckbox extends Zend_View_Helper_FormElement
return $xhtml . '</div>'; return $xhtml . '</div>';
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,6 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -142,5 +140,3 @@ class Zend_View_Helper_Util extends Zend_View_Helper_Abstract
return sprintf('OUT OF BOUND (%d)' . $state, (int) $state); return sprintf('OUT OF BOUND (%d)' . $state, (int) $state);
} }
} }
// @codingStandardsIgnoreStop

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -495,4 +494,3 @@ abstract class ApplicationBootstrap
return $this; return $this;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -318,4 +317,3 @@ class Benchmark
{ {
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -191,4 +190,3 @@ class Cli extends ApplicationBootstrap
throw new ProgrammingError('Icinga is not running on CLI'); throw new ProgrammingError('Icinga is not running on CLI');
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -30,9 +29,7 @@
namespace Icinga\Application; namespace Icinga\Application;
// @codingStandardsIgnoreStart
require_once dirname(__FILE__) . '/ApplicationBootstrap.php'; require_once dirname(__FILE__) . '/ApplicationBootstrap.php';
// @codingStandardsIgnoreStop
use Icinga\Exception\ProgrammingError; use Icinga\Exception\ProgrammingError;
@ -62,4 +59,3 @@ class EmbeddedWeb extends ApplicationBootstrap
->loadEnabledModules(); ->loadEnabledModules();
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -56,4 +55,3 @@ class LegacyWeb extends Web
return $this->legacyBasedir; return $this->legacyBasedir;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -93,4 +92,3 @@ class Platform
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -376,4 +375,3 @@ class Web extends ApplicationBootstrap
return $this; return $this;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.

View File

@ -177,29 +177,42 @@ class PreservingIniWriter extends Zend_Config_Writer_FileAbstract
// Iterate over all properties in the old configuration file and search for deleted properties // Iterate over all properties in the old configuration file and search for deleted properties
foreach ($oldconfig as $key => $value) { foreach ($oldconfig as $key => $value) {
if ($newconfig->get($key) === null) {
$nextParents = array_merge($parents, array($key)); $nextParents = array_merge($parents, array($key));
$newvalue = $newconfig->get($key);
$keyIdentifier = empty($parents) ? array($key) : array_slice($nextParents, 1, null, true); $keyIdentifier = empty($parents) ? array($key) : array_slice($nextParents, 1, null, true);
foreach ($this->getPropertyIdentifiers($value, $keyIdentifier) as $propertyIdentifier) {
$editor->reset($propertyIdentifier, $section);
}
}
}
}
/**
* Return all possible combinations of property identifiers for the given value
*
* @param mixed $value The value to return all combinations for
* @param array $key The root property identifier, if any
*
* @return array All property combinations that are possible
*
* @todo Cannot handle array properties yet (e.g. a.b[]='c')
*/
protected function getPropertyIdentifiers($value, array $key = null)
{
$combinations = array();
$rootProperty = $key !== null ? $key : array();
if ($newvalue === null) {
if ($value instanceof Zend_Config) { if ($value instanceof Zend_Config) {
// The deleted value is a nested Zend_Config, handle it recursively foreach ($value as $subProperty => $subValue) {
$this->diffConfigs($value, new Zend_Config(array()), $editor, $nextParents); $combinations = array_merge(
if ($section === null) { $combinations,
$editor->removeSection($key); $this->getPropertyIdentifiers($subValue, array_merge($rootProperty, array($subProperty)))
} );
} else {
// The deleted value is a plain value, use the editor to delete it
if (is_numeric($key)) {
$editor->resetArrayElement($keyIdentifier, $section);
} elseif (!empty($parents)) {
// Drop nested properties, fixes #5958
$editor->resetArrayElement($nextParents, $section);
} else {
$editor->reset($keyIdentifier, $section);
}
}
}
} }
} elseif (is_string($value)) {
$combinations[] = $rootProperty;
}
return $combinations;
} }
} }

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
@ -107,4 +106,3 @@ class SyslogWriter extends LogWriter
closelog(); closelog();
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
namespace Icinga\User; namespace Icinga\User;
@ -56,4 +55,3 @@ class Message
return $this->level; return $this->level;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -477,4 +476,3 @@ class ActionController extends Zend_Controller_Action
return parent::__call($name, $params); return parent::__call($name, $params);
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -85,4 +84,3 @@ class BaseConfigController extends ActionController
return array(); return array();
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -92,4 +91,3 @@ class BasePreferenceController extends ActionController
$store->save($currentPreferences); $store->save($currentPreferences);
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -123,4 +122,3 @@ class ControllerTabCollector
return array(); return array();
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -104,4 +103,3 @@ class BootstrapForm extends Zend_Form_Decorator_Abstract
. '</div>'; . '</div>';
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -60,4 +59,3 @@ class ConditionalHidden extends Zend_Form_Decorator_Abstract
return $content; return $content;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -61,4 +60,3 @@ class HelpText extends Zend_Form_Decorator_Abstract
return $content; return $content;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -61,11 +61,9 @@ class DateFormatValidator extends Zend_Validate_Abstract
* *
* @see Zend_Validate_Abstract::$_messageTemplates * @see Zend_Validate_Abstract::$_messageTemplates
*/ */
// @codingStandardsIgnoreStart
protected $_messageTemplates = array( protected $_messageTemplates = array(
'INVALID_CHARACTERS' => 'Invalid date format' 'INVALID_CHARACTERS' => 'Invalid date format'
); );
// @codingStandardsIgnoreEnd
/** /**
* Validate the input value * Validate the input value

View File

@ -60,9 +60,7 @@ class DateTimeValidator extends Zend_Validate_Abstract
* *
* @see Zend_Validate_Abstract::$_messageTemplates * @see Zend_Validate_Abstract::$_messageTemplates
*/ */
// @codingStandardsIgnoreStart
protected $_messageTemplates = array(); protected $_messageTemplates = array();
// @codingStandardsIgnoreEnd
/** /**
* Create this validator * Create this validator

View File

@ -58,11 +58,9 @@ class TimeFormatValidator extends Zend_Validate_Abstract
* @var array * @var array
* @see Zend_Validate_Abstract::$_messageTemplates * @see Zend_Validate_Abstract::$_messageTemplates
*/ */
// @codingStandardsIgnoreStart
protected $_messageTemplates = array( protected $_messageTemplates = array(
'INVALID_CHARACTERS' => 'Invalid time format' 'INVALID_CHARACTERS' => 'Invalid time format'
); );
// @codingStandardsIgnoreEnd
/** /**
* Validate the input value * Validate the input value

View File

@ -44,12 +44,10 @@ class WritablePathValidator extends Zend_Validate_Abstract
* *
* @see Zend_Validate_Abstract::$_messageTemplates * @see Zend_Validate_Abstract::$_messageTemplates
*/ */
// @codingStandardsIgnoreStart
protected $_messageTemplates = array( protected $_messageTemplates = array(
'NOT_WRITABLE' => 'Path is not writable', 'NOT_WRITABLE' => 'Path is not writable',
'DOES_NOT_EXIST' => 'Path does not exist' 'DOES_NOT_EXIST' => 'Path does not exist'
); );
// @codingStandardsIgnoreEnd
/** /**
* When true, the file or directory must exist * When true, the file or directory must exist

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -113,4 +112,3 @@ class Grapher
throw new Exception('This backend has no images'); throw new Exception('This backend has no images');
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
/** /**
* Icinga Web Ticket Hook * Icinga Web Ticket Hook
@ -43,4 +42,3 @@ abstract class Ticket
abstract public function createLink($match); abstract public function createLink($match);
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
namespace Icinga\Web; namespace Icinga\Web;
@ -94,4 +93,3 @@ class JavaScript
echo $out; echo $out;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -195,4 +194,3 @@ class LessCompiler
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,6 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -105,5 +103,3 @@ class Icinga_Web_Paginator_ScrollingStyle_SlidingWithBorder implements Zend_Pagi
return $range; return $range;
} }
} }
// @codingStandardsIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -65,4 +64,3 @@ class Request extends Zend_Controller_Request_Http
return $this->user; return $this->user;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -79,4 +78,3 @@ class Session
return self::$session; return self::$session;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
namespace Icinga\Web; namespace Icinga\Web;
@ -69,4 +68,3 @@ class StyleSheet
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -172,7 +171,6 @@ class View extends Zend_View_Abstract
} }
} }
// @codingStandardsIgnoreStart
/** /**
* Use to include the view script in a scope that only allows public * Use to include the view script in a scope that only allows public
* members. * members.
@ -193,7 +191,6 @@ class View extends Zend_View_Abstract
include func_get_arg(0); include func_get_arg(0);
} }
} }
// @codingStandardsIgnoreEnd
/** /**
* Accesses a helper object from within a script * Accesses a helper object from within a script
@ -212,4 +209,3 @@ class View extends Zend_View_Abstract
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -11,7 +11,7 @@ $this->addHelperFunction('format', function () {
$this->addHelperFunction('timeSince', function ($timestamp) { $this->addHelperFunction('timeSince', function ($timestamp) {
return sprintf( return sprintf(
'<span class="timeuntil" title="%s">%s</span>', '<span class="timesince" title="%s">%s</span>',
date('Y-m-d H:i:s', $timestamp), // TODO: internationalized format date('Y-m-d H:i:s', $timestamp), // TODO: internationalized format
Format::timeSince($timestamp) Format::timeSince($timestamp)
); );
@ -19,7 +19,7 @@ $this->addHelperFunction('timeSince', function ($timestamp) {
$this->addHelperFunction('prefixedTimeSince', function ($timestamp, $ucfirst = false) { $this->addHelperFunction('prefixedTimeSince', function ($timestamp, $ucfirst = false) {
return sprintf( return sprintf(
'<span class="timeuntil" title="%s">%s</span>', '<span class="timesince" title="%s">%s</span>',
date('Y-m-d H:i:s', $timestamp), // TODO: internationalized format date('Y-m-d H:i:s', $timestamp), // TODO: internationalized format
Format::prefixedTimeSince($timestamp, $ucfirst) Format::prefixedTimeSince($timestamp, $ucfirst)
); );

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
/** /**
* Web widget class * Web widget class
@ -51,4 +50,3 @@ class Widget
return $widget; return $widget;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
namespace Icinga\Web\Widget; namespace Icinga\Web\Widget;
@ -122,4 +121,3 @@ abstract class AbstractWidget
return (string) $html; return (string) $html;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
namespace Icinga\Web\Widget; namespace Icinga\Web\Widget;
@ -129,4 +128,3 @@ class AlertMessageBox extends AbstractWidget
return $html; return $html;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -344,4 +343,3 @@ class HistoryColorGrid extends AbstractWidget {
return $this->renderVertical($grid); return $this->renderVertical($grid);
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -426,4 +425,3 @@ EOD;
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -164,4 +163,3 @@ class SortBox extends AbstractWidget
return $form; return $form;
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -59,4 +58,3 @@ class BasketAction implements Tabextension
); );
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -60,4 +59,3 @@ class DashboardAction implements Tabextension
); );
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -125,4 +124,3 @@ class OutputFormat implements Tabextension
} }
} }
} }
// @codeCoverageIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
@ -34,4 +33,3 @@ class Doc_IndexController extends DocController
$this->populateView(); $this->populateView();
} }
} }
// @codingStandardsIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
@ -44,4 +43,3 @@ class Doc_ModuleController extends DocController
$this->_helper->redirector->gotoSimpleAndExit('view', null, null, array('name' => $moduleName)); $this->_helper->redirector->gotoSimpleAndExit('view', null, null, array('name' => $moduleName));
} }
} }
// @codingStandardsIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -1118,4 +1117,3 @@ class Monitoring_CommandController extends Controller
} }
} }
} }
// @codingStandardsIgnoreStop

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -285,4 +284,3 @@ class Monitoring_ConfigController extends ModuleActionController
return $instanceCfg && $instanceCfg->get($instance); return $instanceCfg && $instanceCfg->get($instance);
} }
} }
// @codingStandardsIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -103,5 +102,3 @@ class Monitoring_ProcessController extends MonitoringController
->getQuery()->fetchAll(); ->getQuery()->fetchAll();
} }
} }
// @codingStandardsIgnoreStop

View File

@ -27,7 +27,6 @@
*/ */
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
// @codingStandardsIgnoreStart
use Icinga\Application\Benchmark; use Icinga\Application\Benchmark;
use Icinga\Web\Hook; use Icinga\Web\Hook;
use Icinga\Web\Widget\Tabs; use Icinga\Web\Widget\Tabs;
@ -190,4 +189,3 @@ class Monitoring_ShowController extends Controller
->extend(new DashboardAction()); ->extend(new DashboardAction());
} }
} }
// @codingStandardsIgnoreEnd

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -75,4 +74,3 @@ class Zend_View_Helper_CheckPerformance extends Zend_View_Helper_Abstract
return $out; return $out;
} }
} }
// @codingStandardsIgnoreStop

View File

@ -1,6 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -204,5 +202,3 @@ class Zend_View_Helper_CommandForm extends Zend_View_Helper_Abstract
return $out; return $out;
} }
} }
// @codingStandardsIgnoreStop

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -308,4 +307,3 @@ class Zend_View_Helper_MonitoringProperties extends Zend_View_Helper_Abstract
return $type; return $type;
} }
} }
// @codingStandardsIgnoreStop

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -63,4 +62,3 @@ class Zend_View_Helper_RuntimeVariables extends Zend_View_Helper_Abstract
return $out; return $out;
} }
} }
// @codingStandardsIgnoreStop

View File

@ -13,6 +13,10 @@
$cf = $this->getHelper('CommandForm'); $cf = $this->getHelper('CommandForm');
if (count($comments) === 0) {
echo t('No comments matching the filter');
}
foreach ($comments as $comment): foreach ($comments as $comment):
?> ?>

View File

@ -5,6 +5,13 @@
<?php endif ?> <?php endif ?>
<div class="content"> <div class="content">
<div class="boxview" data-base-target="_next"> <div class="boxview" data-base-target="_next">
<?php
if (count($groupData) === 0) {
echo t('No contacts matching the filter');
}
?>
<?php foreach ($groupData as $groupName => $groupInfo): ?> <?php foreach ($groupData as $groupName => $groupInfo): ?>
<div class="box contactgroup"> <div class="box contactgroup">
<h2><?= $groupInfo['alias']; ?></h2> <h2><?= $groupInfo['alias']; ?></h2>

View File

@ -27,6 +27,11 @@ $contactHelper = $this->getHelper('ContactFlags');
<table class="table table-condensed pull-left"> <table class="table table-condensed pull-left">
<tbody> <tbody>
<?php
if (count($contacts) === 0) {
echo t('No contacts matching the filter');
}
?>
<?php foreach($contacts as $contact): ?> <?php foreach($contacts as $contact): ?>
<?php $periodLink = $this->href('monitoring/show/contacts', array('contact' => $contact->contact_name)); ?> <?php $periodLink = $this->href('monitoring/show/contacts', array('contact' => $contact->contact_name)); ?>
<tr> <tr>

View File

@ -12,6 +12,11 @@ $helper = $this->getHelper('CommandForm');
<div class="content downtimes"> <div class="content downtimes">
<table data-base-target="_next" class="action"> <table data-base-target="_next" class="action">
<tbody> <tbody>
<?php
if (count($downtimes) === 0) {
echo t('No downtimes matching the filter');
}
?>
<?php foreach ($this->downtimes as $downtime): ?> <?php foreach ($this->downtimes as $downtime): ?>
<tr> <tr>
<td> <td>

View File

@ -14,6 +14,11 @@
<table data-base-target="_next" class="action"> <table data-base-target="_next" class="action">
<tbody> <tbody>
<?php
if (count($history) === 0) {
echo t('No history events matching the filter');
}
?>
<?php foreach ($history as $event): ?> <?php foreach ($history as $event): ?>
<?php <?php
$class = null; $class = null;

View File

@ -5,6 +5,12 @@
<?php endif ?> <?php endif ?>
<div class="content"> <div class="content">
<div class="boxview" data-base-target="_next"> <div class="boxview" data-base-target="_next">
<?php
if (count($hostgroups) === 0) {
echo t('No host groups matching the filter');
}
?>
<?php foreach($hostgroups as $h): ?> <?php foreach($hostgroups as $h): ?>
<div class="box hostgroup"> <div class="box hostgroup">
<h2> <h2>

View File

@ -20,14 +20,13 @@ if (! $this->compact): ?>
<?php <?php
endif; endif;
if ($hosts->count() === 0): ?> if ($hosts->count() === 0) {
<?= $this->translate('No host found') ?> echo t('No hosts matching the filter');
<?php if (! $this->compact): ?> if (! $this->compact) {
</div> echo '</div>';
<?php }
endif;
return; return;
endif; }
?> ?>
<table <table

View File

@ -22,6 +22,9 @@ if (empty($this->notifications)) {
<tbody> <tbody>
<?php <?php
if (count($notifications) === 0) {
echo t('No notifications matching the filter');
}
foreach ($notifications as $notification): foreach ($notifications as $notification):
if (isset($notification->service)) { if (isset($notification->service)) {

View File

@ -5,6 +5,12 @@
<?php endif ?> <?php endif ?>
<div class="content"> <div class="content">
<div class="boxview" data-base-target="_next"> <div class="boxview" data-base-target="_next">
<?php
if (count($servicegroups) === 0) {
echo t('No service groups matching the filter');
}
?>
<?php foreach($servicegroups as $servicegroup): ?> <?php foreach($servicegroups as $servicegroup): ?>
<div class="box servicegroup"> <div class="box servicegroup">
<h2> <h2>

View File

@ -23,7 +23,7 @@ $hostFilter = '(' . implode('|', array_keys($pivotData)) . ')';
?> ?>
<?php if (count($pivotData) === 0): ?> <?php if (count($pivotData) === 0): ?>
<?= $this->translate('No Service Found'); ?> <?= $this->translate('No Services matching the filter'); ?>
<?php endif ?> <?php endif ?>
<?php foreach ($pivotData as $host_name => $serviceStates): ?> <?php foreach ($pivotData as $host_name => $serviceStates): ?>

View File

@ -29,6 +29,9 @@ if (!$this->compact): ?>
<tbody> <tbody>
<?php <?php
if (count($services) === 0) {
echo t('No services matching the filter');
}
foreach ($services as $service): foreach ($services as $service):
$serviceLink = $this->href( $serviceLink = $this->href(
'monitoring/show/service', 'monitoring/show/service',

View File

@ -7,6 +7,10 @@
$grid->setColor('#FC0707'); $grid->setColor('#FC0707');
$data = array(); $data = array();
if (count($summary) === 0) {
echo t('No history entry matching the filter');
}
foreach ($summary as $entry) { foreach ($summary as $entry) {
$day = $entry->day; $day = $entry->day;
$value = $entry->cnt_critical; $value = $entry->cnt_critical;

View File

@ -9,8 +9,10 @@ $this->target = array('host' => $this->hostquery);
</div> </div>
<div class="content"> <div class="content">
<?php if (count($objects) === 0): ?>
<?= t('No hosts matching the filter'); ?>
<?php else: ?>
<h1> Summary for <?= count($objects) ?> hosts </h1> <h1> Summary for <?= count($objects) ?> hosts </h1>
<?= $this->render('multi/components/objectlist.phtml'); ?> <?= $this->render('multi/components/objectlist.phtml'); ?>
<table class="avp"> <table class="avp">
<tr> <tr>
@ -47,6 +49,7 @@ $this->target = array('host' => $this->hostquery);
</table> </table>
<?= $this->render('multi/components/flags.phtml') ?> <?= $this->render('multi/components/flags.phtml') ?>
<?php endif ?>
</div> </div>
<a <a

View File

@ -13,6 +13,9 @@ $this->target = array(
</div> </div>
<div class="content"> <div class="content">
<?php if (count($objects) === 0): ?>
<?= t('No services matching the filter'); ?>
<?php else: ?>
<h1> Summary for <?= count($objects) ?> services </h1> <h1> Summary for <?= count($objects) ?> services </h1>
<table style="width: 100%; font-size: 0.8em;"> <table style="width: 100%; font-size: 0.8em;">
@ -54,4 +57,5 @@ $this->target = array(
</table> </table>
<?= $this->render('multi/components/flags.phtml') ?> <?= $this->render('multi/components/flags.phtml') ?>
<?php endif ?>
</div> </div>

View File

@ -1,3 +1,4 @@
<?php if ($object->host_name !== false): ?>
<div class="controls"> <div class="controls">
<?= $this->render('show/components/header.phtml') ?> <?= $this->render('show/components/header.phtml') ?>
<h1><?= $this->translate("This host's current state") ?></h1> <h1><?= $this->translate("This host's current state") ?></h1>
@ -25,3 +26,6 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<?php else: ?>
<p> Host not found </p>
<?php endif ?>

View File

@ -1,3 +1,4 @@
<?php if ($object->host_name !== false): ?>
<div class="controls"> <div class="controls">
<?= $this->render('show/components/header.phtml') ?> <?= $this->render('show/components/header.phtml') ?>
<h1><?= $this->translate("This service's current state") ?></h1> <h1><?= $this->translate("This service's current state") ?></h1>
@ -25,3 +26,6 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<?php else: ?>
<p> Service not found </p>
<?php endif ?>

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -103,5 +102,3 @@ class GroupSummaryQuery extends IdoQuery
); );
} }
} }
// @codingStandardsIgnoreStop

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -538,4 +537,3 @@ class StatusQuery extends IdoQuery
); );
} }
} }
// @codingStandardsIgnoreStop

View File

@ -1,5 +1,4 @@
<?php <?php
// @codingStandardsIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}} // {{{ICINGA_LICENSE_HEADER}}}
/** /**
* This file is part of Icinga Web 2. * This file is part of Icinga Web 2.
@ -186,4 +185,3 @@ class StatusSummaryQuery extends IdoQuery
); );
} }
} }
// @codingStandardsIgnoreStop

Some files were not shown because too many files have changed in this diff Show More