Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/LionBundle/Commands/Lion/DB/DBSeedCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int

/** @phpstan-ignore-next-line */
foreach ($this->migrations->orderList($files) as $seedInterface) {
$output->writeln($this->warningOutput("\t>> SEED: " . $seedInterface::class));
$output->writeln($this->warningOutput("\t>> SEEDS: " . $seedInterface::class));

if ($seedInterface instanceof SeedInterface) {
$response = $seedInterface->run();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$dbType = $this->databaseEngine->getDriver($connection[Connection::CONNECTION_TYPE]);

if (isError($this->store->exist(Migrations::MIGRATIONS_PATH . "{$dbNamePascal}/{$dbType}/"))) {
$output->writeln($this->errorOutput("\t>> MIGRATION: There are no defined migrations."));
$output->writeln($this->errorOutput("\t>> MIGRATIONS: There are no defined migrations."));

return parent::FAILURE;
}
Expand Down
4 changes: 2 additions & 2 deletions src/LionBundle/Helpers/Commands/Migrations/Migrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ public function executeMigrations(Command $command, OutputInterface $output, arr
}

/** @phpstan-ignore-next-line */
$message = "\t>> MIGRATION: {$response->message}";
$message = "\t>> MIGRATIONS: {$response->message}";

$output->writeln($command->warningOutput("\t>> MIGRATION: {$namespace}"));
$output->writeln($command->warningOutput("\t>> MIGRATIONS: {$namespace}"));

if (isError($response)) {
$output->writeln($command->errorOutput($message));
Expand Down
Loading