Completed
Push — master ( 84255c...a7d7e4 )
by Thomas
14:38
created
src/model/Territory.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  * long as it does not already exist in the output directory.
15 15
  *
16 16
  */
17
-class Territory extends BaseTerritory
18
-{
17
+class Territory extends BaseTerritory {
19 18
 
20 19
 }
Please login to merge, or discard this patch.
src/model/TerritoryQuery.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  * long as it does not already exist in the output directory.
15 15
  *
16 16
  */
17
-class TerritoryQuery extends BaseTerritoryQuery
18
-{
17
+class TerritoryQuery extends BaseTerritoryQuery {
19 18
 
20 19
 } // TerritoryQuery
Please login to merge, or discard this patch.
src/model/UserGroup.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  * long as it does not already exist in the output directory.
15 15
  *
16 16
  */
17
-class UserGroup extends BaseUserGroup
18
-{
17
+class UserGroup extends BaseUserGroup {
19 18
 
20 19
 }
Please login to merge, or discard this patch.
src/model/UserGroupQuery.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  * long as it does not already exist in the output directory.
15 15
  *
16 16
  */
17
-class UserGroupQuery extends BaseUserGroupQuery
18
-{
17
+class UserGroupQuery extends BaseUserGroupQuery {
19 18
 
20 19
 } // UserGroupQuery
Please login to merge, or discard this patch.
src/model/UserQuery.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  * long as it does not already exist in the output directory.
15 15
  *
16 16
  */
17
-class UserQuery extends BaseUserQuery
18
-{
17
+class UserQuery extends BaseUserQuery {
19 18
 
20 19
 } // UserQuery
Please login to merge, or discard this patch.
src/schema/KeekoSchema.php 1 patch
Switch Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -68,17 +68,17 @@
 block discarded – undo
68 68
 	
69 69
 	public function getKeekoPackage($type) {
70 70
 		switch ($type) {
71
-			case 'app':
72
-				if ($this->app === null) {
73
-					$this->app = new AppSchema($this->package);
74
-				}
75
-				return $this->app;
71
+		case 'app':
72
+			if ($this->app === null) {
73
+				$this->app = new AppSchema($this->package);
74
+			}
75
+			return $this->app;
76 76
 				
77
-			case 'module':
78
-				if ($this->module === null) {
79
-					$this->module = new ModuleSchema($this->package);
80
-				}
81
-				return $this->module;
77
+		case 'module':
78
+			if ($this->module === null) {
79
+				$this->module = new ModuleSchema($this->package);
80
+			}
81
+			return $this->module;
82 82
 		}
83 83
 	}
84 84
 }
Please login to merge, or discard this patch.
src/utils/NameGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 	 * @return string
11 11
 	 */
12 12
 	public static function toStudlyCase($input) {
13
-		return ucfirst(preg_replace_callback('/([A-Z-_][a-z]+)/', function ($matches) {
13
+		return ucfirst(preg_replace_callback('/([A-Z-_][a-z]+)/', function($matches) {
14 14
 			return ucfirst(str_replace([
15 15
 					'-',
16 16
 					'_'
Please login to merge, or discard this patch.
src/utils/TwigTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 			$this->twig->addFunction(new \Twig_SimpleFunction('transchoice', $transchoice));
31 31
 
32 32
 			$firewall = $this->getServiceContainer()->getFirewall();
33
-			$this->twig->addFunction(new \Twig_SimpleFunction('hasPermission', function ($module, $action) use ($firewall) {
33
+			$this->twig->addFunction(new \Twig_SimpleFunction('hasPermission', function($module, $action) use ($firewall) {
34 34
 				return $firewall->hasPermission($module, $action);
35 35
 			}));
36 36
 		}
Please login to merge, or discard this patch.
src/installer/DelegateInstaller.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace keeko\core\installer;
3 3
 
4
-use Composer\DependencyResolver\Operation\InstallOperation;
5
-use Composer\DependencyResolver\Operation\UninstallOperation;
6
-use Composer\DependencyResolver\Operation\UpdateOperation;
7 4
 use Composer\Package\PackageInterface;
8 5
 use Composer\Script\PackageEvent;
9 6
 
Please login to merge, or discard this patch.
Switch Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -59,14 +59,14 @@
 block discarded – undo
59 59
 	 */
60 60
 	private function getInstaller(PackageInterface $package) {
61 61
 		switch ($package->getType()) {
62
-			case 'keeko-app':
63
-				return new AppInstaller();
62
+		case 'keeko-app':
63
+			return new AppInstaller();
64 64
 				
65
-			case 'keeko-module':
66
-				return new ModuleInstaller();
65
+		case 'keeko-module':
66
+			return new ModuleInstaller();
67 67
 				
68
-			default:
69
-				return new DummyInstaller();
68
+		default:
69
+			return new DummyInstaller();
70 70
 		}
71 71
 	}
72 72
 	
Please login to merge, or discard this patch.