Completed
Push — master ( e65d6e...357eb6 )
by dima
03:55
created
bootstrap/app.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,7 @@
 block discarded – undo
30 30
     if (version_compare(PHP_VERSION, '5.3', '>='))
31 31
     {
32 32
         error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
33
-    }
34
-    else
33
+    } else
35 34
     {
36 35
         error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_USER_NOTICE);
37 36
     }    
Please login to merge, or discard this patch.
packages/core/src/Models/User/Base/User.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1402,7 +1402,7 @@
 block discarded – undo
1402 1402
                             new ClassMetaDataFactory(new StaticMethodLoader()),
1403 1403
                             new ConstraintValidatorFactory()
1404 1404
                 );
1405
-            }else{
1405
+            } else{
1406 1406
                 $validator = new Validator(
1407 1407
                             new ClassMetadataFactory(new StaticMethodLoader()),
1408 1408
                             new ConstraintValidatorFactory(),
Please login to merge, or discard this patch.
app/Console/Commands/InstallPackagesCommand.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
 
34 34
 			if (!copy($file->getRealpath(), $root_path . '/db/' . $file->getRelativePathname())) {
35 35
 			  $output->writeln( sprintf("error copy migration %s...", $file->getRelativePathname()) );
36
-			}
37
-			else{
36
+			} else{
38 37
 				$output->writeln( sprintf("copy migration %s", $file->getRelativePathname()) );
39 38
 			}
40 39
 		}
Please login to merge, or discard this patch.
app/Controllers/ModuleController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,9 @@
 block discarded – undo
32 32
 	{
33 33
 		
34 34
 		foreach($params as $param => $value){
35
-			if((new \ReflectionClass($this))->hasProperty($param)===false)
36
-				throw new \Exception(sprintf("param '%s' not found in module '%s'",$param,self::class));
35
+			if((new \ReflectionClass($this))->hasProperty($param)===false) {
36
+							throw new \Exception(sprintf("param '%s' not found in module '%s'",$param,self::class));
37
+			}
37 38
 			
38 39
 			$this->{$param} = $value;
39 40
 		}
Please login to merge, or discard this patch.