Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
added second level info
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Sep 30, 2018
1 parent 2544ae1 commit 9bd9951
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/ProxyConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
declare(strict_types=1);
namespace Narrowspark\Automatic\Configurator;

use Composer\IO\IOInterface;
use Narrowspark\Automatic\Common\Contract\Package as PackageContract;

final class ProxyConfigurator extends AbstractClassConfigurator
Expand Down Expand Up @@ -102,7 +103,7 @@ private function buildClassNamesContent(PackageContract $package, array $classes

$content .= $spaces . '\'' . \str_replace('::class', '', $className) . '\' => ' . $class . ",\n";

$this->write(\sprintf('Enabling [%s] as a %s proxy.', $class, $env));
$this->io->write(\sprintf(' - Enabling [%s] as a %s proxy.', $class, $env), true, IOInterface::VERBOSE);
}

return $this->markData($package->getName(), $content, 16);
Expand Down
3 changes: 2 additions & 1 deletion src/ServiceProviderConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
declare(strict_types=1);
namespace Narrowspark\Automatic\Configurator;

use Composer\IO\IOInterface;
use Narrowspark\Automatic\Common\Contract\Package as PackageContract;

final class ServiceProviderConfigurator extends AbstractClassConfigurator
Expand Down Expand Up @@ -86,7 +87,7 @@ private function buildClassNamesContent(PackageContract $package, array $classes
foreach ($classes as $class) {
$content .= ' ' . $class . ",\n";

$this->write(\sprintf('Enabling [%s] as a %s service provider.', $class, $type));
$this->io->write(\sprintf(' - Enabling [%s] as a %s service provider.', $class, $type), true, IOInterface::VERBOSE);
}

return $this->markData($package->getName(), $content);
Expand Down

0 comments on commit 9bd9951

Please sign in to comment.