File tree Expand file tree Collapse file tree 4 files changed +24
-9
lines changed
config/sets/symfony/symfony5 Expand file tree Collapse file tree 4 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 1111
1212 $ rectorConfig ->import (__DIR__ . '/symfony54/symfony54-validator.php ' );
1313 $ rectorConfig ->import (__DIR__ . '/symfony54/symfony54-security-bundle.php ' );
14- $ rectorConfig ->import (__DIR__ . '/symfony54/symfony54-security.php ' );
14+ $ rectorConfig ->import (__DIR__ . '/symfony54/symfony54-security-core.php ' );
15+ $ rectorConfig ->import (__DIR__ . '/symfony54/symfony54-security-http.php ' );
1516 $ rectorConfig ->import (__DIR__ . '/symfony54/symfony54-cache.php ' );
1617 $ rectorConfig ->import (__DIR__ . '/symfony54/symfony54-http-kernel.php ' );
1718 $ rectorConfig ->import (__DIR__ . '/symfony54/symfony54-notifier.php ' );
Original file line number Diff line number Diff line change 44
55use Rector \Config \RectorConfig ;
66use Rector \Renaming \Rector \ClassConstFetch \RenameClassConstFetchRector ;
7- use Rector \Renaming \Rector \Name \RenameClassRector ;
87use Rector \Renaming \ValueObject \RenameClassAndConstFetch ;
98use Rector \Renaming \ValueObject \RenameClassConstFetch ;
109
3433 'PUBLIC_ACCESS '
3534 ),
3635 ]);
37-
38- $ rectorConfig ->ruleWithConfiguration (RenameClassRector::class, [
39- // @see https://github.com/symfony/symfony/pull/42050
40- 'Symfony\Component\Security\Http\Event\DeauthenticatedEvent ' => 'Symfony\Component\Security\Http\Event\TokenDeauthenticatedEvent ' ,
41- ]);
4236};
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ use Rector \Config \RectorConfig ;
6+ use Rector \Renaming \Rector \Name \RenameClassRector ;
7+
8+ return static function (RectorConfig $ rectorConfig ): void {
9+ $ rectorConfig ->ruleWithConfiguration (RenameClassRector::class, [
10+ // @see https://github.com/symfony/symfony/pull/42050
11+ 'Symfony\Component\Security\Http\Event\DeauthenticatedEvent ' => 'Symfony\Component\Security\Http\Event\TokenDeauthenticatedEvent ' ,
12+ ]);
13+ };
Original file line number Diff line number Diff line change @@ -272,9 +272,16 @@ public function provide(): array
272272
273273 new ComposerTriggeredSet (
274274 SetGroup::SYMFONY ,
275- 'symfony/security-bundle ' ,
275+ 'symfony/security-core ' ,
276+ '5.4 ' ,
277+ __DIR__ . '/../../../config/sets/symfony/symfony5/symfony54/symfony54-security-core.php '
278+ ),
279+
280+ new ComposerTriggeredSet (
281+ SetGroup::SYMFONY ,
282+ 'symfony/security-http ' ,
276283 '5.4 ' ,
277- __DIR__ . '/../../../config/sets/symfony/symfony5/symfony54/symfony54-security.php '
284+ __DIR__ . '/../../../config/sets/symfony/symfony5/symfony54/symfony54-security-http .php '
278285 ),
279286
280287 new ComposerTriggeredSet (
You can’t perform that action at this time.
0 commit comments