Passed
Push — master ( 67bffd...25aa03 )
by Adam
01:51
created
src/IPub/Packages/Commands/InstallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           19.07.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\Commands;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Packages/Commands/Command.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           19.07.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\Commands;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Packages/Commands/UninstallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           19.07.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\Commands;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Packages/DI/PackagesExtension.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           27.05.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\DI;
18 18
 
@@ -43,13 +43,13 @@  discard block
 block discarded – undo
43 43
 	 * @var array
44 44
 	 */
45 45
 	private $defaults = [
46
-		'path'       => NULL,                        // Paths where to search for packages
47
-		'dirs'       => [                            // Define path to folders
48
-			'configDir' => '%appDir%/config',        // Path where is stored app configuration
49
-			'vendorDir' => '%appDir%/../vendor',     // Path to composer vendor folder
50
-			'tempDir'   => '%tempDir%',              // Path to temporary folder
46
+		'path'       => NULL, // Paths where to search for packages
47
+		'dirs'       => [// Define path to folders
48
+			'configDir' => '%appDir%/config', // Path where is stored app configuration
49
+			'vendorDir' => '%appDir%/../vendor', // Path to composer vendor folder
50
+			'tempDir'   => '%tempDir%', // Path to temporary folder
51 51
 		],
52
-		'configFile' => 'config.neon',               // Filename with enabled packages extensions
52
+		'configFile' => 'config.neon', // Filename with enabled packages extensions
53 53
 		'loader'     => [
54 54
 			'packageFiles' => [
55 55
 				'package.php',
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
 
77 77
 		$builder->parameters['packages'] = [];
78 78
 
79
-		if (is_file($configuration['dirs']['configDir'] . DIRECTORY_SEPARATOR . 'packages.php')) {
80
-			$packages = require $configuration['dirs']['configDir'] . DIRECTORY_SEPARATOR . 'packages.php';
79
+		if (is_file($configuration['dirs']['configDir'].DIRECTORY_SEPARATOR.'packages.php')) {
80
+			$packages = require $configuration['dirs']['configDir'].DIRECTORY_SEPARATOR.'packages.php';
81 81
 
82 82
 			foreach ($packages as $name => $data) {
83 83
 				$builder->parameters['packages'][$name] = $data;
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 		];
137 137
 
138 138
 		foreach ($commands as $name => $cmd) {
139
-			$builder->addDefinition($this->prefix('commands' . lcfirst($name)))
139
+			$builder->addDefinition($this->prefix('commands'.lcfirst($name)))
140 140
 				->setType($cmd)
141 141
 				->addTag(Console\DI\ConsoleExtension::TAG_COMMAND);
142 142
 		}
Please login to merge, or discard this patch.