Completed
Push — master ( 35d114...ca07a1 )
by Adam
05:07
created
src/commands/Git.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,6 @@  discard block
 block discarded – undo
62 62
 
63 63
 	/**
64 64
 	 * Sets path to working directory
65
-	 * @param string $workingTree
66 65
 	 */
67 66
 	public function setWorkingDirectory($workingDirectory)
68 67
 	{
@@ -100,7 +99,7 @@  discard block
 block discarded – undo
100 99
 
101 100
 	/**
102 101
 	 * Sets git command (to be executed later)
103
-	 * @param mixed $command
102
+	 * @param string $command
104 103
 	 */
105 104
 	public function setCommand($command)
106 105
 	{
@@ -139,6 +138,9 @@  discard block
 block discarded – undo
139 138
 	}
140 139
 
141 140
 
141
+	/**
142
+	 * @param string $command
143
+	 */
142 144
 	private function exec($command)
143 145
 	{
144 146
 		$exec = new Exec();
Please login to merge, or discard this patch.
src/Bootstrap.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@  discard block
 block discarded – undo
92 92
 	}
93 93
 
94 94
 
95
+	/**
96
+	 * @param integer $code
97
+	 */
95 98
 	private function terminate($code)
96 99
 	{
97 100
 		throw new TerminateException(NULL, $code);
@@ -141,7 +144,7 @@  discard block
 block discarded – undo
141 144
 
142 145
 
143 146
 	/**
144
-	 * @param $configFile
147
+	 * @param string $configFile
145 148
 	 * @param Container|NULL $bootstrapContainer
146 149
 	 * @return Container
147 150
 	 */
Please login to merge, or discard this patch.
src/commands/filesystem/Filesystem.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,10 +137,10 @@
 block discarded – undo
137 137
 				if (is_file($destination)) {
138 138
 					if ($options['onDuplicate'] == self::ERROR) {
139 139
 						$this->error("File '$destination' already exists.");
140
-					}elseif ($options['onDuplicate'] == self::SKIP) {
140
+					} elseif ($options['onDuplicate'] == self::SKIP) {
141 141
 						$this->log("File '$destination' already exists, skipping ...");
142 142
 						continue;
143
-					}elseif ($options['onDuplicate'] == self::REWRITE) {
143
+					} elseif ($options['onDuplicate'] == self::REWRITE) {
144 144
 						$command->delete($destination);
145 145
 					}
146 146
 				}
Please login to merge, or discard this patch.
src/exceptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
 if (PHP_VERSION_ID < 70000) { // backwards compatibility
22 22
 
23 23
 	namespace {
24
-		class Throwable extends \Exception{} // it's actually interface, but this is shortcut
24
+		class Throwable extends \Exception {} // it's actually interface, but this is shortcut
25 25
 	}
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
src/Build.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	 */
52 52
 	public function &__get($name)
53 53
 	{
54
-		if(in_array($name, ['container', 'arguments'])){
54
+		if (in_array($name, ['container', 'arguments'])) {
55 55
 			$method = 'get' . ucfirst($name);
56 56
 			trigger_error(E_USER_WARNING, "Property '$name' is deprecated, use method $method() instead.");
57 57
 			return $this->$method();
Please login to merge, or discard this patch.
src/commands/NetteTester.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,8 @@
 block discarded – undo
98 98
 		$optionalSwitches = [
99 99
 			'configFile' => '--configuration',
100 100
 		];
101
-		foreach($optionalSwitches as $name => $switch) {
102
-			if(isset($this->options[$name])) {
101
+		foreach ($optionalSwitches as $name => $switch) {
102
+			if (isset($this->options[$name])) {
103 103
 				$cmd .= $switch . ' ';
104 104
 				$cmd .= escapeshellarg($this->options[$name]) . ' ';
105 105
 			}
Please login to merge, or discard this patch.
src/commands/PhpUnit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,8 @@
 block discarded – undo
98 98
 		$options = [
99 99
 			'configFile' => '--configuration',
100 100
 		];
101
-		foreach($options as $name => $switch) {
102
-			if(isset($this->options[$name])) {
101
+		foreach ($options as $name => $switch) {
102
+			if (isset($this->options[$name])) {
103 103
 				$cmd .= $switch . ' ';
104 104
 				$cmd .= escapeshellarg($this->options[$name]) . ' ';
105 105
 			}
Please login to merge, or discard this patch.
src/config/ContainerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 					$container->addService($name, $config); // is directly service object from merged container
107 107
 					continue;
108 108
 				}
109
-				if(!isset($config['class'])) {
109
+				if (!isset($config['class'])) {
110 110
 					throw new ContainerFactoryException("Service '$name' does not have defined class.");
111 111
 				}
112 112
 				$class = $config['class'];
Please login to merge, or discard this patch.