@@ -264,11 +264,11 @@ |
||
264 | 264 | } |
265 | 265 | } |
266 | 266 | |
267 | - /** |
|
268 | - * Get the path to the current PHP version being used. |
|
269 | - * |
|
270 | - * Duplicate of the same in the EventDispatcher class in Composer itself. |
|
271 | - */ |
|
267 | + /** |
|
268 | + * Get the path to the current PHP version being used. |
|
269 | + * |
|
270 | + * Duplicate of the same in the EventDispatcher class in Composer itself. |
|
271 | + */ |
|
272 | 272 | protected function getPhpExecCommand() |
273 | 273 | { |
274 | 274 | $finder = new PhpExecutableFinder(); |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | $finder = new PhpExecutableFinder(); |
275 | 275 | $phpPath = $finder->find(false); |
276 | 276 | if (!$phpPath) { |
277 | - throw new \RuntimeException('Failed to locate PHP binary to execute '.$phpPath); |
|
277 | + throw new \RuntimeException('Failed to locate PHP binary to execute ' . $phpPath); |
|
278 | 278 | } |
279 | 279 | $phpArgs = $finder->findArguments(); |
280 | 280 | $phpArgs = $phpArgs ? ' ' . implode(' ', $phpArgs) : ''; |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | { |
386 | 386 | $codingStandardPackages = array_filter( |
387 | 387 | $this->composer->getRepositoryManager()->getLocalRepository()->getPackages(), |
388 | - function (PackageInterface $package) { |
|
388 | + function(PackageInterface $package) { |
|
389 | 389 | if ($package instanceof AliasPackage) { |
390 | 390 | return false; |
391 | 391 | } |
@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | } |
394 | 394 | ); |
395 | 395 | |
396 | - if (! $this->composer->getPackage() instanceof RootpackageInterface |
|
396 | + if (!$this->composer->getPackage() instanceof RootpackageInterface |
|
397 | 397 | && $this->composer->getPackage()->getType() === self::PACKAGE_TYPE |
398 | 398 | ) { |
399 | 399 | $codingStandardPackages[] = $this->composer->getPackage(); |