223 Commits

Author SHA1 Message Date
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
4ee24449c6 Updated Rector to commit a66b295ddf18885a44d7b177ccf65a0014d25b5c
a66b295ddf [Php81] Merge attributes on NewInInitializerRector (#3546)
2023-04-01 17:08:23 +00:00
Tomas Votruba
9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba
7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba
9db8a3ec2f Updated Rector to commit 5db390cb7b67d3537acc34d3eabb04de1ef4b35a
5db390cb7b [Php81] Handle null defined in variable first on NullToStrictStringFuncCallArgRector (#3385)
2023-02-15 15:21:14 +00:00
Tomas Votruba
66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +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
b000cd08e5 Updated Rector to commit f6463a551369f884954c0f7dbc8b423e7d29d8e4
f6463a5513 remove unused ClassFromEnumFactory
2023-01-15 01:08:52 +00:00
Tomas Votruba
764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba
1ccd0845db Updated Rector to commit eadd54081521c7d426a8d4249157f6239dd2bc8a
eadd540815 [Core] Remove ParentAttributeSourceLocator (#3257)
2022-12-31 10:11:25 +00:00
Tomas Votruba
b6297a1113 Updated Rector to commit 384e84a982b8535dc06e49c0ed90b1979029e0e8
384e84a982 refactors Spatie enum method calls to native enums (#3226)
2022-12-28 12:01:35 +00:00
Tomas Votruba
727b9f46f0 Updated Rector to commit bfa1891c50677b01136a9308fd3c3ecc12e267d9
bfa1891c50 [cleanup] Remove 73 unused public methods (#3245)
2022-12-23 17:10:25 +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
e1a1e9af63 Updated Rector to commit e35497e40a8f71ef8c602759922457289d06821a
e35497e40a [Php81] Allow explicit mixed processed on trait on NullToStrictStringFuncCallArgRector (#3212)
2022-12-17 14:48:31 +00:00
Tomas Votruba
4fefacce80 Updated Rector to commit ee4050a5250045ad14cee2982d49daca1367250b
ee4050a525 Compatibility with BetterReflection 6.x on ClassFromEnumFactory (take 2) (#3207)
2022-12-16 12:43:56 +00:00
Tomas Votruba
b607ae2a53 Updated Rector to commit 0d6234b584f14d25e02c8c97afac7f6374aa306c
0d6234b584 [DeadCode] Skip standalone @return false or true on RemoveUselessReturnTagRector (#3202)
2022-12-15 14:08:31 +00:00
Tomas Votruba
5b79ce9485 Updated Rector to commit 40f6d194e78026978fa5af3a0be9d209a511c173
40f6d194e7 [PHP 8.1] Add support for values method in SpatieEnumClassToEnumRector (#3196)
2022-12-15 10:18:35 +00:00
Tomas Votruba
38a6f76199 Updated Rector to commit 8bf7073f83f1758013cdecc804075ddce316f0f5
8bf7073f83 [Php81] Skip const Fetch non static method on FirstClassCallableRector (#3183)
2022-12-11 15:37:59 +00:00
Tomas Votruba
c529321b60 Updated Rector to commit e4791145fc9ec5709183c9af173f33e780109fb6
e4791145fc [Php81] Allow normal variable in trait on NullToStrictStringFuncCallArgRector (#3181)
2022-12-10 15:34:03 +00:00
Tomas Votruba
7cccf103fd Updated Rector to commit 91f4caeba4b8fbaeb8928fcd1f9d526b076154f5
91f4caeba4 [PHP 8.1] Skip trait in NullToStrictStringFuncCallArgRector as unknown context (#3180)
2022-12-10 12:49:18 +00:00
Tomas Votruba
83accd4a98 Updated Rector to commit efd09bbb400b2382be39effc206551e6964fa5ea
efd09bbb40 Compatibility with BetterReflection 6.x on ClassFromEnumFactory (#3150)
2022-12-04 13:15:14 +00:00
Tomas Votruba
5e2e700040 Updated Rector to commit d2064068055fb25da2c245515a6c6260fbe6a597
d206406805 [PHP 8.1] Add other methods to ClassFromEnumFactory
2022-12-01 18:05:56 +00:00
Tomas Votruba
311b8e7d20 Updated Rector to commit 3fd129ff50ca57f219130fe9665bd4951fac42bd
3fd129ff50 remove NodeTypeAnalyzer (#3055)
2022-11-12 09:58:36 +00:00
Tomas Votruba
3bcc7247cb Updated Rector to commit ac8fc4c418132ab78ca3c0d61d8533bf530fe58f
ac8fc4c418 [Core] Improve performance: only reindex Node Attributes when Original Node is not null (#3043)
2022-11-11 11:46:13 +00:00
Tomas Votruba
e17cd185d3 Updated Rector to commit b4c0637b1f59b5110a41205df6af51105bee7520
b4c0637b1f Register Ctype functions (#3008)
2022-10-23 13:38:34 +00:00
Tomas Votruba
f459d3e9f0 Updated Rector to commit 63976bccf69c247b0a47407fb9d8f92daee4f94e
63976bccf6 Compatibility with BetterReflection 6.x (#2999)
2022-10-17 13:37:08 +00:00
Tomas Votruba
292c8dba69 Updated Rector to commit 5d1f686bc072284b8d2b1319dd34cdbeb7c1010b
5d1f686bc0 NullToStrictStringFuncCallArgRector - Register a few more functions (#2994)
2022-10-16 08:59:58 +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
44e9f0dd99 Updated Rector to commit 429c9c087662fbd35e10e5d044b63aabfb1872f7
429c9c0876 [Php81] Handle crash insensitive function name on NullToStrictStringFuncCallArgRector (#2953)
2022-09-24 08:51:57 +00:00
Tomas Votruba
d1c230fe39 Updated Rector to commit effe4d38f68cfe64a38f7c2422befed3a872142e
effe4d38f6 [Skipper] Handle provide direct relative path in Skipper (#2921)
2022-09-11 12:05:24 +00:00
Tomas Votruba
e3b535f364 Updated Rector to commit 2975a1bb0cc1a9e76c4cf09ad9b32494ac90d4e0
2975a1bb0c Skip first class callables in NullToStrictStringFuncCallArgRector (#2919)
2022-09-07 13:03:58 +00:00
Tomas Votruba
cb35f4b8c0 Updated Rector to commit f230e5463ae1bfd9e1d6070935def31ae493109e
f230e5463a [PHP 8.1] Do not process static methods from Enum class (#2911)
2022-09-05 12:47:29 +00:00
Tomas Votruba
f177e0c3dd Updated Rector to commit 76dc886f7a7f13fbed51e102ce4b616106f42702
76dc886f7a Cleanup, re-use AttributeName enums (#2792)
2022-08-19 07:49:30 +00:00
Tomas Votruba
9fdeacaeee Updated Rector to commit 933eb1353d193ca90bdb02265039469c620ad46f
933eb1353d [Php81] Handle crash on Crypt() single arg on NullToStrictStringFuncCallArgRector (#2767)
2022-08-15 18:34:46 +00:00
Tomas Votruba
f6f9dadfe8 Updated Rector to commit 2667f35cc72a6f7da454635a24bdc3ede61082ae
2667f35cc7 Improve ReturnTypeWillChangeRector to handle any method of defined type; move PhpDocFromTypeDeclarationDecorator to Downgrade rules (#2754)
2022-08-11 15:03:59 +00:00
Tomas Votruba
26bacab80c Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:46:08 +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
1d9b00a194 Updated Rector to commit d7be25882209a65d05c9b41e7bcd4f198ac6478f
d7be258822 [Php81] Skip Encapsed on NullToStrictStringFuncCallArgRector (#2744)
2022-08-09 20:47:13 +00:00
Tomas Votruba
951e340c94 Updated Rector to commit 49a8343323c6cc5c40e1ca0ef4b3e6c418848ea7
49a8343323 [PHP 8.1] Keep use stmts in MyCLabsClassToEnumRector enum (#2696)
2022-07-20 13:38:02 +00:00
Tomas Votruba
cebbc835dd Updated Rector to commit 963c48c32a154f0045adde8793492afb0bf3caf2
963c48c32a [PHP 8.1] Extend MyCLabsMethodCallToEnumConstRector with getValue() and static call (#2695)
2022-07-20 13:20:59 +00:00
Tomas Votruba
ff718bc107 Updated Rector to commit 329b4f2e6f13394b56eb4ad01e020fc651fc83d5
329b4f2e6f [NodeTypeResolver] Refactor ParametersAcceptorSelectorVariantsWrapper to pass CallLike instead of Arg (#2632)
2022-07-05 07:33:24 +00:00
Tomas Votruba
b50d03dfc6 Updated Rector to commit 87799d5f1d70d6399ed9e72c4ffa8b421c671527
87799d5f1d Add ParametersAcceptorSelectorVariantsWrapper to handle selectFromArgs() on multi variants, fallback to selectSingle (#2607)
2022-07-02 21:18:00 +00:00
Tomas Votruba
138ae66a5b Updated Rector to commit 83f2b16f0cb02afa836e1509200a81ddadcf02e0
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 15:38:46 +00:00
Tomas Votruba
c9b4c3f38d Updated Rector to commit 0fb4f5bfbbf4460ddb40b168cf40555f089d3a45
0fb4f5bfbb [Core] Apply Scope Refresh on Enum_ (#2549)
2022-06-21 14:59:06 +00:00
Tomas Votruba
7e8b6a22aa Updated Rector to commit e8ca23fd1592e9a0e6587d0ecddc6199a5c219d3
e8ca23fd15 [Php81] NullToStrictStringFuncCallArgRector - Register more function (#2543)
2022-06-21 10:27:51 +00:00
Tomas Votruba
f638f7a12a Updated Rector to commit fe88fbb6306cec3728b9158fd13b1cfd23b9f0f6
fe88fbb630 [PHP 8.1] Add FirstClassCallableRector (#2544)
2022-06-21 07:39:15 +00:00
Tomas Votruba
6df03b5f94 Updated Rector to commit d4ec140212e815b6ddc6fbbda7fba7acbc7c10e1
d4ec140212 [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
2022-06-20 14:51:15 +00:00