Passed
Push — master ( adbf7e...2ad942 )
by Aimeos
02:05
created
lib/custom/src/MW/Translation/Gettext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
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 );
Please login to merge, or discard this patch.
lib/custom/tests/bootstrap.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,16 +4,16 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
lib/custom/src/MW/Translation/File/Mo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.