Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Jan 3, 2023
1 parent 4b746ab commit 98979ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Bundle/CoverallsBundle/Console/ApplicationFactory.php
Expand Up @@ -39,14 +39,15 @@ public static function create($rootDir)
{
$command = new CoverallsJobsCommand();
$command->setRootDir($rootDir);

var_dump("FRS", 'class_exists(SingleCommandApplication::class)', class_exists(SingleCommandApplication::class), SingleCommandApplication::class);
if (\class_exists(SingleCommandApplication::class) === false) {
var_dump("FRS", "use CoverallsApplication");
$application = new CoverallsApplication(self::APP_NAME, self::APP_VERSION);
$application->add($command);

return $application;
}

var_dump("FRS", "use SF Application");
$application = new Application(self::APP_NAME, self::APP_VERSION);
$application->add($command);
$application->setDefaultCommand($command->getName(), true);
Expand Down

0 comments on commit 98979ce

Please sign in to comment.