Completed
Push — master ( 84abc4...9d9756 )
by Adam
03:18 queued 46s
created
src/IPub/Packages/Repository/IRepository.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         30.05.15
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\Repository;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Packages/DI/PackagesExtensions.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.
src/IPub/Packages/Helpers/PathResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           19.06.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\Helpers;
18 18
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 			throw new Exceptions\InvalidArgumentException(sprintf('Package \'%s\' does not exist.', $package));
82 82
 		}
83 83
 
84
-		$path = $this->repository->findPackage($package)->getPath() . ($localPrefix ? '/' . $localPrefix : '') . ($pos ? substr($path, $pos) : '');
84
+		$path = $this->repository->findPackage($package)->getPath().($localPrefix ? '/'.$localPrefix : '').($pos ? substr($path, $pos) : '');
85 85
 
86 86
 		return Utils\Strings::replace($path, '~\\\~', '/');
87 87
 	}
Please login to merge, or discard this patch.
src/IPub/Packages/DependencyResolver/Solver.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           27.06.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\DependencyResolver;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Packages/DependencyResolver/Problem.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           27.06.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\DependencyResolver;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Packages/Exceptions/InvalidArgumentException.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           27.03.15
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\Exceptions;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Packages/Exceptions/InvalidPackageDefinitionException.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           21.06.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\Exceptions;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Packages/Exceptions/UnexpectedValueException.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           27.03.15
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\Exceptions;
18 18
 
Please login to merge, or discard this patch.
src/IPub/Packages/Exceptions/LogicException.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           27.03.15
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\Packages\Exceptions;
18 18
 
Please login to merge, or discard this patch.