Completed
Push — master ( dc298a...2ad468 )
by Sam
02:58
created
src/cli/Manager/StatisticsManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 		}
53 53
 		catch (PropelException $e)
54 54
 		{
55
-			throw new RequestFailedException('A database error occured: ' . $e->getMessage());
55
+			throw new RequestFailedException('A database error occured: '.$e->getMessage());
56 56
 		}
57 57
 
58 58
 		return false;
Please login to merge, or discard this patch.
src/cli/Manager/WebSocketManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
 			}
210 210
 			catch (RequestFailedException $e)
211 211
 			{
212
-				$this->logger->error('The request failed: ' . $e->getMessage());
212
+				$this->logger->error('The request failed: '.$e->getMessage());
213 213
 			}
214 214
 			catch (UnhandledMessageException $e)
215 215
 			{
Please login to merge, or discard this patch.
src/cli/Configuration/Validator.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
 		// Check that all mandatory values are defined
52 52
 		foreach (self::$mandatoryValues as $mandatoryValue)
53 53
 			if (!isset($this->_configuration[$mandatoryValue]) || ($this->_configuration[$mandatoryValue] != '0' && empty($this->_configuration[$mandatoryValue])))
54
-				throw new InvalidConfigurationException('Mandatory configuration value "' . $mandatoryValue . '" is missing');
54
+				throw new InvalidConfigurationException('Mandatory configuration value "'.$mandatoryValue.'" is missing');
55 55
 
56 56
 		if (!is_readable($this->_configuration['database_path']))
57 57
 			throw new InvalidConfigurationException('The database path does not exist or is not writable');
Please login to merge, or discard this patch.
src/cli/Configuration/Reader/YamlReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 		}
40 40
 		catch (ParseException $e)
41 41
 		{
42
-			throw new InvalidConfigurationException('Failed to parse the specified configuration file: ' . $e->getMessage());
42
+			throw new InvalidConfigurationException('Failed to parse the specified configuration file: '.$e->getMessage());
43 43
 		}
44 44
 
45 45
 		// Validate the configuration. We need at least one instance.
Please login to merge, or discard this patch.
src/cli/Configuration/Parser.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -33,12 +33,12 @@
 block discarded – undo
33 33
 		// Create the configuration object
34 34
 		$config = new Configuration();
35 35
 		$config->setDatabasePath($configuration['database_path'])
36
-		       ->setLogPath($configuration['log_path'])
37
-		       ->setInstances(self::parseInstances($configuration))
38
-		       ->setAccessToken($configuration['access_token'])
39
-		       ->setUpdateInterval($configuration['update_interval'])
40
-		       ->setListenAddress($configuration['listen_address'])
41
-		       ->setListenPort($configuration['listen_port']);
36
+			   ->setLogPath($configuration['log_path'])
37
+			   ->setInstances(self::parseInstances($configuration))
38
+			   ->setAccessToken($configuration['access_token'])
39
+			   ->setUpdateInterval($configuration['update_interval'])
40
+			   ->setListenAddress($configuration['listen_address'])
41
+			   ->setListenPort($configuration['listen_port']);
42 42
 
43 43
 		return $config;
44 44
 	}
Please login to merge, or discard this patch.