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

@ -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.
@ -120,4 +119,4 @@ class Inline {
} }
} }
} }

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

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

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

View File

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

View File

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

View File

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

View File

@ -27,9 +27,61 @@
<directory suffix=".php">../../library/Icinga</directory> <directory suffix=".php">../../library/Icinga</directory>
<directory suffix=".php">../../modules</directory> <directory suffix=".php">../../modules</directory>
<exclude> <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/functions.php</file>
<file>../../library/Icinga/Application/webrouter.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> </exclude>
</whitelist> </whitelist>
</filter> </filter>

View File

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