Merge branch 'bugfix/get-rid-of-line-based-annotations-6091'

fixes #6091
This commit is contained in:
Johannes Meyer 2014-06-30 14:01:35 +02:00
commit 6a8152ce09
84 changed files with 54 additions and 179 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,4 @@
<?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}}
/**
* 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>';
}
}
// @codeCoverageIgnoreEnd

View File

@ -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

View File

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

View File

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

View File

@ -1,5 +1,4 @@
<?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}}
/**
* 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');
}
}
// @codeCoverageIgnoreEnd

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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

View File

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

View File

@ -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

View File

@ -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

View File

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

View File

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

View File

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

View File

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

View File

@ -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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,4 @@
<?php
// @codeCoverageIgnoreStart
// {{{ICINGA_LICENSE_HEADER}}}
/**
* 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
* members.
@ -193,7 +191,6 @@ class View extends Zend_View_Abstract
include func_get_arg(0);
}
}
// @codingStandardsIgnoreEnd
/**
* Accesses a helper object from within a script
@ -212,4 +209,3 @@ class View extends Zend_View_Abstract
}
}
}
// @codeCoverageIgnoreEnd

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -27,9 +27,61 @@
<directory suffix=".php">../../library/Icinga</directory>
<directory suffix=".php">../../modules</directory>
<exclude>
<!-- application/clicommands -->
<directory suffix=".php">../../application/clicommands</directory>
<!-- application/controllers -->
<directory suffix=".php">../../application/controllers</directory>
<!-- application/forms -->
<file>../../application/forms/Config/GeneralForm.php</file>
<file>../../application/forms/Config/LoggingForm.php</file>
<file>../../application/forms/Config/ConfirmRemovalForm.php</file>
<directory suffix=".php">../../application/forms/Authentication</directory>
<directory suffix=".php">../../application/forms/Install</directory>
<directory suffix=".php">../../application/forms/Dashboard</directory>
<directory suffix=".php">../../application/forms/Preference</directory>
<!-- application/views -->
<file>../../application/views/helpers/FormNumber.php</file>
<file>../../application/views/helpers/FormDateTime.php</file>
<file>../../application/views/helpers/FormTriStateCheckbox.php</file>
<!-- library/Icinga/Logger -->
<file>../../library/Icinga/Logger/Writer/SyslogWriter.php</file>
<!-- library/Icinga/User -->
<file>../../library/Icinga/User/Message.php</file>
<!-- library/Icinga/Application -->
<file>../../library/Icinga/Application/ApplicationBootstrap.php</file>
<file>../../library/Icinga/Application/Benchmark.php</file>
<file>../../library/Icinga/Application/Cli.php</file>
<file>../../library/Icinga/Application/EmbeddedWeb.php</file>
<file>../../library/Icinga/Application/LegacyWeb.php</file>
<file>../../library/Icinga/Application/Platform.php</file>
<file>../../library/Icinga/Application/Web.php</file>
<file>../../library/Icinga/Application/functions.php</file>
<file>../../library/Icinga/Application/webrouter.php</file>
<directory>../../library/Icinga/Web/View/helpers</directory>
<!-- library/Icinga/Web -->
<file>../../library/Icinga/Web/JavaScript.php</file>
<file>../../library/Icinga/Web/LessCompiler.php</file>
<file>../../library/Icinga/Web/Request.php</file>
<file>../../library/Icinga/Web/Response.php</file>
<file>../../library/Icinga/Web/Session.php</file>
<file>../../library/Icinga/Web/StyleSheet.php</file>
<file>../../library/Icinga/Web/View.php</file>
<file>../../library/Icinga/Web/ViewStream.php</file>
<file>../../library/Icinga/Web/Widget.php</file>
<!-- library/Icinga/Web/Widget -->
<file>../../library/Icinga/Web/Widget/AbstractWidget.php</file>
<file>../../library/Icinga/Web/Widget/AlertMessageBox.php</file>
<file>../../library/Icinga/Web/Widget/SortBox.php</file>
<directory suffix=".php">../../library/Icinga/Web/Widget/Chart</directory>
<directory suffix=".php">../../library/Icinga/Web/Widget/Tabextension</directory>
<!-- library/Icinga/Web/Hook -->
<file>../../library/Icinga/Web/Hook/Ticket.php</file>
<file>../../library/Icinga/Web/Hook/Grapher.php</file>
<!-- library/Icinga/Web/Controller -->
<directory suffix=".php">../../library/Icinga/Web/Controller</directory>
<!-- library/Icinga/Web/Form -->
<directory suffix=".php">../../library/Icinga/Web/Form/Decorator</directory>
<!-- library/Icinga/Web/View -->
<directory suffix=".php">../../library/Icinga/Web/View/helpers</directory>
</exclude>
</whitelist>
</filter>

View File

@ -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;