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
11 changes: 11 additions & 0 deletions config/sets/symfony/symfony7/symfony73.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;

// @see https://github.com/symfony/symfony/blame/7.3/UPGRADE-7.3.md

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->import(__DIR__ . '/symfony73/symfony73-console.php');
};
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
use Rector\Symfony\Symfony73\Rector\Class_\CommandHelpToAttributeRector;
use Rector\Symfony\Symfony73\Rector\Class_\InvokableCommandInputAttributeRector;

// @see https://github.com/symfony/symfony/blame/7.3/UPGRADE-7.3.md

return RectorConfig::configure()
->withRules([CommandHelpToAttributeRector::class, InvokableCommandInputAttributeRector::class]);
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->rules([
CommandHelpToAttributeRector::class, InvokableCommandInputAttributeRector::class
]);
};
13 changes: 13 additions & 0 deletions src/Set/SetProvider/Symfony7SetProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,19 @@ public function provide(): array
'7.2',
__DIR__ . '/../../../config/sets/symfony/symfony7/symfony72/symfony72-serializer.php'
),

new ComposerTriggeredSet(
SetGroup::SYMFONY,
'symfony/symfony',
'7.3',
__DIR__ . '/../../../config/sets/symfony/symfony7/symfony73.php'
),
new ComposerTriggeredSet(
SetGroup::SYMFONY,
'symfony/console',
'7.2',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__DIR__ . '/../../../config/sets/symfony/symfony7/symfony73/symfony73-console.php'
),
];
}
}
2 changes: 1 addition & 1 deletion src/Set/SymfonySetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ final class SymfonySetList
/**
* @var string
*/
final public const SYMFONY_73 = __DIR__ . '/../../config/sets/symfony/symfony73.php';
final public const SYMFONY_73 = __DIR__ . '/../../config/sets/symfony/symfony7/symfony73.php';

/**
* @var string
Expand Down
Loading