@@ -100,7 +100,7 @@ |
||
100 | 100 | |
101 | 101 | // Wrap project into objects. |
102 | 102 | foreach ($data['projects'] as $project_name => $project_details) { |
103 | - $project_details['version'] = $this->getCore() . '-' . $project_details['version']; |
|
103 | + $project_details['version'] = $this->getCore().'-'.$project_details['version']; |
|
104 | 104 | |
105 | 105 | $project = new Project($project_name, $this->getCore(), $project_details['version']); |
106 | 106 | $project->setDetails($project_details); |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | if (strpos($package->getName(), 'drupal/') === 0 && $source = $package->getSource()) { |
91 | 91 | $name = $this->getName($package); |
92 | 92 | $version = $this->getVersion($package, $core); |
93 | - $core = substr($version, 0, 1) . '.x'; |
|
93 | + $core = substr($version, 0, 1).'.x'; |
|
94 | 94 | $project = new Project($name, $core, $version, $package->getTime()); |
95 | 95 | $this->projects[] = $project; |
96 | 96 | } |
@@ -139,9 +139,9 @@ discard block |
||
139 | 139 | $version = 'N/A'; |
140 | 140 | |
141 | 141 | if (preg_match('/^([0-9]+\.[0-9]+)\.[0-9]+(.*)/', $package->getVersion(), $match)) { |
142 | - $version = $match[1] . $match[2]; |
|
142 | + $version = $match[1].$match[2]; |
|
143 | 143 | |
144 | - return $core . '-' . $version; |
|
144 | + return $core.'-'.$version; |
|
145 | 145 | } |
146 | 146 | |
147 | 147 | return $version; |
@@ -94,7 +94,7 @@ |
||
94 | 94 | foreach (array('key', 'value1', 'value2', 'value3') as $var) { |
95 | 95 | $$var = isset($match[++$i]) ? $match[$i] : ''; |
96 | 96 | } |
97 | - $value = stripslashes(substr($value1, 1, -1)) . stripslashes(substr($value2, 1, -1)) . $value3; |
|
97 | + $value = stripslashes(substr($value1, 1, -1)).stripslashes(substr($value2, 1, -1)).$value3; |
|
98 | 98 | |
99 | 99 | // Parse array syntax. |
100 | 100 | $keys = preg_split('/\]?\[/', rtrim($key, ']')); |
@@ -98,7 +98,7 @@ |
||
98 | 98 | $missing_keys = array_diff($this->getRequiredKeys(), array_keys($parsed_info)); |
99 | 99 | |
100 | 100 | if (!empty($missing_keys)) { |
101 | - throw new ParseException('Missing required keys (' . implode(', ', $missing_keys) . ')'); |
|
101 | + throw new ParseException('Missing required keys ('.implode(', ', $missing_keys).')'); |
|
102 | 102 | } |
103 | 103 | |
104 | 104 | return $parsed_info; |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | $command = $this->buildCommandLine($source, $destination, $options); |
81 | 81 | |
82 | 82 | if (!empty($options['debug'])) { |
83 | - drush_print('$> ' . $command); |
|
83 | + drush_print('$> '.$command); |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | passthru($command); |
@@ -97,15 +97,15 @@ discard block |
||
97 | 97 | { |
98 | 98 | $options += array('svn' => self::SVN_BINARY_PATH, 'arguments' => array()); |
99 | 99 | |
100 | - $command = escapeshellarg($options['svn']) . ' ' . |
|
101 | - 'checkout ' . escapeshellarg($source) . ' ' . |
|
102 | - escapeshellarg($destination) . ' '; |
|
100 | + $command = escapeshellarg($options['svn']).' '. |
|
101 | + 'checkout '.escapeshellarg($source).' '. |
|
102 | + escapeshellarg($destination).' '; |
|
103 | 103 | |
104 | 104 | foreach ($options['arguments'] as $param => $value) { |
105 | 105 | if (is_numeric($param)) { |
106 | - $command .= escapeshellarg('-' . $value) . ' '; |
|
106 | + $command .= escapeshellarg('-'.$value).' '; |
|
107 | 107 | } else { |
108 | - $command .= '--' . $param . '=' . escapeshellarg($value) . ' '; |
|
108 | + $command .= '--'.$param.'='.escapeshellarg($value).' '; |
|
109 | 109 | } |
110 | 110 | } |
111 | 111 |