Skip to content

Commit b07f049

Browse files
authored
Mark all command and compiler pass classes as final (#796)
1 parent 95c4ba9 commit b07f049

15 files changed

+16
-16
lines changed

Command/ClearMetadataCacheDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @internal since version 4.7.0
1616
*/
17-
class ClearMetadataCacheDoctrineODMCommand extends MetadataCommand
17+
final class ClearMetadataCacheDoctrineODMCommand extends MetadataCommand
1818
{
1919
protected function configure(): void
2020
{

Command/CreateSchemaDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* @internal since version 4.7.0
1717
*/
18-
class CreateSchemaDoctrineODMCommand extends CreateCommand
18+
final class CreateSchemaDoctrineODMCommand extends CreateCommand
1919
{
2020
protected function configure(): void
2121
{

Command/DropSchemaDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* @internal since version 4.7.0
1717
*/
18-
class DropSchemaDoctrineODMCommand extends DropCommand
18+
final class DropSchemaDoctrineODMCommand extends DropCommand
1919
{
2020
protected function configure(): void
2121
{

Command/GenerateHydratorsDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @internal since version 4.7.0
1616
*/
17-
class GenerateHydratorsDoctrineODMCommand extends GenerateHydratorsCommand
17+
final class GenerateHydratorsDoctrineODMCommand extends GenerateHydratorsCommand
1818
{
1919
protected function configure(): void
2020
{

Command/GenerateProxiesDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @internal since version 4.7.0
1616
*/
17-
class GenerateProxiesDoctrineODMCommand extends GenerateProxiesCommand
17+
final class GenerateProxiesDoctrineODMCommand extends GenerateProxiesCommand
1818
{
1919
protected function configure(): void
2020
{

Command/InfoDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @internal since version 4.7.0
2222
*/
23-
class InfoDoctrineODMCommand extends DoctrineODMCommand
23+
final class InfoDoctrineODMCommand extends DoctrineODMCommand
2424
{
2525
protected function configure(): void
2626
{

Command/LoadDataFixturesDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @internal since version 4.7.0
2424
*/
25-
class LoadDataFixturesDoctrineODMCommand extends DoctrineODMCommand
25+
final class LoadDataFixturesDoctrineODMCommand extends DoctrineODMCommand
2626
{
2727
public function __construct(ManagerRegistry $registry, private SymfonyFixturesLoaderInterface $fixturesLoader)
2828
{

Command/QueryDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @internal since version 4.7.0
1616
*/
17-
class QueryDoctrineODMCommand extends QueryCommand
17+
final class QueryDoctrineODMCommand extends QueryCommand
1818
{
1919
protected function configure(): void
2020
{

Command/ShardDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* @internal since version 4.7.0
1717
*/
18-
class ShardDoctrineODMCommand extends ShardCommand
18+
final class ShardDoctrineODMCommand extends ShardCommand
1919
{
2020
protected function configure(): void
2121
{

Command/UpdateSchemaDoctrineODMCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* @internal since version 4.7.0
1717
*/
18-
class UpdateSchemaDoctrineODMCommand extends UpdateCommand
18+
final class UpdateSchemaDoctrineODMCommand extends UpdateCommand
1919
{
2020
protected function configure(): void
2121
{

0 commit comments

Comments
 (0)