Passed
Push — master ( 5f265d...0e8232 )
by Aimeos
02:37
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
@@ -168,7 +168,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.