Completed
Push — master ( bbe9f1...aaef45 )
by Sam
03:16
created
src/cli/Console/Commands/TvheadendStatusManagerCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 		$eventDispatcher->addSubscriber($inputErrorManager);
101 101
 
102 102
 		// Configure the event loop and start the application
103
-		$eventLoop->addPeriodicTimer($configuration->getUpdateInterval(), function () use ($eventDispatcher)
103
+		$eventLoop->addPeriodicTimer($configuration->getUpdateInterval(), function() use ($eventDispatcher)
104 104
 		{
105 105
 			// Emit an event on each tick
106 106
 			$eventDispatcher->dispatch(Events::MAIN_LOOP_TICK);
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 		$manager = new ConnectionManagerSingle();
154 154
 		$manager->setConfiguration([
155 155
 			'classname'  => 'Propel\\Runtime\\Connection\\ConnectionWrapper',
156
-			'dsn'        => 'sqlite:' . $configuration->getDatabasePath(),
156
+			'dsn'        => 'sqlite:'.$configuration->getDatabasePath(),
157 157
 			'user'       => null,
158 158
 			'password'   => '',
159 159
 			'attributes' => [
Please login to merge, or discard this patch.
src/cli/Database/Input.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 	 */
35 35
 	public function getFriendlyName()
36 36
 	{
37
-		return $this->getNetwork() . '/' . $this->getMux();
37
+		return $this->getNetwork().'/'.$this->getMux();
38 38
 	}
39 39
 
40 40
 
Please login to merge, or discard this patch.
src/cli/Database/Subscription.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
 		// Remove the channel name and the beginning slash from the service string
52 52
 		$channel = $subscriptionStatus->channel;
53
-		$service = preg_replace('/\/' . preg_quote($channel, '/') . '$/', '', $service);
53
+		$service = preg_replace('/\/'.preg_quote($channel, '/').'$/', '', $service);
54 54
 
55 55
 		// Split on the first slash
56 56
 		$slash = strpos($service, '/');
Please login to merge, or discard this patch.
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/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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,11 +44,11 @@
 block discarded – undo
44 44
 		// Parse the configuration file
45 45
 		try
46 46
 		{
47
-			return (array)Yaml::parse(file_get_contents($this->_file));
47
+			return (array) Yaml::parse(file_get_contents($this->_file));
48 48
 		}
49 49
 		catch (ParseException $e)
50 50
 		{
51
-			throw new InvalidConfigurationException('Failed to parse the specified configuration file: ' . $e->getMessage());
51
+			throw new InvalidConfigurationException('Failed to parse the specified configuration file: '.$e->getMessage());
52 52
 		}
53 53
 	}
54 54
 
Please login to merge, or discard this patch.
src/cli/Manager/AbstractClientManager.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.