diff --git a/src/Exception/ExceptionInterface.php b/src/Exception/ExceptionInterface.php index 5c776b72..f6a7a0fb 100644 --- a/src/Exception/ExceptionInterface.php +++ b/src/Exception/ExceptionInterface.php @@ -10,4 +10,5 @@ namespace Zend\I18n\Exception; interface ExceptionInterface -{} +{ +} diff --git a/src/Exception/ExtensionNotLoadedException.php b/src/Exception/ExtensionNotLoadedException.php index 2bbc0756..1b5f8b67 100644 --- a/src/Exception/ExtensionNotLoadedException.php +++ b/src/Exception/ExtensionNotLoadedException.php @@ -13,4 +13,5 @@ class ExtensionNotLoadedException extends DomainException implements ExceptionInterface -{} +{ +} diff --git a/src/Exception/InvalidArgumentException.php b/src/Exception/InvalidArgumentException.php index 022a1280..229ccc28 100644 --- a/src/Exception/InvalidArgumentException.php +++ b/src/Exception/InvalidArgumentException.php @@ -11,4 +11,5 @@ class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface -{} +{ +} diff --git a/src/Exception/OutOfBoundsException.php b/src/Exception/OutOfBoundsException.php index 0d496881..fe696ffa 100644 --- a/src/Exception/OutOfBoundsException.php +++ b/src/Exception/OutOfBoundsException.php @@ -11,4 +11,5 @@ class OutOfBoundsException extends \OutOfBoundsException implements ExceptionInterface -{} +{ +} diff --git a/src/Exception/ParseException.php b/src/Exception/ParseException.php index 7e442a66..7f82ace0 100644 --- a/src/Exception/ParseException.php +++ b/src/Exception/ParseException.php @@ -10,4 +10,5 @@ namespace Zend\I18n\Exception; class ParseException extends RuntimeException implements ExceptionInterface -{} +{ +} diff --git a/src/Exception/RangeException.php b/src/Exception/RangeException.php index aec816a2..021673f2 100644 --- a/src/Exception/RangeException.php +++ b/src/Exception/RangeException.php @@ -10,4 +10,5 @@ namespace Zend\I18n\Exception; class RangeException extends \RangeException implements ExceptionInterface -{} +{ +} diff --git a/src/Exception/RuntimeException.php b/src/Exception/RuntimeException.php index b49473e3..f7f37366 100644 --- a/src/Exception/RuntimeException.php +++ b/src/Exception/RuntimeException.php @@ -10,4 +10,5 @@ namespace Zend\I18n\Exception; class RuntimeException extends \RuntimeException implements ExceptionInterface -{} +{ +} diff --git a/src/Filter/NumberFormat.php b/src/Filter/NumberFormat.php index 8b7ebedb..c6b31956 100644 --- a/src/Filter/NumberFormat.php +++ b/src/Filter/NumberFormat.php @@ -13,7 +13,6 @@ class NumberFormat extends NumberParse { - /** * Defined by Zend\Filter\FilterInterface * diff --git a/src/Translator/Loader/Ini.php b/src/Translator/Loader/Ini.php index d91f0ae3..49ff0d9e 100644 --- a/src/Translator/Loader/Ini.php +++ b/src/Translator/Loader/Ini.php @@ -45,7 +45,7 @@ public function load($locale, $filename) $list = $messagesNamespaced; if (isset($messagesNamespaced['translation'])) { - $list = $messagesNamespaced['translation']; + $list = $messagesNamespaced['translation']; } foreach ($list as $message) { diff --git a/src/Translator/TranslatorAwareInterface.php b/src/Translator/TranslatorAwareInterface.php index 851aa1c2..1b4cbce7 100644 --- a/src/Translator/TranslatorAwareInterface.php +++ b/src/Translator/TranslatorAwareInterface.php @@ -66,5 +66,4 @@ public function setTranslatorTextDomain($textDomain = 'default'); * @return string */ public function getTranslatorTextDomain(); - } diff --git a/src/Validator/PhoneNumber.php b/src/Validator/PhoneNumber.php index c5fde5bc..37fe6d40 100644 --- a/src/Validator/PhoneNumber.php +++ b/src/Validator/PhoneNumber.php @@ -16,7 +16,6 @@ class PhoneNumber extends AbstractValidator { - const NO_MATCH = 'phoneNumberNoMatch'; const UNSUPPORTED = 'phoneNumberUnsupported'; const INVALID = 'phoneNumberInvalid'; diff --git a/src/View/Helper/TranslatePlural.php b/src/View/Helper/TranslatePlural.php index f5d5e723..9c46853f 100644 --- a/src/View/Helper/TranslatePlural.php +++ b/src/View/Helper/TranslatePlural.php @@ -33,8 +33,7 @@ public function __invoke( $number, $textDomain = null, $locale = null - ) - { + ) { $translator = $this->getTranslator(); if (null === $translator) { throw new Exception\RuntimeException('Translator has not been set'); diff --git a/test/Filter/AlphaTest.php b/test/Filter/AlphaTest.php index 321afe85..4e588f5a 100644 --- a/test/Filter/AlphaTest.php +++ b/test/Filter/AlphaTest.php @@ -135,7 +135,8 @@ public function testAllowWhiteSpace() "\n" => "\n", " \t " => " \t " ); - } if (self::$meansEnglishAlphabet) { + } + if (self::$meansEnglishAlphabet) { //The Alphabet means english alphabet. $valuesExpected = array( 'a B' => 'a B', @@ -197,5 +198,4 @@ public function testReturnUnfiltered($input) $this->assertEquals($input, $filter->filter($input)); } - }