From 0695c81fc96591f8ef256bcb72739a2e4a268a40 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 1 Apr 2020 17:56:12 +0200 Subject: [PATCH] Fix case of class name --- src/Plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugin.php b/src/Plugin.php index 141dda62..847405d8 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -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; @@ -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();