@@ -326,7 +326,7 @@ discard block |
||
| 326 | 326 | { |
| 327 | 327 | $codingStandardPackages = array_filter( |
| 328 | 328 | $this->composer->getRepositoryManager()->getLocalRepository()->getPackages(), |
| 329 | - function (PackageInterface $package) { |
|
| 329 | + function(PackageInterface $package) { |
|
| 330 | 330 | if ($package instanceof AliasPackage) { |
| 331 | 331 | return false; |
| 332 | 332 | } |
@@ -334,7 +334,7 @@ discard block |
||
| 334 | 334 | } |
| 335 | 335 | ); |
| 336 | 336 | |
| 337 | - if (! $this->composer->getPackage() instanceof RootpackageInterface |
|
| 337 | + if (!$this->composer->getPackage() instanceof RootpackageInterface |
|
| 338 | 338 | && $this->composer->getPackage()->getType() === self::PACKAGE_TYPE |
| 339 | 339 | ) { |
| 340 | 340 | $codingStandardPackages[] = $this->composer->getPackage(); |