mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-02 16:39:25 -05:00
Migrate deprecated @codingStandards syntax
This commit is contained in:
parent
96a8f00609
commit
e7f0b449bb
4 changed files with 6 additions and 16 deletions
|
|
@ -1,11 +1,8 @@
|
|||
<?php
|
||||
|
||||
// Avoid complaints about missing namespace and invalid class name
|
||||
// @codingStandardsIgnoreStart
|
||||
class Zend_View_Helper_FormSimpleNote extends Zend_View_Helper_FormElement
|
||||
class Zend_View_Helper_FormSimpleNote extends Zend_View_Helper_FormElement // phpcs:ignore
|
||||
{
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
public function formSimpleNote($name, $value = null)
|
||||
{
|
||||
$info = $this->_getInfo($name, $value);
|
||||
|
|
|
|||
|
|
@ -2,11 +2,9 @@
|
|||
|
||||
/**
|
||||
* @deprecated
|
||||
* @codingStandardsIgnoreStart
|
||||
*/
|
||||
class Zend_View_Helper_RenderStateBadges extends Zend_View_Helper_Abstract
|
||||
class Zend_View_Helper_RenderStateBadges extends Zend_View_Helper_Abstract // phpcs:ignore
|
||||
{
|
||||
// @codingStandardsIgnoreEnd
|
||||
public function renderStateBadges($summary)
|
||||
{
|
||||
$html = '';
|
||||
|
|
@ -23,7 +21,7 @@ class Zend_View_Helper_RenderStateBadges extends Zend_View_Helper_Abstract
|
|||
. '" title="' . mt('monitoring', $state) . '">'
|
||||
. $cnt . '</span>';
|
||||
}
|
||||
|
||||
|
||||
if ($html !== '') {
|
||||
$html = '<div class="badges">' . $html . '</div>';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,13 +8,11 @@ class SimpleNote extends FormElement
|
|||
|
||||
/**
|
||||
* Always ignore this element
|
||||
* @codingStandardsIgnoreStart
|
||||
*
|
||||
* @var boolean
|
||||
*/
|
||||
protected $_ignore = true;
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
protected $_ignore = true; // phpcs:ignore
|
||||
|
||||
public function isValid($value, $context = null)
|
||||
{
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @codingStandardsIgnoreStart
|
||||
*/
|
||||
class PHPUnit_Framework_TestCase extends TestCase
|
||||
class PHPUnit_Framework_TestCase extends TestCase // phpcs:ignore
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue