Skip to content

Commit

Permalink
Merge pull request #109 from Seldaek/patch-1
Browse files Browse the repository at this point in the history
Fix case of class name
  • Loading branch information
Potherca committed Apr 6, 2020
2 parents 6971000 + 0695c81 commit 3d902fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin.php
Expand Up @@ -15,7 +15,7 @@
use Composer\IO\IOInterface;
use Composer\Package\AliasPackage;
use Composer\Package\PackageInterface;
use Composer\Package\RootpackageInterface;
use Composer\Package\RootPackageInterface;
use Composer\Plugin\PluginInterface;
use Composer\Script\Event;
use Composer\Script\ScriptEvents;
Expand Down Expand Up @@ -488,7 +488,7 @@ function (PackageInterface $package) {
);

if (
! $this->composer->getPackage() instanceof RootpackageInterface
! $this->composer->getPackage() instanceof RootPackageInterface
&& $this->composer->getPackage()->getType() === self::PACKAGE_TYPE
) {
$codingStandardPackages[] = $this->composer->getPackage();
Expand Down

0 comments on commit 3d902fb

Please sign in to comment.