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

declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\Name\RenameClassRector;

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

return RectorConfig::configure()
->withConfiguredRule(RenameClassRector::class, [
// @see https://github.com/symfony/symfony/blob/7.2/UPGRADE-7.2.md#serializer
'Symfony\Component\Serializer\NameConverter\AdvancedNameConverterInterface' => 'Symfony\Component\Serializer\NameConverter\NameConverterInterface',
]);
6 changes: 6 additions & 0 deletions src/Set/SetProvider/SymfonySetProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ public function provide(): array
'7.1',
__DIR__ . '/../../../config/sets/symfony/symfony71.php'
),
new ComposerTriggeredSet(
SetGroup::SYMFONY,
'symfony/*',
'7.2',
__DIR__ . '/../../../config/sets/symfony/symfony72.php'
),

new Set(SetGroup::SYMFONY, 'Configs', __DIR__ . '/../../../config/sets/symfony/configs.php'),
new Set(
Expand Down
5 changes: 5 additions & 0 deletions src/Set/SymfonySetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ final class SymfonySetList
*/
final public const SYMFONY_71 = __DIR__ . '/../../config/sets/symfony/symfony71.php';

/**
* @var string
*/
final public const SYMFONY_72 = __DIR__ . '/../../config/sets/symfony/symfony72.php';

/**
* @var string
*/
Expand Down
Loading