Commit Graph

53 Commits

Author SHA1 Message Date
Tomas Votruba
717507e265 Updated Rector to commit 717e3e00ca93c371f8633f6ea17ea1b5e686657a
717e3e00ca [Php81] Remove @readonly doc on transformation to native readonly on ReadOnlyPropertyRector (#5789)
2024-04-03 05:38:25 +00:00
Tomas Votruba
bc02e10427 Updated Rector to commit b925e54b913863053e57e628ea95b2fd612e128e
b925e54b91 [Performance][Php81] Early property promotion and readonly param check before changeable check on ReadOnlyPropertyRector (#5791)
2024-04-03 04:19:15 +00:00
Tomas Votruba
daa84a6ddf Updated Rector to commit 10c7bc6a4114dddde311e49efcd9c441ea92babc
10c7bc6a41 [Performance][Php81] Ensure check readonly on param only on __construct() method (#5693)
2024-03-05 11:36:28 +00:00
Tomas Votruba
ae1f64a7a0 Updated Rector to commit e29b97e4b5d6dd5a0c5ee442067cb52f7dbb7f25
e29b97e4b5  [Php81] Handle with attribute on ReadOnlyPropertyRector on property promotion (#5692)
2024-03-05 11:28:48 +00:00
Tomas Votruba
e45bc25429 Updated Rector to commit 06fa177cb6524bdd1a3338ed5d98871ef7a5590e
06fa177cb6 Fix make ReadOnlyPropertyRector skip if traits are used, as not reliable (#5548)
2024-02-03 21:46:29 +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
1731eeac5d Updated Rector to commit befe096ca10f7476efeb082fb7c736ba7bd07af5
befe096ca1 [phpstan] tidy up bin files, group complex errors + Cleanup AddTypeToConstRector (#5405)
2023-12-31 20:56:31 +00:00
Tomas Votruba
4b8fc3fb05 Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
e698133cad [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053)
2023-09-20 12:55:35 +00:00
Tomas Votruba
f083e0de01 Updated Rector to commit 031f2de2b8043a972f1a19f07f06ad2fc9793df3
031f2de2b8 [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector (#4593)
2023-07-25 04:02:12 +00:00
Tomas Votruba
d53aabefd9 Updated Rector to commit 1d0feb251132d3b766945bc80d8f914c5279277f
1d0feb2511 [DX] Lower readonly PropertyManipulator complexity (#4429)
2023-07-06 21:07:00 +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
9d288b9b77 Updated Rector to commit 0fe5ee02fe3527bff3a1cd1c10508e2148ea8031
0fe5ee02fe Remove PARENT_NODE from ReadOnlyPropertyRector (#4150)
2023-06-10 07:01:52 +00:00
Tomas Votruba
687f5efeef Updated Rector to commit d9cf3d4b9f427691349d4c1fbe2160241c1585b8
d9cf3d4b9f Remove removeNode() from RemoveUnusedPrivatePropertyRector (#4092)
2023-06-06 11:55:37 +00:00
Tomas Votruba
bfd8f1a220 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-05-31 13:27:13 +00:00
Tomas Votruba
010d5d2c6f Updated Rector to commit 22e97d1c418d0772cf449ed888522ca060829ddf
22e97d1c41 Cleanup stmts (#4027)
2023-05-30 13:05:48 +00:00
Tomas Votruba
35af12fddf Updated Rector to commit 7a739fd157144b4a03d88a01a5dd01740a02f2c7
7a739fd157 [Php81] Remove parent attribute on ReadOnlyPropertyRector (#3999)
2023-05-28 14:30:49 +00:00
Tomas Votruba
33a05b3e73 Updated Rector to commit 07a7876d8a4c93097c966730acbc4aeb7d9e1765
07a7876d8a [CodingStyle] Remove OrderAttributesRector, as rather coding standard and does not have specific PSR example (#3838)
2023-05-14 13:22:44 +00:00
Tomas Votruba
f613b7a98a Updated Rector to commit 499fdbc3af1779929444c170a778678e28be957a
499fdbc3af Drop AttributeKey::SCOPE in various classes (#3836)
2023-05-14 10:01:33 +00:00
Tomas Votruba
4febb1e4a1 Updated Rector to commit 4f6de3f84ecb50aba2643f4b38dcfce6e04e1f4a
4f6de3f84e ReadOnlyPropertyRector: do cheaper checks first (#3618)
2023-04-16 10:42:58 +00:00
Tomas Votruba
0e1b533718 Updated Rector to commit d2080c2267a7bfa4b132fa3f728fd509fb3a39e3
d2080c2267 [Php82] Move consume trait property skip check to ReadOnlyClassRector (#3316)
2023-01-29 06:15:33 +00:00
Tomas Votruba
8d6b5e9645 Updated Rector to commit 76a6df8f8ddc9f1aab255783498f28714b36140e
76a6df8f8d [Php81] Skip ReadonlyProperty for class that consume Trait with Property (#3314)
2023-01-29 03:47:42 +00:00
Tomas Votruba
f35a09015b Updated Rector to commit e2f73fa67a2a8f1ee48e14a140359c3470d4d1a3
e2f73fa67a [CodeQuality] Skip reassign key on SimplifyForeachToCoalescingRector (#3315)
2023-01-29 02:03:17 +00:00
Tomas Votruba
64a999931a Updated Rector to commit 76a6df8f8ddc9f1aab255783498f28714b36140e
76a6df8f8d [Php81] Skip ReadonlyProperty for class that consume Trait with Property (#3314)
2023-01-29 02:02:55 +00:00
Tomas Votruba
1013215a6c Updated Rector to commit ea223437f27820fa43a96bf17839d7d1b88417d1
ea223437f2 [Php81] Skip ReadOnlyPropertyRector on read only class (#3236)
2022-12-22 14:22:43 +00:00
Tomas Votruba
edf6290721 Updated Rector to commit d2ff17ea434ef68e13e62126ec463002e861eaba
d2ff17ea43 [Php81] Skip assigned after defined as constructor promotion on ReadOnlyPropertyRector (#2976)
2022-10-05 09:16:10 +00:00
Tomas Votruba
967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba
8b000ddfe5 Updated Rector to commit 064d38be75
064d38be75 [Php81] Skip param reassign on ReadOnlyPropertyRector (#2498)
2022-06-17 07:22:25 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +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
7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
5d5bb830df Updated Rector to commit c7ff21825e
c7ff21825e [Php81] Skip multiple assign on __construct on ReadOnlyPropertyRector (#2088)
2022-04-17 15:25:10 +00:00
Tomas Votruba
9d2d61cbdd Updated Rector to commit f7e1035828
f7e1035828 [Php81] Skip static property on ReadOnlyPropertyRector (#1939)
2022-03-16 09:24:07 +00:00
Tomas Votruba
7afdbe00e6 Updated Rector to commit 4dee58ba84
4dee58ba84 [Php81] Fix property with attribute inlined on ReadOnlyPropertyRector (#1869)
2022-02-25 12:34:50 +00:00
Tomas Votruba
b206f0de34 Updated Rector to commit 4cf6522e77
4cf6522e77 [Php81] Skip used as ArrayDimFetch on Arg on side effect FuncCall on ReadOnlyPropertyRector (#1821)
2022-02-16 21:07:17 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba
c726969380 Updated Rector to commit fc10fce13d
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba
cbb188acfb Updated Rector to commit 922e91d84a
922e91d84a [Php81] Skip non private modifier on ReadOnlyPropertyRector (#1367)
2021-12-02 10:13:44 +00:00
Tomas Votruba
a690f01521 Updated Rector to commit cec23b37b2
cec23b37b2 [Php81] Skip no type param on ReadOnlyPropertyRector (#1365)
2021-12-02 07:35:25 +00:00
Tomas Votruba
e705b30593 Updated Rector to commit 1cbf32d44c
1cbf32d44c [Php81] Add scalar type on Enum MyCLabsClassToEnumRector and SpatieEnumClassToEnumRector (#1366)
2021-12-02 07:34:29 +00:00
Tomas Votruba
768d809544 Updated Rector to commit 3f07f38426
3f07f38426 VisibilityManipulator adjustment (#1362)
2021-12-02 07:34:16 +00:00
Tomas Votruba
0988a578ae Updated Rector to commit 9e81001c68
9e81001c68 [Config] Re-enable Config SetList on rector.php (#1360)
2021-12-01 09:10:03 +00:00
Tomas Votruba
fffeddc456 Updated Rector to commit 4287ca3aa9
4287ca3aa9 [Php81] Skip no type property on ReadOnlyPropertyRector (#1354)
2021-11-30 16:51:32 +00:00
Tomas Votruba
47f116fafd Updated Rector to commit 59e9222be2
59e9222be2 [Php81] Skip has default value on ReadOnlyPropertyRector (#1355)
2021-11-30 16:50:00 +00:00
Tomas Votruba
00645c017c Updated Rector to commit 0e96615c36
0e96615c36 [DX] Explicitly inject visibility manipulator service instead of parent constructor (#1298)
2021-11-24 11:00:16 +00:00
Tomas Votruba
976ae72f73 Updated Rector to commit 587d8d8058
587d8d8058 [Downgrade PHP 8.1] Add DowngradeReadonlyPropertyRector (#1262)
2021-11-18 19:20:31 +00:00