@@ -236,7 +236,7 @@ |
||
236 | 236 | { |
237 | 237 | $codingStandardPackages = array_filter( |
238 | 238 | $this->composer->getRepositoryManager()->getLocalRepository()->getPackages(), |
239 | - function (PackageInterface $package) { |
|
239 | + function(PackageInterface $package) { |
|
240 | 240 | if ($package instanceof AliasPackage) { |
241 | 241 | return false; |
242 | 242 | } |
@@ -267,11 +267,11 @@ |
||
267 | 267 | $packageInstallPath = $this->composer->getInstallationManager()->getInstallPath($package); |
268 | 268 | $finder = new Finder(); |
269 | 269 | $finder->files() |
270 | - ->ignoreVCS(true) |
|
271 | - ->in($packageInstallPath) |
|
272 | - ->depth('>= 1') |
|
273 | - ->depth('< 4') |
|
274 | - ->name('ruleset.xml'); |
|
270 | + ->ignoreVCS(true) |
|
271 | + ->in($packageInstallPath) |
|
272 | + ->depth('>= 1') |
|
273 | + ->depth('< 4') |
|
274 | + ->name('ruleset.xml'); |
|
275 | 275 | foreach ($finder as $ruleset) { |
276 | 276 | $standardsPath = dirname(dirname($ruleset)); |
277 | 277 | if (in_array($standardsPath, $this->installedPaths, true) === false) { |