mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
f2e5d8afa5
commit
7eb0f3c472
@ -1,6 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
}
|
||||
|
||||
// @codingStandardsIgnoreStop
|
||||
|
@ -29,9 +29,7 @@
|
||||
|
||||
namespace Icinga\Application;
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
require_once dirname(__FILE__) . '/ApplicationBootstrap.php';
|
||||
// @codingStandardsIgnoreStop
|
||||
|
||||
use Icinga\Exception\ProgrammingError;
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -120,4 +119,4 @@ class Inline {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
|
@ -61,11 +61,9 @@ class DateFormatValidator extends Zend_Validate_Abstract
|
||||
*
|
||||
* @see Zend_Validate_Abstract::$_messageTemplates
|
||||
*/
|
||||
// @codingStandardsIgnoreStart
|
||||
protected $_messageTemplates = array(
|
||||
'INVALID_CHARACTERS' => 'Invalid date format'
|
||||
);
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
/**
|
||||
* Validate the input value
|
||||
|
@ -60,9 +60,7 @@ class DateTimeValidator extends Zend_Validate_Abstract
|
||||
*
|
||||
* @see Zend_Validate_Abstract::$_messageTemplates
|
||||
*/
|
||||
// @codingStandardsIgnoreStart
|
||||
protected $_messageTemplates = array();
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
/**
|
||||
* Create this validator
|
||||
|
@ -58,11 +58,9 @@ class TimeFormatValidator extends Zend_Validate_Abstract
|
||||
* @var array
|
||||
* @see Zend_Validate_Abstract::$_messageTemplates
|
||||
*/
|
||||
// @codingStandardsIgnoreStart
|
||||
protected $_messageTemplates = array(
|
||||
'INVALID_CHARACTERS' => 'Invalid time format'
|
||||
);
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
/**
|
||||
* Validate the input value
|
||||
|
@ -44,12 +44,10 @@ class WritablePathValidator extends Zend_Validate_Abstract
|
||||
*
|
||||
* @see Zend_Validate_Abstract::$_messageTemplates‚
|
||||
*/
|
||||
// @codingStandardsIgnoreStart
|
||||
protected $_messageTemplates = array(
|
||||
'NOT_WRITABLE' => 'Path is not writable',
|
||||
'DOES_NOT_EXIST' => 'Path does not exist'
|
||||
);
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
/**
|
||||
* When true, the file or directory must exist
|
||||
|
@ -1,6 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -105,5 +103,3 @@ class Icinga_Web_Paginator_ScrollingStyle_SlidingWithBorder implements Zend_Pagi
|
||||
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
|
||||
* members.
|
||||
@ -192,7 +191,6 @@ class View extends Zend_View_Abstract
|
||||
include func_get_arg(0);
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
/**
|
||||
* Accesses a helper object from within a script
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
@ -34,4 +33,3 @@ class Doc_IndexController extends DocController
|
||||
$this->populateView();
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{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));
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -1118,4 +1117,3 @@ class Monitoring_CommandController extends Controller
|
||||
}
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreStop
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -285,4 +284,3 @@ class Monitoring_ConfigController extends ModuleActionController
|
||||
return $instanceCfg && $instanceCfg->get($instance);
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -103,5 +102,3 @@ class Monitoring_ProcessController extends MonitoringController
|
||||
->getQuery()->fetchAll();
|
||||
}
|
||||
}
|
||||
|
||||
// @codingStandardsIgnoreStop
|
||||
|
@ -27,7 +27,6 @@
|
||||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
use Icinga\Application\Benchmark;
|
||||
use Icinga\Web\Hook;
|
||||
use Icinga\Web\Widget\Tabs;
|
||||
@ -190,4 +189,3 @@ class Monitoring_ShowController extends Controller
|
||||
->extend(new DashboardAction());
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -75,4 +74,3 @@ class Zend_View_Helper_CheckPerformance extends Zend_View_Helper_Abstract
|
||||
return $out;
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreStop
|
@ -1,6 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -204,5 +202,3 @@ class Zend_View_Helper_CommandForm extends Zend_View_Helper_Abstract
|
||||
return $out;
|
||||
}
|
||||
}
|
||||
|
||||
// @codingStandardsIgnoreStop
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -308,4 +307,3 @@ class Zend_View_Helper_MonitoringProperties extends Zend_View_Helper_Abstract
|
||||
return $type;
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreStop
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -63,4 +62,3 @@ class Zend_View_Helper_RuntimeVariables extends Zend_View_Helper_Abstract
|
||||
return $out;
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreStop
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -103,5 +102,3 @@ class GroupSummaryQuery extends IdoQuery
|
||||
);
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreStop
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* This file is part of Icinga Web 2.
|
||||
@ -538,4 +537,3 @@ class StatusQuery extends IdoQuery
|
||||
);
|
||||
}
|
||||
}
|
||||
// @codingStandardsIgnoreStop
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreStart
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
/**
|
||||
* 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 Icinga\Test\BaseTestCase;
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
require_once realpath(BaseTestCase::$moduleDir . '/monitoring/application/views/helpers/MonitoringFlags.php');
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
class MonitoringFlagsTest extends BaseTestCase
|
||||
{
|
||||
|
@ -7,9 +7,7 @@ namespace Test\Modules\Monitoring\Application\Views\Helpers;
|
||||
use \Zend_View_Helper_MonitoringProperties;
|
||||
use Icinga\Test\BaseTestCase;
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
require_once realpath(BaseTestCase::$moduleDir . '/monitoring/application/views/helpers/MonitoringProperties.php');
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
class HostStruct4Properties
|
||||
{
|
||||
|
@ -8,9 +8,7 @@ use \Mockery;
|
||||
use \Zend_View_Helper_ResolveMacros;
|
||||
use Icinga\Test\BaseTestCase;
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
require_once realpath(BaseTestCase::$moduleDir . '/monitoring/application/views/helpers/ResolveMacros.php');
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
class ResolveMacrosTest extends BaseTestCase
|
||||
{
|
||||
|
@ -4,9 +4,7 @@
|
||||
|
||||
namespace Tests\Icinga\Web\Paginator\ScrollingStyle;
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
require_once realpath(ICINGA_LIBDIR . '/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php');
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
use \Mockery;
|
||||
use \Zend_Config;
|
||||
|
Loading…
x
Reference in New Issue
Block a user