Skip to content

Commit

Permalink
run lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nealio82 committed Dec 29, 2020
1 parent e27b8ad commit 8bdeeec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/Configuration/MigrationConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Quidco\DbSampler\Configuration;


class MigrationConfiguration
{
private $config;
Expand Down Expand Up @@ -52,4 +51,4 @@ public function getDestinationDbName(): string
{
return $this->config->destDb;
}
}
}
2 changes: 0 additions & 2 deletions src/Configuration/MigrationConfigurationCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Quidco\DbSampler\Configuration;


class MigrationConfigurationCollection
{
/**
Expand Down Expand Up @@ -31,7 +30,6 @@ public static function fromFilePaths(array $filepaths): self
$config = MigrationConfiguration::fromJson(file_get_contents($file));

$configs[$config->getName()] = $config;

}
} catch (\RuntimeException $e) {
print("Migration file '$migrationFilePath' is invalid " . $e->getMessage());
Expand Down
4 changes: 2 additions & 2 deletions src/Migrator/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public function __construct(
Connection $sourceConnection,
Connection $destConnection,
LoggerInterface $logger
)
{
) {

$this->sourceConnection = $sourceConnection;
$this->destConnection = $destConnection;
$this->logger = $logger;
Expand Down

0 comments on commit 8bdeeec

Please sign in to comment.