@@ -1995,8 +1995,7 @@ discard block |
||
1995 | 1995 | $this->stringify($this->value) |
1996 | 1996 | ); |
1997 | 1997 | throw $this->createException($message, $this->overrideCode ?: self::INVALID_EMAIL, $propertyPath); |
1998 | - } |
|
1999 | - else |
|
1998 | + } else |
|
2000 | 1999 | { |
2001 | 2000 | $host = substr($this->value, strpos($this->value, '@') + 1); |
2002 | 2001 | // Likely not a FQDN, bug in PHP FILTER_VALIDATE_EMAIL prior to PHP 5.3.3 |
@@ -2122,8 +2121,7 @@ discard block |
||
2122 | 2121 | try |
2123 | 2122 | { |
2124 | 2123 | $this->regex('/^04[0-9]{8})$/', $message, $propertyPath); |
2125 | - } |
|
2126 | - catch ( AssertionFailedException $e ) |
|
2124 | + } catch ( AssertionFailedException $e ) |
|
2127 | 2125 | { |
2128 | 2126 | $message = $message ?: $this->overrideError; |
2129 | 2127 | $message = sprintf( |
@@ -2153,8 +2151,7 @@ discard block |
||
2153 | 2151 | try |
2154 | 2152 | { |
2155 | 2153 | $this->regex('(^([a-zA-Z]{1}[a-zA-Z0-9]*)$)', $message, $propertyPath); |
2156 | - } |
|
2157 | - catch (AssertionFailedException $e) |
|
2154 | + } catch (AssertionFailedException $e) |
|
2158 | 2155 | { |
2159 | 2156 | $message = $message ?: $this->overrideError; |
2160 | 2157 | $message = sprintf( |