@@ -209,11 +209,11 @@ |
||
209 | 209 | $packageInstallPath = $this->composer->getInstallationManager()->getInstallPath($package); |
210 | 210 | $finder = new Finder(); |
211 | 211 | $finder->files() |
212 | - ->ignoreVCS(true) |
|
213 | - ->in($packageInstallPath) |
|
214 | - ->depth('> 1') |
|
215 | - ->depth('< 4') |
|
216 | - ->name('ruleset.xml'); |
|
212 | + ->ignoreVCS(true) |
|
213 | + ->in($packageInstallPath) |
|
214 | + ->depth('> 1') |
|
215 | + ->depth('< 4') |
|
216 | + ->name('ruleset.xml'); |
|
217 | 217 | foreach ($finder as $ruleset) { |
218 | 218 | $standardsPath = dirname(dirname($ruleset)); |
219 | 219 | if (in_array($standardsPath, $this->installedPaths, true) === false) { |
@@ -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 | } |