different files: style

This commit is contained in:
Thomas Gelf 2016-03-08 22:30:12 +01:00
parent 1c395037c3
commit 1d4b508ff3
3 changed files with 13 additions and 2 deletions

View File

@ -1,7 +1,11 @@
<?php
// Avoid complaints about missing namespace and invalid class name
// @codingStandardsIgnoreStart
class Zend_View_Helper_FormSimpleNote extends Zend_View_Helper_FormElement
{
// @codingStandardsIgnoreEnd
public function formSimpleNote($name, $value = null)
{
$info = $this->_getInfo($name, $value);

View File

@ -31,7 +31,7 @@ class PropertyModifierGetHostByName extends PropertyModifierHook
{
$host = gethostbyname($value);
if (strlen(@inet_pton($host)) !== 4) {
switch($this->getSetting('on_failure')) {
switch ($this->getSetting('on_failure')) {
case 'null':
return null;
case 'keep':

View File

@ -5,8 +5,15 @@ namespace Icinga\Module\Director\Web\Form\Element;
class SimpleNote extends FormElement
{
public $helper = 'formSimpleNote';
/**
* Always ignore this element
* @codingStandardsIgnoreStart
*
* @var boolean
*/
protected $_ignore = true;
// @codingStandardsIgnoreEnd
public function isValid($value, $context = null)
{