@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | { |
| 301 | 301 | $codingStandardPackages = array_filter( |
| 302 | 302 | $this->composer->getRepositoryManager()->getLocalRepository()->getPackages(), |
| 303 | - function (PackageInterface $package) { |
|
| 303 | + function(PackageInterface $package) { |
|
| 304 | 304 | if ($package instanceof AliasPackage) { |
| 305 | 305 | return false; |
| 306 | 306 | } |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | } |
| 309 | 309 | ); |
| 310 | 310 | |
| 311 | - if (! $this->composer->getPackage() instanceof \Composer\Package\RootpackageInterface |
|
| 311 | + if (!$this->composer->getPackage() instanceof \Composer\Package\RootpackageInterface |
|
| 312 | 312 | && $this->composer->getPackage()->getType() === self::PACKAGE_TYPE |
| 313 | 313 | ) { |
| 314 | 314 | $codingStandardPackages[] = $this->composer->getPackage(); |