Commit Graph

331 Commits

Author SHA1 Message Date
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 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 5457aea4e0 Updated Rector to commit 1f9829d2a3820f39fe0601b996c5cba71ffb42b0
1f9829d2a3 [Strict] Add StaticProperty supporton may be unitialized static property on DisallowedEmptyRuleFixerRector (#5428)
2024-01-04 15:49:28 +00:00
Tomas Votruba 35d4ae5ad9 Updated Rector to commit d886cffeded58fb4b5a55182f4b98b796545c18e
d886cffede [build] Try removing scope aliases
2024-01-02 02:50:51 +00:00
Tomas Votruba 0601eaa986 Updated Rector to commit cf0d54eb5996ded864208ee940fb794e7440ea6a
cf0d54eb59 fix Core namespace
2024-01-02 02:42:51 +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 3916887582 Updated Rector to commit 9f937086898498f37d71977895312cbdb7fdbc6a
9f93708689 [Strict] Handle may be unitialized property on DisallowedEmptyRuleFixerRector (#5409)
2024-01-01 13:26:19 +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 9d01b5b403 Updated Rector to commit d9c5d8f09bfd68e7496c07c23ddac03447cfbb32
d9c5d8f09b [Strict] Allow check '0' empty zero on BooleanInTernaryOperatorRuleFixerRector on string type (#5297)
2023-12-03 15:49:51 +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 84b97fe47c Updated Rector to commit c3840325600449b562691e34612279dcd4316043
c384032560 [Strict] Fix DisallowedEmptyRuleFixerRector empty() allow string '0' check (#5296)
2023-11-28 17:41:50 +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 e43f2a6386 Updated Rector to commit a3d2fcda640abe4af03822e415c5fbe757c2f88c
a3d2fcda64 [NodeTypeResolver] Use Scope->getType() on ArrayDimFetch on NodeTypeResolver::getNativeType() (#5037)
2023-09-18 22:07:04 +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 cd5f986bfb Updated Rector to commit 8ffacac3b77f7539e5bef55a462ed0451c752469
8ffacac3b7 [Strict] Skip docblock on BooleanInBooleanNotRuleFixerRector (#4640)
2023-08-03 17:14:16 +00:00
Tomas Votruba ed1dba1541 Updated Rector to commit 8f6b3660d0aeee1c44fd9726c97429900863d460
8f6b3660d0 [Strict] Skip docblock on DisallowedShortTernaryRuleFixerRector (#4639)
2023-08-03 17:04:00 +00:00
Tomas Votruba 32ea38b2ab Updated Rector to commit 3c2fab22122dbab967154f433c93c61ec5532de5
3c2fab2212 [Strict] Skip docblock on BooleanInTernaryOperatorRuleFixerRector (#4638)
2023-08-03 16:56:43 +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 279fea6a57 Updated Rector to commit b5f973f768f2bb55ca4b224a58a05eb5817b2cae
b5f973f768 [Strict] Skip @return docblock on BooleanInIfConditionRuleFixerRector (#4609)
2023-07-26 15:22:33 +00:00
Tomas Votruba 1df6d4abb3 Updated Rector to commit 65e6caedb37c1d447a4da1992a14b82c5aa41871
65e6caedb3 [Strict] Skip from docblock @return on DisallowedEmptyRuleFixerRector (#4608)
2023-07-26 14:44:50 +00:00
Tomas Votruba 51b2bd7a2e Updated Rector to commit 8c5507f3e83e70657f95ae9ccb6488732b0359f5
8c5507f3e8 [Strict] Skip empty() from param doc on DisallowedEmptyRuleFixerRector (#4550)
2023-07-20 11:22:15 +00:00
Tomas Votruba bff94f9200 Updated Rector to commit ceab6d71bb3436c1c613651a12af55954ab3f7bf
ceab6d71bb Add currentStmt property on AbstractRector to allow pull Scope from it on deep Expr (#4437)
2023-07-19 11:08:33 +00:00
Tomas Votruba 0fc823c862 Updated Rector to commit bda645d0ab5e26f21a4c56fbaaffed719ff187d2
bda645d0ab [Strict] Add $hasChanged flag on BooleanInIfConditionRuleFixerRector (#4535)
2023-07-19 10:36:49 +00:00
Tomas Votruba db04f76104 Updated Rector to commit d78bfb44bebd32bd212a1f1ca43d2da51b22286d
d78bfb44be [Strict] Fix DisallowedEmptyRuleFixerRector on empty string isset (#4485)
2023-07-12 07:23:56 +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 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 7f654942fd Updated Rector to commit 18a2a0f37852ed6f5fb52c07e2c1137cf556f5b4
18a2a0f378 Add STRICT_BOOLEANS set (#4116)
2023-06-08 16:22:20 +00:00
Tomas Votruba 9a2931cbe4 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-06-01 08:56:46 +00:00
Tomas Votruba 26bbf728d6 Updated Rector to commit d8da061308902cf4ef7a30963d5c9f32b6b9ec02
d8da061308 Make SimplifyIfNullableReturnRector + ChangeNestedIfsToEarlyReturnRector work without next/prev (#3794)
2023-05-11 11:52:57 +00:00
Tomas Votruba c0d9ece267 Updated Rector to commit 662986980adce40be299cc221b715fba883e86cd
662986980a Drop AttributeKey::SCOPE in Rector classes (#3792)
2023-05-11 08:30:47 +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 65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba 3f1c0e6187 Updated Rector to commit 9629890a306844ba49ea6689d58fbecb67a7980e
9629890a30 Use isInteger() (#3593)
2023-04-09 00:51:38 +00:00
Tomas Votruba a03a19aeca Updated Rector to commit 273e4b43f1dbe84d426f4db5ab7ea9b0b1fea190
273e4b43f1 Use isBoolean() (#3591)
2023-04-08 16:37:58 +00:00
Tomas Votruba 3da290e4ab Updated Rector to commit dbb0e196a43d8c14a9de6abeef8fe081e95c51c2
dbb0e196a4 Revert all is* changes (#3584)
2023-04-08 13:25:07 +00:00
Tomas Votruba 9d60770133 Updated Rector to commit e66317aeb276bb0b544e7b4b55057c9dab5fbb73
e66317aeb2 fix cs (#3579)
2023-04-08 11:32:12 +00:00
Tomas Votruba aaddfe2522 Updated Rector to commit 59cdfc8d814b094bffd814f4679c828cd45c7ec9
59cdfc8d81 Use isInteger() (#3571)
2023-04-08 01:19:54 +00:00
Tomas Votruba e7c7a40197 Updated Rector to commit 437cc5aa660262603343cdbb193e0a54abf9037e
437cc5aa66 Use isBoolean() (#3570)
2023-04-08 01:12:35 +00:00
Tomas Votruba 9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba 0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba b4b2b8f25e Updated Rector to commit dc52f2b5bfc3b31c474555ba0155b50ea6211d18
dc52f2b5bf [TypeDeclaration] Handle return from array_map() on ReturnTypeFromStrictTypedCallRector (#3471)
2023-03-10 15:21:11 +00:00
Tomas Votruba e27f3e5b0b Updated Rector to commit f87827ca264302c24015bc9d2a27a4a288a05682
f87827ca26 Implement  (#3430)
2023-03-09 22:50:19 +00:00
Tomas Votruba 7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00