File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 3737 "league/container" : " ~2" ,
3838 "psr/log" : " ~1.0" ,
3939 "psy/psysh" : " ~0.6" ,
40- "sebastian/version" : " ^1|^2" ,
4140 "symfony/config" : " ~2.2|^3" ,
4241 "symfony/console" : " ~2.7|^3" ,
4342 "symfony/event-dispatcher" : " ~2.7|^3" ,
Original file line number Diff line number Diff line change 99use Consolidation \SiteAlias \SiteAliasManager ;
1010use League \Container \ContainerInterface ;
1111use Psr \Log \LoggerInterface ;
12- use SebastianBergmann \Version ;
1312use Symfony \Component \Console \Application ;
1413use Symfony \Component \Console \Input \InputInterface ;
1514use Symfony \Component \Console \Output \OutputInterface ;
@@ -81,8 +80,7 @@ public static function getVersion()
8180 {
8281 if (!static ::$ version ) {
8382 $ drush_info = static ::drushReadDrushInfo ();
84- $ instance = new Version ($ drush_info ['drush_version ' ], dirname (__DIR__ ));
85- static ::$ version = $ instance ->getversion ();
83+ static ::$ version = $ drush_info ['drush_version ' ];
8684 }
8785 return static ::$ version ;
8886 }
You can’t perform that action at this time.
0 commit comments