fix(TopFloorPlugin): try other way to autoload

This commit is contained in:
Jérémy Dufraisse 2023-03-16 22:44:00 +01:00
parent 20923c4eac
commit 4dd2894b7c

View File

@ -12,7 +12,7 @@ use Composer\IO\IOInterface;
use Composer\Plugin\PluginInterface;
use TopFloor\ComposerCleanupVcsDirs\Plugin as TopFloorPlugin;
if (class_exists(TopFloorPlugin::class,false)){
if (file_exists(__DIR__.'/../../../topfloor/composer-cleanup-vcs-dirs/src/Plugin.php') && class_exists(TopFloorPlugin::class,true)){
abstract class ParentPlugin extends TopFloorPlugin
{
/**