Skip to content

Commit cfaa5a0

Browse files
authored
Merge pull request #239 from carusogabriel/doctrine-cs-v5
Apply Doctrine CS v5
2 parents 762772a + 170b5df commit cfaa5a0

13 files changed

+43
-50
lines changed

Command/MigrationsDiffDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ protected function configure() : void
2525
->setName('doctrine:migrations:diff')
2626
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2727
->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command.')
28-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
29-
;
28+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
3029
}
3130

3231
public function initialize(InputInterface $input, OutputInterface $output) : void

Command/MigrationsDumpSchemaDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected function configure() : void
2424
->setName('doctrine:migrations:dump-schema')
2525
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2626
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
27-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
28-
;
27+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
2928
}
3029

3130
public function initialize(InputInterface $input, OutputInterface $output) : void

Command/MigrationsExecuteDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected function configure() : void
2424
->setName('doctrine:migrations:execute')
2525
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2626
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
27-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
28-
;
27+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
2928
}
3029

3130
public function initialize(InputInterface $input, OutputInterface $output) : void

Command/MigrationsGenerateDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected function configure() : void
2424
->setName('doctrine:migrations:generate')
2525
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2626
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
27-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
28-
;
27+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
2928
}
3029

3130
public function initialize(InputInterface $input, OutputInterface $output) : void

Command/MigrationsLatestDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected function configure() : void
2424
->setName('doctrine:migrations:latest')
2525
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2626
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
27-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
28-
;
27+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
2928
}
3029

3130
public function initialize(InputInterface $input, OutputInterface $output) : void

Command/MigrationsMigrateDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected function configure() : void
2424
->setName('doctrine:migrations:migrate')
2525
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2626
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
27-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
28-
;
27+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
2928
}
3029

3130
public function initialize(InputInterface $input, OutputInterface $output) : void

Command/MigrationsRollupDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected function configure() : void
2424
->setName('doctrine:migrations:rollup')
2525
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2626
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
27-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
28-
;
27+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
2928
}
3029

3130
public function initialize(InputInterface $input, OutputInterface $output) : void

Command/MigrationsStatusDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected function configure() : void
2424
->setName('doctrine:migrations:status')
2525
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2626
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
27-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
28-
;
27+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
2928
}
3029

3130
public function initialize(InputInterface $input, OutputInterface $output) : void

Command/MigrationsUpToDateDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected function configure() : void
2424
->setName('doctrine:migrations:up-to-date')
2525
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2626
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
27-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
28-
;
27+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
2928
}
3029

3130
public function initialize(InputInterface $input, OutputInterface $output) : void

Command/MigrationsVersionDoctrineCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected function configure() : void
2424
->setName('doctrine:migrations:version')
2525
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')
2626
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
27-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.')
28-
;
27+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
2928
}
3029

3130
public function initialize(InputInterface $input, OutputInterface $output) : void

0 commit comments

Comments
 (0)