fix(TopFloorPlugin): try other way to autoload

master
dufraissejeremy 2 years ago
parent 20923c4eac
commit 4dd2894b7c
  1. 2
      src/ParentPlugin.php

@ -12,7 +12,7 @@ use Composer\IO\IOInterface;
use Composer\Plugin\PluginInterface; use Composer\Plugin\PluginInterface;
use TopFloor\ComposerCleanupVcsDirs\Plugin as TopFloorPlugin; 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 abstract class ParentPlugin extends TopFloorPlugin
{ {
/** /**

Loading…
Cancel
Save