mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
parent
f2e5d8afa5
commit
7eb0f3c472
@ -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
|
|
||||||
|
@ -29,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;
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
|
||||||
|
@ -171,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.
|
||||||
@ -192,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
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
|
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
@ -7,9 +7,7 @@ namespace Tests\Icinga\Module\Monitoring\Application\Views\Helpers;
|
|||||||
use \Zend_View_Helper_MonitoringFlags;
|
use \Zend_View_Helper_MonitoringFlags;
|
||||||
use Icinga\Test\BaseTestCase;
|
use Icinga\Test\BaseTestCase;
|
||||||
|
|
||||||
// @codingStandardsIgnoreStart
|
|
||||||
require_once realpath(BaseTestCase::$moduleDir . '/monitoring/application/views/helpers/MonitoringFlags.php');
|
require_once realpath(BaseTestCase::$moduleDir . '/monitoring/application/views/helpers/MonitoringFlags.php');
|
||||||
// @codingStandardsIgnoreEnd
|
|
||||||
|
|
||||||
class MonitoringFlagsTest extends BaseTestCase
|
class MonitoringFlagsTest extends BaseTestCase
|
||||||
{
|
{
|
||||||
|
@ -7,9 +7,7 @@ namespace Test\Modules\Monitoring\Application\Views\Helpers;
|
|||||||
use \Zend_View_Helper_MonitoringProperties;
|
use \Zend_View_Helper_MonitoringProperties;
|
||||||
use Icinga\Test\BaseTestCase;
|
use Icinga\Test\BaseTestCase;
|
||||||
|
|
||||||
// @codingStandardsIgnoreStart
|
|
||||||
require_once realpath(BaseTestCase::$moduleDir . '/monitoring/application/views/helpers/MonitoringProperties.php');
|
require_once realpath(BaseTestCase::$moduleDir . '/monitoring/application/views/helpers/MonitoringProperties.php');
|
||||||
// @codingStandardsIgnoreEnd
|
|
||||||
|
|
||||||
class HostStruct4Properties
|
class HostStruct4Properties
|
||||||
{
|
{
|
||||||
|
@ -8,9 +8,7 @@ use \Mockery;
|
|||||||
use \Zend_View_Helper_ResolveMacros;
|
use \Zend_View_Helper_ResolveMacros;
|
||||||
use Icinga\Test\BaseTestCase;
|
use Icinga\Test\BaseTestCase;
|
||||||
|
|
||||||
// @codingStandardsIgnoreStart
|
|
||||||
require_once realpath(BaseTestCase::$moduleDir . '/monitoring/application/views/helpers/ResolveMacros.php');
|
require_once realpath(BaseTestCase::$moduleDir . '/monitoring/application/views/helpers/ResolveMacros.php');
|
||||||
// @codingStandardsIgnoreEnd
|
|
||||||
|
|
||||||
class ResolveMacrosTest extends BaseTestCase
|
class ResolveMacrosTest extends BaseTestCase
|
||||||
{
|
{
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
|
|
||||||
namespace Tests\Icinga\Web\Paginator\ScrollingStyle;
|
namespace Tests\Icinga\Web\Paginator\ScrollingStyle;
|
||||||
|
|
||||||
// @codingStandardsIgnoreStart
|
|
||||||
require_once realpath(ICINGA_LIBDIR . '/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php');
|
require_once realpath(ICINGA_LIBDIR . '/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php');
|
||||||
// @codingStandardsIgnoreEnd
|
|
||||||
|
|
||||||
use \Mockery;
|
use \Mockery;
|
||||||
use \Zend_Config;
|
use \Zend_Config;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user