From 7622200f2e4a1f08f7ce848488a0924aa4367b7a Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 19 May 2016 20:54:18 +0200 Subject: [PATCH] Element/Boolean: ignore PHPCS violation as of ZF1 --- library/Director/Web/Form/Element/Boolean.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/Director/Web/Form/Element/Boolean.php b/library/Director/Web/Form/Element/Boolean.php index f0432087..84a9947d 100644 --- a/library/Director/Web/Form/Element/Boolean.php +++ b/library/Director/Web/Form/Element/Boolean.php @@ -48,8 +48,12 @@ class Boolean extends ZfSelect return parent::setValue($value); } + /** + * @codingStandardsIgnoreStart + */ protected function _translateOption($option, $value) { + // @codingStandardsIgnoreEnd if (!isset($this->_translated[$option]) && !empty($value)) { $this->options[$option] = mt('director', $value); if ($this->options[$option] === $value) {