2065 Commits

Author SHA1 Message Date
Tomas Votruba
331a8ca05e Updated Rector to commit 706170a2bee1e6df93e0b9789c97f7af36eb9c73
706170a2be feature: replace MyCLabs Enum constructor call (#6588)
2025-01-11 07:43:54 +00:00
Tomas Votruba
c29364dfcf Updated Rector to commit f3242bfadc709ca567975be62691944b5f8301ee
f3242bfadc [CodeQuality] Handle crash inside block statement with unreachable statement on OptionalParametersAfterRequiredRector (#6640)
2025-01-01 07:12:11 +00:00
Tomas Votruba
79fb8fc282 Updated Rector to commit a72a02188ab22b7beeb94dd1ffda79bdfffd64c4
a72a02188a [Php84] Add rule for RoundingMode enum (#6369)
2024-12-20 00:17:13 +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
a6f87828b7 Updated Rector to commit 1d7208b816e8c12d7732a2d633b44d8e8bc0041e
1d7208b816 feat: add Behat annotations to attributes set (#6510)
2024-11-25 14:55:56 +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
dc2c22a33a Updated Rector to commit 373747cef4e013317763c78df56f370203e33d4b
373747cef4 [deprecation] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead (#6434)
2024-11-14 17:10:56 +00:00
Tomas Votruba
4261346417 Updated Rector to commit f7ea3dbfeb4e02ab42442dd9e90283e8af098e4f
f7ea3dbfeb [PHP8.3] add new rectors for get_class()/get_parent_class() without arguments (#6405)
2024-11-04 22:04:11 +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
5864fb0506 Updated Rector to commit cdeea08b786337dc6f537c9cac0ac9dc80a2da8d
cdeea08b78 Fix duplicated register ContinueToBreakInSwitchRector in php52.php and php73.php (#6385)
2024-10-16 04:55:01 +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
ff383da894 Updated Rector to commit fc1e742fa4d9861ccdc5933f3b53613b8223438d
fc1e742fa4 Deprecate PublicConstantVisibilityRector, as adds public blindly everywhere; use scope-based approach instead (#6238)
2024-08-16 23:17:37 +00:00
Tomas Votruba
ea37cb5b5e Updated Rector to commit 7f0688c1e4b5aaa6d75cbc458db35b4b6988f9c0
7f0688c1e4 Add withRealPathReporting() to allow real paths in output formatters (#6187)
2024-08-05 20:48:53 +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
738f33982e Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
ef333502fb Make NameScopeFactory simpler (#6092)
2024-07-01 06:16:16 +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
a26759c6e7 Updated Rector to commit d68e8fa32a27c1ddd474ef6f1b4e1f63a74e5708
d68e8fa32a [Cleanup] Deprecate ChangeAndIfToEarlyReturnRector as creates less readable code with inverted conditions (#6041)
2024-06-26 09:09:52 +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
8453ac2612 Updated Rector to commit afdf525d46e29655076253ec8d35e780cadd1be2
afdf525d46 [DX] Add ->withPhpXSets() for PHP 7.4 and lower, improve ->withPreparedSets() (#5984)
2024-06-20 13:21:23 +00:00
Tomas Votruba
fdbe0039e0 Updated Rector to commit e007104cf6348db447120feeb76a1b1e7b889b44
e007104cf6 [DX] Enable polyfill rules on withPhpSets() config (#5981)
2024-06-20 02:52:53 +00:00
Tomas Votruba
107edcdc89 Updated Rector to commit 9678a2ce0df657b82cd4459dd178fbdcfddc49d2
9678a2ce0d [Php74] Add HebrevcToNl2brHebrevRector (#5977)
2024-06-18 12:50:53 +00:00
Tomas Votruba
f57ed0a59b Updated Rector to commit 9a0d03a293b3a6aef9fb2c134c27586e2f046043
9a0d03a293 [Php74] Add RestoreIncludePathToIniRestoreRector (#5973)
2024-06-15 22:12:30 +00:00
Tomas Votruba
f03228eece Updated Rector to commit 1c2e3d86a853a7b830f0c29a5cacd8a6ff76c977
1c2e3d86a8 Remove the renaming of apache_request_headers (#5943)
2024-06-05 02:13:02 +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
600218d107 Updated Rector to commit e03da0434ba9504781928079a63e4d6502b96d85
e03da0434b Exclude StaticClosureRector and StaticArrowFunctionRector from rector-preset (#5927)
2024-05-30 08:12:33 +00:00
Tomas Votruba
7470aa5cdd Updated Rector to commit 2039b67eacda6f438070003568544c3e576bc84c
2039b67eac Exclude IncreaseDeclareStrictTypesRector from rector-preset set as conflict with DeclareStrictTypesRector (#5926)
2024-05-30 07:56:15 +00:00
Tomas Votruba
ad8eee4201 Updated Rector to commit 66e57260e66e32c78fac0738d69b49e009b348d6
66e57260e6 [Set] Add new rector-preset set to have opiniated rector rules that can be enabled in rector-src and its extension (#5924)
2024-05-30 07:30:01 +00:00
Tomas Votruba
2065cb44be Updated Rector to commit f987c4df60c792fabd875cdccd678a5ce2a4eda5
f987c4df60 [DX] Remove UseIncrementAssignRector from coding-style set, as often ignored (#5920)
2024-05-29 07:36:01 +00:00
Tomas Votruba
354aa8fd07 Updated Rector to commit 6ad571fc10dfb53adbb5137220dbf2e11fa4d1bb
6ad571fc10 [DX] Ommit post-inc to pre-inc rule from coding-style as too opinionated (#5917)
2024-05-29 01:05:19 +00:00
Tomas Votruba
8a83c1053a Updated Rector to commit 303a1d72497e92464f3cf6f4914f82f4aec8f6a5
303a1d7249 [DX] Ommit static functions/closure from coding-style, as often ignored and depends on personal preference (#5916)
2024-05-29 00:44:25 +00:00
Tomas Votruba
b153174db5 Updated Rector to commit 650ae6a730554c4b7472280e86edbf1b704cce25
650ae6a730 Code quality levels (#5910)
2024-05-25 10:48:12 +00:00
Tomas Votruba
39908b6b4e Updated Rector to commit f30405751176cf6504a86a8f9e6661c55806b38e
f304057511 Convert time() to Carbon::now()->timestamp (#5901)
2024-05-20 00:15:21 +00:00
Tomas Votruba
b98d0a8754 Updated Rector to commit 575921d2bca4a0ef36d55c6fa4ebf1ea01bacc4d
575921d2bc [Carbon] Init set to migrate DateTime to Carbon (#5868)
2024-05-18 13:30:48 +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
0a7d532276 Updated Rector to commit 93e025900b640f8182b267812a08c364d42590ef
93e025900b [automated] Apply Coding Standard (#5782)
2024-03-31 00:30:04 +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
42078c4127 Updated Rector to commit 08d73a1af5ebc77bf37e9854fc1aca76cd5fcbcb
08d73a1af5 [Printer] Apply configurable multiline on Fluent Method Call on print after method call created/re-printed (#5779)
2024-03-28 16:05:42 +00:00
Tomas Votruba
de2b2cf2b4 Updated Rector to commit dc69b1a963dc78ea9fe4ab07b70bc0716e1be341
dc69b1a963 [CodeQuality] Add new rule - ExplicitReturnNullRector (#5753)
2024-03-21 14:39:02 +00:00
Tomas Votruba
c0820093ad Updated Rector to commit ff32c0c08a89f27ea34187d00cf707734a7e39c8
ff32c0c08a [Php84] Add ExplicitNullableParamTypeRector (#5724)
2024-03-15 10:45:55 +00:00
Tomas Votruba
edd8901ea0 Updated Rector to commit 23e3da2d6eee90e4f2a31c31062aabaeba77ba69
23e3da2d6e [CodeQuality] Remove BoolvalToTypeCastRector and FloatvalToTypeCastRector as well from code-quality set (#5722)
2024-03-14 20:16:36 +00:00
Tomas Votruba
d7faacd4a0 Updated Rector to commit ea0f1c1351b68e3a0863d8460e2abea06099df87
ea0f1c1351 [code-quality] Remove intval/strval from sets, as no clear difference and personal preference (#5721)
2024-03-14 15:05:15 +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
6ef7f81fc3 Updated Rector to commit c4dd05e2e3ae6359ff4eb57ce7d7bd7619da139d
c4dd05e2e3 [CodeQuality] Add StaticToSelfStaticMethodCallOnFinalClassRector (#5621)
2024-02-15 12:52:16 +00:00
Tomas Votruba
e79510ae2b Updated Rector to commit 0d55791128825909273d0cdd9743470236748d75
0d55791128 Fix downgrade build: exclude vendor/symplify/easy-parallel/ecs.php on parallel lint (#5584)
2024-02-08 04:24:11 +00:00
Tomas Votruba
428336c22c Updated Rector to commit 09398c3d4f07bb6ad664a55b87cab955278a467e
09398c3d4f Decouple AddFunctionVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5563)
2024-02-05 16:07:43 +00:00
Tomas Votruba
d00ebb838c Updated Rector to commit 56c250771518c2aa2e17bc64c9986c2dbe9b6fd8
56c2507715 Decouple AddClosureVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5562)
2024-02-05 15:56:19 +00:00
Tomas Votruba
8be4b973f1 Updated Rector to commit c0079e3824d81ca2bd1a4b430c06acec4a5ef731
c0079e3824 Rollback RectorConfig::configure()->withRules() on privatization config set to old style config (#5560)
2024-02-05 09:59:39 +00:00