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
7e09c8b171
Updated Rector to commit 84bb59697d2cf5d564b5a2ace9be4f3496d6f131
...
84bb59697d
[StaticTypeMapper] Reduce instanceof TypeWithClassName usage via ClassNameFromObjectTypeResolver (#6421 )
2024-11-12 13:18:09 +00:00
Tomas Votruba
0b834e6092
Updated Rector to commit 3949fc260b51c4355f86d21a26db7d2e4cae0b49
...
3949fc260b
Move instanceof PHPStan Type to ->is*() take 1 (#6416 )
2024-11-12 00:20:18 +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
6aa0ede384
Updated Rector to commit d246d27a9442cc08a419e899e07c2c19a680eb80
...
d246d27a94
[CodeQuality] Skip multiple lines on JoinStringConcatRector (#6404 )
2024-10-29 23:20:09 +00:00
Tomas Votruba
9e205fbc3e
Updated Rector to commit 23917974669d13ac0632cf53f6c85c7f74e98a6b
...
2391797466
[CodeQuality] Skip append non empty array on ForeachItemsAssignToEmptyArrayToAssignRector (#6390 )
2024-10-20 00:34:29 +00:00
Tomas Votruba
2269fb9654
Updated Rector to commit 3bd920dc75b8b25cace7af734d127a2bf275881d
...
3bd920dc75
[CodeQuality] Handle If cond as assign on ExplicitBoolCompareRector (#6389 )
2024-10-19 07:29:54 +00:00
Tomas Votruba
1a957f8b19
Updated Rector to commit 61016bf5307b804df5babb81db27cacbccb12efa
...
61016bf530
[CodeQuality] Use existing PhpAttributeAnalyzer service instead of AttributeFinder from Doctrine package on DynamicDocBlockPropertyToNativePropertyRector (#6382 )
2024-10-12 16:35:17 +00:00
Tomas Votruba
80d5259a88
Updated Rector to commit 385d423d4f2b5577bfb5d70f6e41e09f3460a057
...
385d423d4f
[CodeQuality] Handle with other attributes on DynamicDocBlockPropertyToNativePropertyRector (#6381 )
2024-10-12 16:26:30 +00:00
Tomas Votruba
254c38f757
Updated Rector to commit d180b8d7363f508a4e9c6931c327c65aed5ff6ee
...
d180b8d736
[CodeQuality] Skip no @property doc on DynamicDocBlockPropertyToNativePropertyRector (#6380 )
2024-10-12 16:15:59 +00:00
Tomas Votruba
8defa24cad
Updated Rector to commit d7bfc24bedc11374868f5a7ff3066eb847e80a8c
...
d7bfc24bed
[CodeQuality] Add DynamicDocBlockPropertyToNativePropertyRector (#5691 )
2024-10-12 15:40:38 +00:00
Tomas Votruba
103280d1fa
Updated Rector to commit 16f939995e159c934f0dcd1179a26a56fe64b65b
...
16f939995e
[CodeQuality] Clean up else check on SimplifyIfReturnBoolRector (#6372 )
2024-10-11 06:54:59 +00:00
Tomas Votruba
1f93d1a53a
Updated Rector to commit 203651aaf1c615c345620c5069c15755bde08227
...
203651aaf1
[CodeQuality] Skip else indirect return on SimplifyIfReturnBoolRector (#6371 )
2024-10-11 06:21:10 +00:00
Tomas Votruba
5204cbee25
Updated Rector to commit 8ff0cdb8fc3126614ff9f039387218b75dc4733d
...
8ff0cdb8fc
[DeadCode] Skip with Else and ElseIf on SimplifyIfNotNullReturnRector (#6365 )
2024-10-09 04:03:40 +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
3c7157c142
Updated Rector to commit f619d8670e85d0bd2859c475ca31178bc0e02254
...
f619d8670e
Bump to PHPStan 1.12.5 and Fix deprecated ParametersAcceptorSelector::selectSingle() (#6329 )
2024-09-26 16:51:04 +00:00
Tomas Votruba
466f5a7cd9
Updated Rector to commit d2bbed9da2189dbbac2376e053a66e22ebb50ac3
...
d2bbed9da2
Fix LocallyCalledStaticMethodToNonStaticRector when static function is called using the class name (#6310 )
2024-09-17 00:18:46 +00:00
Tomas Votruba
7d52cf2cdd
Updated Rector to commit 1ebb7aa29bfff54059d455ee6f908fa47a7416c3
...
1ebb7aa29b
[CodeQuality] Allow transform static to self on final class on ConvertStaticPrivateConstantToSelfRector (#6295 )
2024-09-08 10:53:32 +00:00
Tomas Votruba
86066d948c
Updated Rector to commit 9da99ea4370a4c11d5df2aa7af7de4cde129c626
...
9da99ea437
[deprecations] Remove deprecated GetClassToInstanceOfRector, UseIncrementAssignRector, DetectNodeCommand (#6278 )
2024-09-02 09:55:41 +00:00
Tomas Votruba
3936c30c7e
Updated Rector to commit 3aa886f88d54d440d107577996d65cd968c0c8b0
...
3aa886f88d
[deprecated] Remove deprecated ChangeAndIfToEarlyReturnRector, CallableThisArrayToAnonymousFunctionRector + casting rules (#6276 )
2024-09-02 08:07:01 +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
d40c7c4301
Updated Rector to commit e4708c58a4ddb167511d61dff636d9edcdd0e805
...
e4708c58a4
[CodeQuality] Ensure check native array type on Foreach* rules (#6222 )
2024-08-06 14:21:15 +00:00
Tomas Votruba
c050377f96
Updated Rector to commit 69a3e31e443dc9610e675ee2ac380cd8f6581a4c
...
69a3e31e44
[CodeQuality] Skip Generator on SimplifyForeachToCoalescingRector (#6221 )
2024-08-06 13:55:04 +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
701eed2be7
Updated Rector to commit 6f3881cb854aad227039563fe013be7a0ab5c911
...
6f3881cb85
[CodeQuality] Skip used in next stmt on UnusedForeachValueToArrayKeysRector (#6164 )
2024-07-20 22:30:57 +00:00
Tomas Votruba
8349226da6
Updated Rector to commit 25b437a67243133d39aaf9579723013730b4d3f5
...
25b437a672
[CodeQuality] Allow change empty() to [] compare of other object property usage on SimplifyEmptyCheckOnEmptyArrayRector (#6147 )
2024-07-14 20:57:32 +00:00
Tomas Votruba
e1cf6fb0cf
Updated Rector to commit dc2a3cd5cec984cf53df08fba9023a6b79e78470
...
dc2a3cd5ce
[CodeQuality] Skip multiple new lines on JoinStringConcatRector (#6141 )
2024-07-13 19:54:46 +00:00
Tomas Votruba
dccef81623
Updated Rector to commit cceae2c532758efe3dfafc8151414d56aafac8c8
...
cceae2c532
[CodeQuality] Skip used in static Closure/ArrowFunction on LocallyCalledStaticMethodToNonStaticRector (#6139 )
2024-07-12 11:53:42 +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
33f4d6d989
Updated Rector to commit de0dda8f29453b36bcfa3728cf26662fb634fcd1
...
de0dda8f29
Compare type directly in CleanupUnneededNullsafeOperatorRector (#6086 )
2024-06-30 17:49:38 +00:00
Tomas Votruba
61c5d55be0
Updated Rector to commit 4841e576790b6a8e277ce3546e42212af734cd7f
...
4841e57679
fix: Add code as a named argument (#6062 )
2024-06-27 19:35:05 +00:00
Tomas Votruba
dad1e77265
Updated Rector to commit fafa4013f6996e47724aad11d4ef0c10d3a9cd14
...
fafa4013f6
Cleanup few duplicated test fixtures, fix SimplifyEmptyCheckOnEmptyArrayRector test namespace (#6056 )
2024-06-27 07:46:59 +00:00
Tomas Votruba
462ba01b9d
Updated Rector to commit d6102594b3dd109267e5e5448206373cba8ad043
...
d6102594b3
[DX] Inform about deprecated rules in config (#6047 )
2024-06-26 14:21:24 +00:00
Tomas Votruba
4245cbb8cd
Updated Rector to commit 28c138e47c61bcf5532f200b6741314e9063f58f
...
28c138e47c
[Cleanup] Deprecate *ToTypeCastRector rules as no difference in performance, handle by cs instead (#6043 )
2024-06-26 10:11:19 +00:00
Tomas Votruba
253b752428
Updated Rector to commit 23597c551da3bd1f1477f4415b1b2cad4651307c
...
23597c551d
[Cleanup] Deprecate UseIncrementAssignRector as depends on context and might be intentional (#6042 )
2024-06-26 10:04:52 +00:00
Tomas Votruba
7d1a877b87
Updated Rector to commit 3058379b2a42f2459b979bc871815b7133c19e47
...
3058379b2a
Add `only_direct_assign` config for SimplifyUselessVariableRector (#6034 )
2024-06-26 08:34:52 +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
2b1265399c
Updated Rector to commit 084d5d6b71c55336a51af00c342e6a6be925e18f
...
084d5d6b71
fix: Skip static calls which are made using the class name (#6024 )
2024-06-25 01:01:08 +00:00
Tomas Votruba
c08964aeba
Updated Rector to commit 9abea8a54c7b99febf65aaf555f7eb0ffedf2155
...
9abea8a54c
fix: Use named arguments if they are already used (#6022 )
2024-06-24 08:31:21 +00:00
Tomas Votruba
95fa589646
Updated Rector to commit c766d0fd8554c60460eb816452f0c955c89035f3
...
c766d0fd85
fix: Skip refactoring when foreach if statement contains calls to met… (#6019 )
2024-06-24 08:01:49 +00:00
Tomas Votruba
b02cab2d10
Updated Rector to commit abd008ba860a5a27f8efc7ca8d0ba9c9737cb30d
...
abd008ba86
[CodeQuality] Deprecate GetClassToInstanceOfRector as can create invalid comparison (#6005 )
2024-06-22 12:44:20 +00:00
Tomas Votruba
71e5a86da3
Updated Rector to commit 2cdf4bc783081cb52c602b989577756e4782d18f
...
2cdf4bc783
[CodeQuality] Add support for (), {}, [], <> delimiter on RegexPatternDetector (#5957 )
2024-06-10 22:00:09 +00:00
Tomas Votruba
4521d8e885
Updated Rector to commit 916cc25414fe839fcf19b67c3e0045657f03fcaf
...
916cc25414
[CodeQuality] Allow check in current Class_ with multiple props on CompleteDynamicPropertiesRector (#5938 )
2024-06-02 12:31:56 +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
2b945fac7b
Updated Rector to commit 8c51074a9a121fff732471541b005df99dd71873
...
8c51074a9a
[DX] Soft-deprecate CallableThisArrayToAnonymousFunctionRector, as FirstClassCallableRector handles the same case better (#5918 )
2024-05-29 01:38:37 +00:00
Tomas Votruba
5ca50de6b7
Updated Rector to commit b18da7d458c2d240dd50682b31670e134f2b1ed3
...
b18da7d458
[CodeQuality] Skip on property and class const on CallableThisArrayToAnonymousFunctionRector (#5869 )
2024-05-11 18:18:48 +00:00
Tomas Votruba
efb3c476c7
Updated Rector to commit ca2988edc997d76a1d7d4b2c6a4f7226478cac7c
...
ca2988edc9
[CodeQuality] Skip increment variable on else on TernaryFalseExpressionToIfRector (#5867 )
2024-05-10 09:40:07 +00:00
Tomas Votruba
ee17c27a72
Updated Rector to commit d8f262aa6252740d3a3f17d1f429b7dcf2cc760a
...
d8f262aa62
[CodeQuality] Skip dynamic second arg or has uppercase second arg on SimplifyStrposLowerRector (#5855 )
2024-05-02 09:08:24 +00:00