Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanvyas22 committed Nov 24, 2023
1 parent 88c970f commit 351057c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Command/BakeMigrationDiffCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ protected function setup(Arguments $args)
$this->migrationsFiles = glob($this->migrationsPath . '*.php') ?: [];
$this->phinxTable = $this->getPhinxTable($this->plugin);

/** @var \Cake\Database\Connection $connection */
$connection = ConnectionManager::get($this->connection);
$this->tables = $connection->getSchemaCollection()->listTables();
$tableExists = in_array($this->phinxTable, $this->tables, true);
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/
namespace Migrations\Test\TestCase;

use Cake\Routing\Router;
use Cake\Console\TestSuite\ConsoleIntegrationTestTrait;
use Cake\Routing\Router;
use Cake\TestSuite\StringCompareTrait;
use Cake\TestSuite\TestCase as BaseTestCase;

Expand Down

0 comments on commit 351057c

Please sign in to comment.