Skip to content

Commit de14219

Browse files
committed
add symfony53-framework-bundle
1 parent 4dd339a commit de14219

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

config/sets/symfony/symfony5/symfony53.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@
1616
$rectorConfig->import(__DIR__ . '/symfony53/symfony53-security-core.php');
1717
$rectorConfig->import(__DIR__ . '/symfony53/symfony53-mailer.php');
1818
$rectorConfig->import(__DIR__ . '/symfony53/symfony53-form.php');
19-
20-
$rectorConfig->rules([KernelTestCaseContainerPropertyDeprecationRector::class]);
19+
$rectorConfig->import(__DIR__ . '/symfony53/symfony53-framework-bundle.php');
2120
};
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Rector\Config\RectorConfig;
6+
use Rector\Symfony\Symfony53\Rector\StaticPropertyFetch\KernelTestCaseContainerPropertyDeprecationRector;
7+
8+
return static function (RectorConfig $rectorConfig): void {
9+
$rectorConfig->rules([KernelTestCaseContainerPropertyDeprecationRector::class]);
10+
};

src/Set/SetProvider/Symfony5SetProvider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,11 @@ public function provide(): array
244244

245245
new ComposerTriggeredSet(
246246
SetGroup::SYMFONY,
247-
'symfony/*',
247+
'symfony/framework-bundle',
248248
'5.3',
249-
__DIR__ . '/../../../config/sets/symfony/symfony5/symfony53.php'
249+
__DIR__ . '/../../../config/sets/symfony/symfony5/symfony53/symfony53-framework-bundle.php'
250250
),
251+
251252
new ComposerTriggeredSet(
252253
SetGroup::SYMFONY,
253254
'symfony/*',

0 commit comments

Comments
 (0)