Commit Graph

79 Commits

Author SHA1 Message Date
Tomas Votruba
f2feb272ed Updated Rector to commit aa706a152c2cb0ece154edab3bc89bad8c2f7208
aa706a152c [Php82] Add VariableInStringInterpolationFixerRector (#5781)
2024-03-29 21:39:12 +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
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
38b33113ca Updated Rector to commit 109d734969100cf97bdc820e7c369c90e9e4016a
109d734969 [Php83] Add CombineHostPortLdapUriRector (#5397)
2023-12-27 22:04:09 +00:00
Tomas Votruba
f9c1f58ffc Updated Rector to commit 52b665436c0f2161619b265caa3f2a65be5604dc
52b665436c [PHP83] Implements a rule to add types to class constants (#5290)
2023-12-03 14:59:47 +00:00
Tomas Votruba
cdc1ef461c Updated Rector to commit 2ad03db37f187d715c3a2f189dc181063126e596
2ad03db37f [Php83] Adds rule for adding Override attribute (#5170)
2023-11-03 12:13:20 +00:00
Tomas Votruba
282e5517d7 Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
ae3608b3d6 Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983)
2023-09-11 09:08:21 +00:00
Tomas Votruba
3d97937140 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 16:33:28 +00:00
Tomas Votruba
480a54b9d7 Updated Rector to commit b0105f24cf32cfe12438e85c5033aa79bce9a1a4
b0105f24cf [PHPStanStaticTypeMapper] Allow Closure type on ClosureTypeMapper based on PHP versions (#4785)
2023-08-14 06:39:54 +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
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
cf1958e570 Updated Rector to commit 2eac878f538ddd1e20346c14d402f7e93ee6033b
2eac878f53 [TypeDeclaration] Only apply false type on php 8.2+ configured on TypedPropertyFromAssignsRector (#3422)
2023-02-28 18:23: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
Tomas Votruba
7c46ba037e Updated Rector to commit c21cafaf90cab17ae26900679f70461063ab791e
c21cafaf90 [Php82] Add Utf8DecodeEncodeToMbConvertEncodingRector (#3195)
2022-12-14 10:07:44 +00:00
Tomas Votruba
c152c5642c Updated Rector to commit 6db4c0e0ae74867ec12b2a4fa7cf934a4a60a742
6db4c0e0ae [Php74] Add ParenthesizeNestedTernaryRector (#2859)
2022-08-31 07:08:44 +00:00
Tomas Votruba
f5e65b1dfa Updated Rector to commit fadb6a4c4978009293099f56f4ed3ae3c0775321
fadb6a4c49 [Php74] Add MoneyFormatToNumberFormatRector (#2727)
2022-08-24 20:17:59 +00:00
Tomas Votruba
189f399cf2 Updated Rector to commit 0660b21ecec553393226003c16432a626e20f8ec
0660b21ece [Php54] Add ArrayToShortArrayRector (#2615)
2022-07-03 11:40:45 +00:00
Tomas Votruba
8582284513 Updated Rector to commit ed92724c846790f1bab66cd81b3e20a6561694ed
ed92724c84 [DX] Try unused public const PHPStan rule (#2595)
2022-06-30 13:57:27 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
093c37f3c5 Updated Rector to commit 78aaf7ee0b
78aaf7ee0b [Php82] Add ReadOnlyClassRector (#2296)
2022-05-12 15:51:17 +00:00
Tomas Votruba
89982c6c94 Updated Rector to commit 2607c2a79b
2607c2a79b [Php81] Add NullToStrictStringFuncCallArgRector (#1655)
2022-01-13 13:02:46 +00:00
Tomas Votruba
6a7bbbeda7 Updated Rector to commit 35ef77b4f2
35ef77b4f2 [Transform][Php81] Add configurable ReturnTypeWillChangeRector (#1548)
2021-12-27 15:34:11 +00:00
Tomas Votruba
b7d9e5b849 Updated Rector to commit 0c2d1aec3e
0c2d1aec3e Add SimpleStaticType for return type completion (#1441)
2021-12-09 16:02:40 +00:00
Tomas Votruba
b6c5b4fd3c Updated Rector to commit c445b5a13a
c445b5a13a [Php80] Add AddParamBasedOnParentClassMethodRector (#1431)
2021-12-09 14:35:22 +00:00
Tomas Votruba
4f07ac45e2 Updated Rector to commit 211b3fe103
211b3fe103 Array merge to unpacking (#1345)
2021-11-30 09:10:29 +00:00
Tomas Votruba
738852dc1a Updated Rector to commit 1255b91c20
1255b91c20 [PHP 8.2] Add rule for AllowDynamicProperties attribute (#1225)
2021-11-26 11:19:23 +00:00
Tomas Votruba
d4c101be43 Updated Rector to commit 24b8ea974a
24b8ea974a [PHP 8.1] Add IntersectionTypesRector (#1227)
2021-11-14 12:07:09 +00:00
Tomas Votruba
cbf5a11580 Updated Rector to commit 2334331e30
2334331e30 [PHP 8.1] Add NewInInitializerRector (#1224)
2021-11-13 16:23:20 +00:00
Tomas Votruba
f83732a356 Updated Rector to commit 6cbc5d4caf
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property (#1125)
2021-11-03 09:03:16 +00:00
Tomas Votruba
3203dd5529 Updated Rector to commit 4c507636dc
4c507636dc Skip too wide union types on AddMethodCallBasedStrictParamTypeRector (#1097)
2021-10-28 22:22:07 +00:00
Tomas Votruba
0334d1bfd6 Updated Rector to commit 6bcdc92198
6bcdc92198 [Php80] Add Php8ResourceReturnToObjectRector (#1068)
2021-10-27 14:59:18 +00:00
Tomas Votruba
6dcaaef071 Updated Rector to commit 49314dc3d4
49314dc3d4 [DX] Add PhpUpgradeImplementsMinPhpVersionInterfaceRule (#910)
2021-09-24 14:11:08 +00:00
Tomas Votruba
ad2aa21ed8 Updated Rector to commit 3dd16b30e3
3dd16b30e3 Add PhpMinVersions (#907)
2021-09-21 14:11:26 +00:00
Tomas Votruba
f1e92cd8c3 Updated Rector to commit 644b37e4eb
644b37e4eb Add some PHP_80 min versions (#906)
2021-09-21 11:18:03 +00:00
Tomas Votruba
02329d8b20 Updated Rector to commit e8c8f9996d
e8c8f9996d Add minimum PHP versions for PHP 8.1 rules (#814)
2021-09-02 15:24:03 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba
21bf53f2ec
[CodeQuality] Add FuncGetArgsToVariadicParamRector (#6318) 2021-05-03 21:27:20 +00:00
Tomas Votruba
2037d55d6b
[PHP 8.1] Add ReturnNeverTypeRector (#6283) 2021-05-02 10:46:55 +00:00
Tomas Votruba
68026636bf
[PHP 8.0] Refactor attributes from magic interface to explicit list (#5926) 2021-03-20 23:16:21 +00:00
Tomas Votruba
1757e83cdc
misc, remove RemoveProjectFileRector (#5463) 2021-02-08 18:26:00 +00:00
Tomas Votruba
58d97b9853
[Naming] Fix Param type Promoted Rename (#5188)
* [Naming] Make RenameParamToMatchTypeRector skip promoted property

* [Naming] Add property rename to RenamePropertyToMatchTypeRector

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-14 22:44:07 +00:00
Abdul Malik Ikhsan
67ba16089a
[Downgrade PHP X.Y] Consistent usage of getPhpVersion() as constant - 1 in tests (#4822) 2020-12-09 12:28:15 +01:00
Leonardo Losoviz
e0b4d469cd
[Downgrade PHP 7.2] Parameter type widening (#4818) 2020-12-08 13:03:00 +01:00
Abdul Malik Ikhsan
a3add7d409
[Downgade PHP 7.1] Add DowngradeNegativeStringOffsetToStrlenRector (#4823)
* [Downgade PHP 7.1] Fixes #4197 Add DowngradeNegativeStringOffsetToStrlenRector

* implemented

* more fixture

* phpstan

* phpstan

* final touch: code sample

* register to downgrade-php71 set
2020-12-08 12:19:58 +01:00
Abdul Malik Ikhsan
e25370bd21
[Downgrade PHP 8.0] Fixes #4154 Add DowngradeNullsafeToTernaryOperatorRector (#4807) 2020-12-06 11:43:38 +01:00
Tomas Votruba
8bfb36d0b2
[Downgrade] [PHP 7.3] Downgrade trailing commas in function calls (#4796)
Co-authored-by: Tommy Quissens <tommy.quissens@storefront.be>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 22:40:10 +01:00
Krystian Marcisz
47a9a52ffd
[CodeQuality] Add DateTimeToDateTimeInterfaceRector (#4791)
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-12-05 21:21:22 +01:00
Leonardo Losoviz
5257f3ae3e
Downgrade PHP 7.4 contravariant argument type (#4770)
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-12-04 12:30:37 +01:00
Tomas Votruba
42dae6a86a
[DeadCode] Fix RemoveDeadConstructorRector (#4751)
* [DeadCode] Fix RemoveDeadConstructorRector

* [DeadCode] Fix RemoveUnusedParameterRector in property promotion
2020-12-02 10:38:59 +00:00