@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $file = realpath( |
60 | 60 | FileSystemHelper::isAbsolute($extra['commit-bin-file']) |
61 | 61 | ? $extra['commit-bin-file'] |
62 | - : $baseDir . '/' . $extra['commit-bin-file'] |
|
62 | + : $baseDir.'/'.$extra['commit-bin-file'] |
|
63 | 63 | ); |
64 | 64 | |
65 | 65 | if (!file_exists($file)) { |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | ); |
128 | 128 | |
129 | 129 | if ($additionalMessage) { |
130 | - $warning .= ' ' . $additionalMessage; |
|
130 | + $warning .= ' '.$additionalMessage; |
|
131 | 131 | } |
132 | 132 | |
133 | 133 | return $warning; |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | if (count($builder->getWarnings()) > 0) { |
134 | 134 | $this->io->writeError('<error>Invalid config for composer-changelogs plugin:</error>'); |
135 | 135 | foreach ($builder->getWarnings() as $warning) { |
136 | - $this->io->write(' ' . $warning); |
|
136 | + $this->io->write(' '.$warning); |
|
137 | 137 | } |
138 | 138 | } |
139 | 139 | } |
@@ -167,11 +167,11 @@ discard block |
||
167 | 167 | |
168 | 168 | $workingDirectory = getcwd(); |
169 | 169 | $filename = tempnam(sys_get_temp_dir(), 'composer-changelogs-'); |
170 | - $message = $this->config->getCommitMessage() . PHP_EOL . PHP_EOL . strip_tags($this->outputter->getOutput()); |
|
170 | + $message = $this->config->getCommitMessage().PHP_EOL.PHP_EOL.strip_tags($this->outputter->getOutput()); |
|
171 | 171 | |
172 | 172 | file_put_contents($filename, $message); |
173 | 173 | |
174 | - $command = $this->config->getCommitBinFile() . ' ' . escapeshellarg($workingDirectory) . ' ' . escapeshellarg($filename); |
|
174 | + $command = $this->config->getCommitBinFile().' '.escapeshellarg($workingDirectory).' '.escapeshellarg($filename); |
|
175 | 175 | |
176 | 176 | $this->io->write(sprintf('Executing following command: %s', $command)); |
177 | 177 | exec($command); |