@@ -121,7 +121,7 @@ |
||
| 121 | 121 | { |
| 122 | 122 | if( !isset( $this->files[$domain] ) ) |
| 123 | 123 | { |
| 124 | - if ( !isset( $this->sources[$domain] ) ) |
|
| 124 | + if( !isset( $this->sources[$domain] ) ) |
|
| 125 | 125 | { |
| 126 | 126 | $msg = sprintf( 'No translation directory for domain "%1$s" available', $domain ); |
| 127 | 127 | throw new \Aimeos\MW\Translation\Exception( $msg ); |
@@ -4,16 +4,16 @@ |
||
| 4 | 4 | * Set error reporting to maximum |
| 5 | 5 | */ |
| 6 | 6 | error_reporting( -1 ); |
| 7 | -ini_set('display_errors', '1'); |
|
| 7 | +ini_set( 'display_errors', '1' ); |
|
| 8 | 8 | |
| 9 | 9 | |
| 10 | 10 | /* |
| 11 | 11 | * Set locale settings to reasonable defaults |
| 12 | 12 | */ |
| 13 | -setlocale(LC_ALL, 'en_US.UTF-8'); |
|
| 14 | -setlocale(LC_NUMERIC, 'POSIX'); |
|
| 15 | -setlocale(LC_CTYPE, 'en_US.UTF-8'); |
|
| 16 | -setlocale(LC_TIME, 'POSIX'); |
|
| 13 | +setlocale( LC_ALL, 'en_US.UTF-8' ); |
|
| 14 | +setlocale( LC_NUMERIC, 'POSIX' ); |
|
| 15 | +setlocale( LC_CTYPE, 'en_US.UTF-8' ); |
|
| 16 | +setlocale( LC_TIME, 'POSIX' ); |
|
| 17 | 17 | |
| 18 | 18 | |
| 19 | 19 | require_once 'TestHelper.php'; |
@@ -168,7 +168,7 @@ |
||
| 168 | 168 | */ |
| 169 | 169 | protected function readInt( $byteOrder ) |
| 170 | 170 | { |
| 171 | - if( ( $content = $this->read( 4 )) === false ) { |
|
| 171 | + if( ( $content = $this->read( 4 ) ) === false ) { |
|
| 172 | 172 | return false; |
| 173 | 173 | } |
| 174 | 174 | |