1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-03-16 21:39:43 +01:00

53 Commits

Author SHA1 Message Date
Tomas Votruba
a641d86cfa Updated Rector to commit 90bbd4e1a03b4404b3988c863fb3e46d0fa1411b
90bbd4e1a0 [Php74] Add GetCalledClassToSelfClassRector ()
2022-03-27 18:45:00 +00:00
Tomas Votruba
c6551c2127 Updated Rector to commit 82656ade38409a188114aebd347ff9a2b5af97ba
82656ade38 [CodeQuality] Handle not identical return false then true on SimplifyIfReturnBoolRector ()
2022-03-27 18:43:32 +00:00
Tomas Votruba
40324f386c Updated Rector to commit 4562f4f98873168fab564528528397bdc9b45397
4562f4f988 [Php81] Skip anonymous class on FinalizePublicClassConstantRector ()
2022-03-27 18:43:03 +00:00
Tomas Votruba
9d2d61cbdd Updated Rector to commit f7e1035828745f5cb95634709f7970a9a246ca77
f7e1035828 [Php81] Skip static property on ReadOnlyPropertyRector ()
2022-03-16 09:24:07 +00:00
Tomas Votruba
0fe0835184 Updated Rector to commit 7202782f50c8a9e1bbc6c6cb3ad7b7305ab7cc02
7202782f50 [CodeQuality] Add InlineConstructorDefaultToPropertyRector ()
2022-03-15 17:33:16 +00:00
Tomas Votruba
2696a014f1 Updated Rector to commit 926a7e02bc1d856a65b3f4b232e6305ef0f00d3b
926a7e02bc [Privatization] Add constant support on ChangeReadOnlyVariableWithDefaultValueToConstantRector ()
2022-03-02 11:43:06 +00:00
Tomas Votruba
7afdbe00e6 Updated Rector to commit 4dee58ba84af36784c9fbf7d8e964363dd15ecc0
4dee58ba84 [Php81] Fix property with attribute inlined on ReadOnlyPropertyRector ()
2022-02-25 12:34:50 +00:00
Tomas Votruba
db8f291981 Updated Rector to commit 88d7be3d936f27b581bc6a461bcf91c2a8032df4
88d7be3d93 [Php81] Add ConstFetch and ClassConstFetch arg support on NewInInitializerRector ()
2022-02-21 11:31:42 +00:00
Tomas Votruba
b206f0de34 Updated Rector to commit 4cf6522e7703687d7673d316ec60c5f21ec37dec
4cf6522e77 [Php81] Skip used as ArrayDimFetch on Arg on side effect FuncCall on ReadOnlyPropertyRector ()
2022-02-16 21:07:17 +00:00
Tomas Votruba
67fb92b15d Updated Rector to commit d31e2233e85152ddd4089873ae0de83bfc8d215d
d31e2233e8 [Php81] Skip override abstract method on NewInInitializerRector ()
2022-01-29 16:32:26 +00:00
Tomas Votruba
28f8cfafaf Updated Rector to commit 73f5fc13bbc8ae2a2f6031c8bbfcf637eeb33d88
73f5fc13bb [Php81] Handle non-dynamic + dynamic args (non-array, non-scalar) passed to New_ on NewInInitializerRector ()
2022-01-28 12:21:10 +00:00
Tomas Votruba
2ebc6821cc Updated Rector to commit 79dd9bb5f4da949fc2b308628f0aa39bd7ced60c
79dd9bb5f4 [Php81] Do not add final modifier on class constant that the class has children on FinalizePublicClassConstantRector ()
2022-01-28 11:05:27 +00:00
Tomas Votruba
c00641bc2d Updated Rector to commit a734965d9983e4e34e4abeb915902f724f5c1ae3
a734965d99 [Php81] Skip dynamic class on NewInInitializerRector ()
2022-01-27 12:35:06 +00:00
Tomas Votruba
f25b52c226 Updated Rector to commit a26c59a7e9c97187db0e6004df3280ca4879bbc4
a26c59a7e9 [TypeDeclaration] Skip use return docblock on typed intersection type ()
2022-01-26 11:18:38 +00:00
Tomas Votruba
20964885f0 Updated Rector to commit 64d76cd11ede768c092994d69d862be818c7f2e3
64d76cd11e [FinalizePublicClassConstantRector] Ignore final classes ()
2022-01-26 10:10:51 +00:00
Tomas Votruba
a92f92cd40 Updated Rector to commit c9319540f95a53007d7973111b5cb2f9485c9339
c9319540f9 [Php81] Skip static call in right expr of Coalesce on NewInInitializerRector ()
2022-01-14 09:29:52 +00:00
Tomas Votruba
89982c6c94 Updated Rector to commit 2607c2a79b01e01665a09f125c4bda516f6d66d0
2607c2a79b [Php81] Add NullToStrictStringFuncCallArgRector ()
2022-01-13 13:02:46 +00:00
Tomas Votruba
feb1acabfc Updated Rector to commit cb8fe8474ce23ada4e7bd7a0b3b4625050bda919
cb8fe8474c [PHP 8.1] Skip abstract class in NewInInitializerRector ()
2021-12-27 19:05:02 +00:00
Tomas Votruba
a440c65f29 Updated Rector to commit 7cdd03ed7733e2d8d12d68e5750a89b7f0dda829
7cdd03ed77 [PHP 8.1] Fix IntersectionTypesRector for non-object types ()
2021-12-14 14:39:36 +00:00
Tomas Votruba
8007b9f521 Updated Rector to commit c7638288f7461f46c57307a22b9454c46cfa3cbc
c7638288f7 Fixes docs ()
2021-12-14 12:42:11 +00:00
Tomas Votruba
eeefa260aa Updated Rector to commit e1b44d02a8b2a0c05f91b4af0f59ba5abbfda044
e1b44d02a8 [Scoped] Fix build scoped on unused bin/generate-changelog.php bin/rector bin/rector.php bin/validate-phpstan-version.php files in scoped build ()
2021-12-14 12:22:33 +00:00
Tomas Votruba
f48677501c Updated Rector to commit c7638288f7461f46c57307a22b9454c46cfa3cbc
c7638288f7 Fixes docs ()
2021-12-14 12:21:21 +00:00
Tomas Votruba
1742d3cab4 Updated Rector to commit 42148012636a21d43d86ded247f9c94c772e9f4e
4214801263 [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector ()
2021-12-13 16:47:47 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35baeb2098395af6497f4bcac4fcd40c9
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d8ab4c9f051aff92ae20701436cd0fc
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector ()
2021-12-10 09:57:54 +00:00
Tomas Votruba
c726969380 Updated Rector to commit fc10fce13dcf9767f54e4202b509020fed338645
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only ()
2021-12-04 12:47:17 +00:00
Tomas Votruba
cbb188acfb Updated Rector to commit 922e91d84a2db321557cdcc7e06f82ec125773b6
922e91d84a [Php81] Skip non private modifier on ReadOnlyPropertyRector ()
2021-12-02 10:13:44 +00:00
Tomas Votruba
a690f01521 Updated Rector to commit cec23b37b290fe57931fa426b690549c30130cbe
cec23b37b2 [Php81] Skip no type param on ReadOnlyPropertyRector ()
2021-12-02 07:35:25 +00:00
Tomas Votruba
e705b30593 Updated Rector to commit 1cbf32d44cf52efac3d89960058dd569331c7884
1cbf32d44c [Php81] Add scalar type on Enum MyCLabsClassToEnumRector and SpatieEnumClassToEnumRector ()
2021-12-02 07:34:29 +00:00
Tomas Votruba
768d809544 Updated Rector to commit 3f07f384269bb16ad855eb249d12692511a47283
3f07f38426 VisibilityManipulator adjustment ()
2021-12-02 07:34:16 +00:00
Tomas Votruba
0988a578ae Updated Rector to commit 9e81001c68167a6a6187f2ea6520a62c9574926d
9e81001c68 [Config] Re-enable Config SetList on rector.php ()
2021-12-01 09:10:03 +00:00
Tomas Votruba
fffeddc456 Updated Rector to commit 4287ca3aa9bf38ebecf405559bc23364b7bedf13
4287ca3aa9 [Php81] Skip no type property on ReadOnlyPropertyRector ()
2021-11-30 16:51:32 +00:00
Tomas Votruba
47f116fafd Updated Rector to commit 59e9222be2f0b793c3cdb65e4efcdc533149ecf7
59e9222be2 [Php81] Skip has default value on ReadOnlyPropertyRector ()
2021-11-30 16:50:00 +00:00
Tomas Votruba
00645c017c Updated Rector to commit 0e96615c363cc0c29834f10461e16d25e74122e4
0e96615c36 [DX] Explicitly inject visibility manipulator service instead of parent constructor ()
2021-11-24 11:00:16 +00:00
Tomas Votruba
3c750baf30 Updated Rector to commit f5d4f9dd7621a0bdcb4352c34f6d574ab4c0d33e
f5d4f9dd76 [Php81] Apply constructor promotion on NewInInitializerRector ()
2021-11-22 09:01:31 +00:00
Tomas Votruba
b522cb4146 Updated Rector to commit fa20738aa49bdd60f6a251b571ad27f974800ce7
fa20738aa4 [Downgrade PHP 8.1] Add DowngradeNewInInitializerRector ()
2021-11-19 20:52:59 +00:00
Tomas Votruba
976ae72f73 Updated Rector to commit 587d8d80585e20ce6455602ed12602e2bb7e9b71
587d8d8058 [Downgrade PHP 8.1] Add DowngradeReadonlyPropertyRector ()
2021-11-18 19:20:31 +00:00
Tomas Votruba
5e0eef55a5 Updated Rector to commit c6473c6a0b4ecaab710353e83f0c740e2e998d26
c6473c6a0b [Php81] Fix NewInInitializerRector code sample ()
2021-11-18 07:58:51 +00:00
Tomas Votruba
d4c101be43 Updated Rector to commit 24b8ea974aad71ece8f6f4ea5d0549247c969a5e
24b8ea974a [PHP 8.1] Add IntersectionTypesRector ()
2021-11-14 12:07:09 +00:00
Tomas Votruba
cbf5a11580 Updated Rector to commit 2334331e30b65079071ee46c1e00a10c7c93be2d
2334331e30 [PHP 8.1] Add NewInInitializerRector ()
2021-11-13 16:23:20 +00:00
Tomas Votruba
f83732a356 Updated Rector to commit 6cbc5d4caf64061bd69834a394573f78520f3dd1
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property ()
2021-11-03 09:03:16 +00:00
Tomas Votruba
2b6e4f5909 Updated Rector to commit d1e09e3d5eb1fb5db196c15dac3ebd45d38341c9
d1e09e3d5e [ECS] remove ignored rules that are now fixed, use SimplePhpParser for ad-hoc node resolving ()
2021-10-27 08:50:45 +00:00
Tomas Votruba
6dcaaef071 Updated Rector to commit 49314dc3d4918988d83270ab104e347a97e46d46
49314dc3d4 [DX] Add PhpUpgradeImplementsMinPhpVersionInterfaceRule ()
2021-09-24 14:11:08 +00:00
Tomas Votruba
8303b46898 Updated Rector to commit 0779c402c3a994821b56fa24bae2baa14f996e14
0779c402c3 [automated] Re-Generate Nodes/Rectors Documentation ()
2021-09-05 00:27:40 +00:00
Tomas Votruba
02329d8b20 Updated Rector to commit e8c8f9996d555a26d6e99921001944eb7d1bd90d
e8c8f9996d Add minimum PHP versions for PHP 8.1 rules ()
2021-09-02 15:24:03 +00:00
Tomas Votruba
ba205b46bb Updated Rector to commit 68d410ef00d15ca5e373a33fd66d593e0d3de346
68d410ef00 Trigger notification ()
2021-08-23 00:20:32 +00:00
Tomas Votruba
674f76ced2 Updated Rector to commit 877cbb2de8150b672a966d7a8907ed63769e1cdd
877cbb2de8 fix(scoper): prefix vendor classes from PHPDoc, close  ()
2021-08-22 23:17:31 +00:00
Tomas Votruba
40d9772df6 Updated Rector to commit de5c4c77a5fe06ed04d1b7b97b10e29be344c734
de5c4c77a5 [EarlyReturn] Allow usage ChangeOrIfReturnToEarlyReturnRector and RemoveAlwaysElseRector without elseif ()
2021-08-12 16:01:53 +00:00
Tomas Votruba
a0b5bf612c Updated Rector to commit 48121fb6f4dd5c3a81c50fb8809256f9cd72fffa
48121fb6f4 [PHP 8.1] Add basic support for Spatie Enums to native Enums ()
2021-08-12 14:48:46 +00:00
Tomas Votruba
a3e534ff19 Updated Rector to commit db2e76b99cfca0c66d190410f2011a073451e7dc
db2e76b99c load stubs in config
2021-07-22 23:37:17 +00:00