62 Commits

Author SHA1 Message Date
Tomas Votruba
ca7f3cd180 Updated Rector to commit 6aca457745976acad6cec231ffc400f0d399a386
6aca457745 [Php81][php82] Add AttributeGroupNewLiner to make new line based on token on ReadOnlyPropertyRector and ReadOnlyClassRector (#6618)
2024-12-19 09:00:56 +00:00
Tomas Votruba
c56fdd2b7f Updated Rector to commit 1b68ff48b80d81bd4295ef304196fd97d74e0032
1b68ff48b8 [automated] Apply Coding Standard (#6524)
2024-12-01 00:43:07 +00:00
Tomas Votruba
c75740ab0c Updated Rector to commit ba57166d9eb828d5c0d62a591b46b774242961e9
ba57166d9e cs
2024-11-20 19:59:31 +00:00
Tomas Votruba
9a4a5b2bc5 Updated Rector to commit eb5df4dde7515bbc497af6da84d5f9dbf96399d8
eb5df4dde7 Use vendor-patches main branch (#6453)
2024-11-20 15:58:53 +00:00
Tomas Votruba
8353c66b11 Updated Rector to commit c2053c75d6c55d2ca64f2003915aa8953c376f98
c2053c75d6 [deprecation] Deprecate AbstractScopeAwareRector in favor of single AbstractRector (#6425)
2024-11-12 22:22:48 +00:00
Tomas Votruba
7f755fff28 Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
2d862a7c77 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
2024-11-03 23:41:59 +00:00
Tomas Votruba
842acb42c9 Updated Rector to commit a44e8351e20e9ad994cd0ff130575b9c3def45c5
a44e8351e2 [Privatization] Allow privatize protected promoted property on PrivatizeFinalClassPropertyRector (#6360)
2024-10-08 08:58:13 +00:00
Tomas Votruba
a5a5200e52 Updated Rector to commit 54a66206986e685787d7e038929618a66e98ec42
54a6620698 [TypeDeclaration] Add isset(), empty(), and negation support on BoolReturnTypeFromBooleanStrictReturnsRector (#6339)
2024-10-01 05:27:50 +00:00
Tomas Votruba
71850def81 Updated Rector to commit 4eacb1ccc94f378eec0f3a08dbd8c90935d8d248
4eacb1ccc9 [automated] Re-Generate preload.php (#6268)
2024-09-01 00:37:22 +00:00
Tomas Votruba
7aeb17c570 Updated Rector to commit ad36316e98182d42006195f66b2f3942639b97b9
ad36316e98 Rectify and clean up skip config (#6205)
2024-08-01 07:43:24 +00:00
Tomas Votruba
2d231b6466 Updated Rector to commit 2f86b39349f1bbd76de8bde10e4cb24bd019744e
2f86b39349 [Php82] Handle has only readonly properties but not all promoted property on ReadOnlyClassRector (#6129)
2024-07-07 16:15:29 +00:00
Tomas Votruba
738f33982e Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
ef333502fb Make NameScopeFactory simpler (#6092)
2024-07-01 06:16:16 +00:00
Tomas Votruba
ae4205369c Updated Rector to commit 7eea29eb1e168c418d41cec118ee9baa3fea8c79
7eea29eb1e Revert "[Example Config] Use class reference instead of self:: on code exampl…" (#6038)
2024-06-26 06:33:54 +00:00
Tomas Votruba
f8a0e24a2f Updated Rector to commit 421f74a9aad5c08ea619abe2abb5f930645de614
421f74a9aa [Example Config] Use class reference instead of self:: on code example config to ease copy paste config  (#6037)
2024-06-26 04:09:32 +00:00
Tomas Votruba
10e64410ff Updated Rector to commit 87411545f3ddb40fef7cbefcac5b7a0d3c511242
87411545f3 [Cleanup] Remove @changelog as no longer maintained/used, use RuleDefinition instead (#6035)
2024-06-26 03:35:12 +00:00
Tomas Votruba
f010267a7c Updated Rector to commit 6b69971dfc740a58aed918782d02710e42004e9d
6b69971dfc [NodeTypeCorrector] Directly use StringType on Intersection of strings on AccessoryNonEmptyStringTypeCorrector (#5933)
2024-06-01 09:25:16 +00:00
Tomas Votruba
12c115e6f6 Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
5193d43b64 [NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852)
2024-05-02 02:21:56 +00:00
Tomas Votruba
664f4e3a6b Updated Rector to commit 0f1987b0faa8dc1c5e086c9b95457d6018b2cd82
0f1987b0fa Adds a link to the PHP Static Analysis Attributes rector rules (#5787)
2024-04-01 16:51:34 +00:00
Tomas Votruba
f2feb272ed Updated Rector to commit aa706a152c2cb0ece154edab3bc89bad8c2f7208
aa706a152c [Php82] Add VariableInStringInterpolationFixerRector (#5781)
2024-03-29 21:39:12 +00:00
Tomas Votruba
d028a05e61 Updated Rector to commit b052ed9ca971f97105ac93712853ea5b897d4dd3
b052ed9ca9 Handle readonly class with attrs (#5736)
2024-03-19 01:20:27 +00:00
Tomas Votruba
ecd615137e Updated Rector to commit 861a8808e7516c74b7e41a884076eac35f60a14f
861a8808e7 [Php82] Skip usage of already RecursiveDirectoryIterator::SKIP_DOTS on FilesystemIteratorSkipDotsRector (#5712)
2024-03-11 03:08:10 +00:00
Tomas Votruba
695c190be3 Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
94b5561ca8 chore: bump min version of github actions (fix deprecations) (#5675)
2024-03-01 20:02:28 +00:00
Tomas Votruba
b0211bc3d8 Updated Rector to commit fa75fcf0d1445f90cff9199875aba352671795f9
fa75fcf0d1 [Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542)
2024-02-01 23:54:40 +00:00
Tomas Votruba
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
7ba32aac1f Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
e12c73eb33 [psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407)
2024-01-01 00:20:45 +00:00
Tomas Votruba
bd56d13367 Updated Rector to commit 39cce5ccb84ce4ac40eeae113db339a961db9489
39cce5ccb8 [ECS] Skip SelfAccessorFixer on *Rector.php to skip example code for using using self:: (#5363)
2023-12-16 15:42:57 +00:00
Tomas Votruba
c5421dfd82 Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
e48234e239 Skip RenameMethodRector in never (#5305)
2023-12-01 09:49:11 +00:00
Tomas Votruba
184cf49468 Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
f9de5d311e [Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219)
2023-11-02 03:20:18 +00:00
Tomas Votruba
671f50c702 Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
ee71539694 [NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099)
2023-10-01 01:36:35 +00:00
Tomas Votruba
326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00
Tomas Votruba
1ff5e14615 Updated Rector to commit 3b5db0a316f6c56cab67da53c9cf0de669dca652
3b5db0a316 [Php81][Php82][Privatization] Handle extends non-readonly class on ReadOnlyPropertyRector+ReadOnlyClassRector+FinalizeClassesWithoutChildrenRector (#4524)
2023-07-16 05:53:07 +00:00
Tomas Votruba
e055ea60b8 Updated Rector to commit 2502fe2e92aa8fcee621b2aa3eb2a1cfdf2b0621
2502fe2e92 [Php82] Skip extends unknown class on ReadonlyClassRector (#4408)
2023-07-03 14:56:15 +00:00
Tomas Votruba
6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388)
2023-07-01 09:41:56 +00:00
Tomas Votruba
d90547ba8c Updated Rector to commit 14d5c18788067f9f75fe234071814aabf42c41b1
14d5c18788 Fix just assigned variable in InlineArrayReturnAssignRector (#4363)
2023-06-27 10:06:39 +00:00
Tomas Votruba
9da21b49dc Updated Rector to commit 52a5b7d9482d52d1fa8b8cbe87bd43eaff68da30
52a5b7d948 [Renaming] Reduce parent check early on ClassRenamer (#4355)
2023-06-26 19:09:51 +00:00
Tomas Votruba
4bb7391372 Updated Rector to commit 715561ce71380357545db851fd44ad8b55948b6d
715561ce71 Introduces AddSensitiveParameterAttributeRector rule (#4342)
2023-06-26 18:55:49 +00:00
Tomas Votruba
cc690d6895 Updated Rector to commit 5f7e5dc030e2ec6d7b0ce279788e40b8dd2901c8
5f7e5dc030  [Php82] Do not reprint Class_ when no attribute on ReadOnlyClassRector  (#4353)
2023-06-26 16:59:37 +00:00
Tomas Votruba
503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba
1c17924ff5 Updated Rector to commit f3b6bfa35f7509815cbc6f40473c1698d82f9a21
f3b6bfa35f Workaround fix for missing newline in attributes in ReadOnlyClassRector (#3839)
2023-05-14 13:52:56 +00:00
Tomas Votruba
7ec53f4a70 Updated Rector to commit e6fd26353fa114ac92ba4b0c9b572f508b850e7f
e6fd26353f Get rid of  in the (#3780)
2023-05-09 16:39:58 +00:00
Tomas Votruba
8af1a1213f Updated Rector to commit 1e052f588331717f87a8d610db6eb7f89f8690d3
1e052f5883 [cleanup] Make use of getArgs(), remove ignored from phpstan (#3771)
2023-05-08 12:54:32 +00:00
Tomas Votruba
af500df8f4 Updated Rector to commit f6c4edcd0c3feaad4abc075bae39474ac34bb82d
f6c4edcd0c [CodeQuality] Add CleanupUnneededNullsafeOperatorRector (#3767)
2023-05-08 10:34:10 +00:00
Tomas Votruba
39697489d4 Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
5a32ed95b7 [cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770)
2023-05-08 10:34:06 +00:00
Tomas Votruba
b5afb126a3 Updated Rector to commit 5e29a35bb60f92bece6fede8080645e7ba7fc421
5e29a35bb6 Performance: Reduce isObjectType calls (#3502)
2023-03-22 14:20:22 +00:00
Tomas Votruba
0e1b533718 Updated Rector to commit d2080c2267a7bfa4b132fa3f728fd509fb3a39e3
d2080c2267 [Php82] Move consume trait property skip check to ReadOnlyClassRector (#3316)
2023-01-29 06:15:33 +00:00
Tomas Votruba
df111d9b04 Updated Rector to commit 9cb97aa042de32f336321516131f007dd519c2d4
9cb97aa042 [Php82] Skip non-FilesystemIterator on FilesystemIteratorSkipDotsRector (#3298)
2023-01-21 13:08:39 +00:00
Tomas Votruba
c0543b1366 Updated Rector to commit 6ff46171a59dbfe0eddabf6ffcd8c091fbea8915
6ff46171a5 Show different code on found errors, and on fatal errors (#3297)
2023-01-20 20:25:25 +00:00
Tomas Votruba
3caa257b2c Updated Rector to commit 1ab342a4ee4bf282bb436c636c401d37a9476d23
1ab342a4ee [Core] Use Original node to pull Scope on AbstractScopeAwareRector (#3295)
2023-01-18 12:08:19 +00:00