@@ -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'; |
@@ -166,7 +166,7 @@ |
||
166 | 166 | */ |
167 | 167 | protected function readInt( string $byteOrder ) : ?int |
168 | 168 | { |
169 | - if( ( $content = $this->read( 4 )) === null ) { |
|
169 | + if( ( $content = $this->read( 4 ) ) === null ) { |
|
170 | 170 | return null; |
171 | 171 | } |
172 | 172 |