4831 Commits

Author SHA1 Message Date
Tomas Votruba
623e329a47 Updated Rector to commit 55575af7d6ab0af6864ef33d50da7b0e07902794
55575af7d6 Move RemovedAndAddedFilesCollector, ParameterProvider from AbstractRector to rules that actually use it (#2038)
2022-04-09 23:52:05 +00:00
Tomas Votruba
3a2aaafb14 Updated Rector to commit 34070663154623957151f88cf753962ec2ea782f
3407066315 [DX] Replace global BetterStandardPrinter from AbstractRector with autowired NodePrinterInterface for easier and specific re-use (#2036)
2022-04-09 22:42:24 +00:00
Tomas Votruba
4ea9b41528 Updated Rector to commit 7fd42ea923ebaf88f9c05cd838224a65a43c92a3
7fd42ea923 add possibility to add short doc name (#2032)
2022-04-09 08:05:52 +00:00
Tomas Votruba
cd7d84363a Updated Rector to commit 5a2682e4a5e8d0dc67e9dec74d084e3f75ea1910
5a2682e4a5 [TypeDeclaration] Skip in trait on TypedPropertyFromAssignsRector (#2030)
2022-04-09 07:29:28 +00:00
Tomas Votruba
a4d2113720 Updated Rector to commit c20f2301fed6db0579b554b49543fb64c3fd6571
c20f2301fe Add RectorConfigurator for custom configuration methods and avoid conflicts with Symfony API (#2019)
2022-04-08 18:51:16 +00:00
Tomas Votruba
300f7da027 Updated Rector to commit 4b351a730638cdf31f97dc02ca708f096582d604
4b351a7306 [Php74] Skip array var type filled default null in __construct on TypedPropertyRector (#2029)
2022-04-08 18:43:37 +00:00
Tomas Votruba
34dc036a62 Updated Rector to commit b12415b7b2f0a831127a77e17c9b56e95cd20c2a
b12415b7b2 [TypeDeclaration] Skip default type value different with type assigned (#2027)
2022-04-08 08:52:55 +00:00
Tomas Votruba
bc4242dccb Updated Rector to commit 8f9abbd8b7e4ad06e5c8b188fec3a001eccb97e9
8f9abbd8b7 Trigger notification (#2015)
2022-04-07 07:54:47 +00:00
Tomas Votruba
1c3a355583 Updated Rector to commit be530c5e2f56190f5fe1813ae4344cdaf3f75d7f
be530c5e2f [Removing] Add RemoveNamespaceRector (#2013)
2022-04-06 12:39:03 +00:00
Tomas Votruba
5f44698947 Updated Rector to commit 85ff4163b006fd19406655fd86a50733cf32f7af
85ff4163b0 [TypeDeclaration] Handle default value on not inlined assignment in __construct on TypedPropertyFromStrictConstructorRector (#2008)
2022-04-05 08:03:44 +00:00
Tomas Votruba
7fde66200e Updated Rector to commit 258f2d031e5b7f1fc98707e889d47e3e54d232ed
258f2d031e phpstan (#2006)
2022-04-04 05:57:16 +00:00
Tomas Votruba
7e7dc913ba Updated Rector to commit 02bb2edef38a70e9f4012850fe4fc395dd697d0b
02bb2edef3 [Scoper] Clean up scoper replace namespace stub (#2002)
2022-04-03 00:58:28 +00:00
Tomas Votruba
c5a12d271e Updated Rector to commit 7a37df2b60816a16e8132e1e7aac1dc2b55085e5
7a37df2b60 [DeadCode] Add Closure support on RemoveLastReturnRector (#1993)
2022-04-02 08:38:27 +00:00
Tomas Votruba
daae17bd4e Updated Rector to commit 12f027c8a1e5840b888d51b12730752e6cc232a8
12f027c8a1 [TypeDeclaration] Handle yield and return in inner function on AddVoidReturnTypeWhereNoReturnRector (#1986)
2022-04-01 05:37:00 +00:00
Tomas Votruba
79340ccaa4 Updated Rector to commit 0f22f0c55f3993933486e4472ac2bf400fa43bb7
0f22f0c55f Fix AddClosureReturnTypeRector for union types of mutually related classes (#1983)
2022-03-31 18:16:59 +00:00
Tomas Votruba
3ff16a724b Updated Rector to commit 7ddcb7939a2c306c9490c18e4e72e25a801c24bf
7ddcb7939a [TypeDeclaration] Fix AddMethodCallBasedStrictParamTypeRector for offset type (#1982)
2022-03-31 15:58:09 +00:00
Tomas Votruba
963952f993 Updated Rector to commit eba904f406bde295fd28c8a56055787a03051186
eba904f406 [Php80] Skip empty default on ChangeSwitchToMatchRector (#1980)
2022-03-31 11:04:24 +00:00
Tomas Votruba
7ede09fb94 Updated Rector to commit a375ee264111277cc227fd1e02d7303630c67e32
a375ee2641 [Core][EarlyReturn][Php73] Fix used along tweak between JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1979)
2022-03-30 06:32:05 +00:00
Tomas Votruba
fd5c465b5d Updated Rector to commit edcd91a29f7db89d0e478f6028a9d750317a1b42
edcd91a29f [TypeDeclaration] Skip return inside array_map on ArrayShapeFromConstantArrayReturnRector (#1977)
2022-03-29 10:14:23 +00:00
Tomas Votruba
6f12ae7d35 Updated Rector to commit b97ce487e6a3a94df8bcefe4e5c30c302253a678
b97ce487e6 [CodeQuality] Handle Param by reference in target method on CallableThisArrayToAnonymousFunctionRector (#1974)
2022-03-29 06:08:35 +00:00
Tomas Votruba
4f5f9f8bda Updated Rector to commit df0d552cffdd8fa4fda51647839438b84ad93aac
df0d552cff Handle annotation import with enable AUTO_IMPORT_NAMES not changed (for non-namespaced file) (#1973)
2022-03-28 09:18:40 +00:00
Tomas Votruba
2d8fcc1394 Updated Rector to commit a20320d8ca73dee0d612aa4b4b15bd52f9f5837a
a20320d8ca [Php55] Move GetCalledClassToSelfClassRector + GetCalledClassToStaticClassRector from php 7.4 to 5.5 SetList (#1972)
2022-03-28 09:17:08 +00:00
Tomas Votruba
9ac9586ee2 Updated Rector to commit 6f61a092430c3f87f148e0e4be8691efc718076f
6f61a09243 [TypeDeclaration] Skip key has bracket {}[] on ArrayShapeFromConstantArrayReturnRector (#1968)
2022-03-27 11:19:47 +00:00
Tomas Votruba
bb3ebe7fed Updated Rector to commit 900eca0ce5022b55e7c436057fda0801b95b903d
900eca0ce5 [Doc] Fix composer docs generation ConfiguredCodeSample in RemoveUnusedPrivatePropertyRector (#1963)
2022-03-26 19:22:15 +00:00
Tomas Votruba
ec76745f1f Updated Rector to commit 699e314ef34ef6572d36bc372ac1e4837f5f2634
699e314ef3 Fix stub PHPUnit\Framework\TestCase (#1960)
2022-03-25 13:08:27 +00:00
Tomas Votruba
39f74c2f08 Updated Rector to commit 86eb0dd3632cac7e97fc21c3f59f0e80d6a9d579
86eb0dd363 [DX] Remove different php version rector reporting to make run more clean (#1959)
2022-03-24 23:45:46 +00:00
Tomas Votruba
c770707831 Updated Rector to commit 278cd56de5cb1b18ee7162dee6340a6c72689dc1
278cd56de5 Bump min to PHP 7.2 (#1955)
2022-03-24 21:23:19 +00:00
Tomas Votruba
0a72eb262e Updated Rector to commit 6ebf140ee5855bc9909976e95c3aaa487711fba2
6ebf140ee5 Remove psr/http-message dep on downgrade scoped (#1958)
2022-03-24 04:54:45 +00:00
Tomas Votruba
9728a66366 Updated Rector to commit cbefb243e25ad213b187a55e5e50ec34b627b547
cbefb243e2 [TypeDeclaration] Avoid adding param type in case of different default type (#1956)
2022-03-23 09:36:21 +00:00
Tomas Votruba
65f6a3f867 Updated Rector to commit 8f86f525f767f26787126265c158e8b9e77c4c0a
8f86f525f7 Fix stub PHPUnit\Framework\TestCase (#1954)
2022-03-22 14:39:27 +00:00
Tomas Votruba
a5de7de1ba Updated Rector to commit d5c5fe3a97d1c33f20044659af23202e9e7e9ec5
d5c5fe3a97 [Php80] Handle return match no default on ChangeSwitchToMatchRector (#1949)
2022-03-21 07:38:33 +00:00
Tomas Votruba
247cb9fc8b Updated Rector to commit f82fa3182cf021adbce60e2c6d9e823df5737881
f82fa3182c [DeadCode] Make RemoveUnusedPrivatePropertyRector configurable to allow skip remove assign with side effect (#1948)
2022-03-20 19:48:16 +00:00
Tomas Votruba
3de728ec5c Updated Rector to commit 2d3419bc949261395da2232bc12312cad2618ad7
2d3419bc94 [Arguments] Handle by pass 2nd argument default value on ArgumentAdderRector (#1946)
2022-03-18 13:14:22 +00:00
Tomas Votruba
0c232fa881 Updated Rector to commit feae0cfa0ca0d3a867073aea0003c2287abf56e9
feae0cfa0c [DeadCode][CodingStyle] Handle SplitDoubleAssignRector+RemoveUnusedPrivatePropertyRector (#1944)
2022-03-17 07:36:14 +00:00
Tomas Votruba
9d2d61cbdd Updated Rector to commit f7e1035828745f5cb95634709f7970a9a246ca77
f7e1035828 [Php81] Skip static property on ReadOnlyPropertyRector (#1939)
2022-03-16 09:24:07 +00:00
Tomas Votruba
85dc5ec161 Updated Rector to commit dc8e8ffaeaa0f3ad4ba054b0cc6bb2a44ba1660a
dc8e8ffaea [PHP 8.0] Fix skip of silent key in annotation to attribute (#1932)
2022-03-15 12:56:50 +00:00
Tomas Votruba
16633831b8 Updated Rector to commit b83523354f456d5a3a2cf65007bcb189dc235f3f
b83523354f [DeadCode] Skip called by current classname on RemoveUnusedPrivateClassConstantRector (#1931)
2022-03-15 09:06:38 +00:00
Tomas Votruba
64de0ed996 Updated Rector to commit 90bb8b98681e4e8f98bb6ddc2c7efaf64e091cab
90bb8b9868 Enable vendor patching (#1929)
2022-03-14 09:10:58 +00:00
Tomas Votruba
d4e12af328 Updated Rector to commit 9f69a9512df2abd36810b2e82f6419b48eed4629
9f69a9512d in some cases StartAndEnd is null RemoveNodesStartAndEndResolver (#1926)
2022-03-13 18:14:16 +00:00
Tomas Votruba
8f8963b6ba Updated Rector to commit 81c2492118ac64ce280b98cecada6ba812c53b2e
81c2492118 [automated] Re-Generate Nodes/Rectors Documentation (#1925)
2022-03-13 00:30:25 +00:00
Tomas Votruba
9200bbb091 Updated Rector to commit 9d74e20acba26a1b282f883bcb62639cad749750
9d74e20acb [Dep] Add PHPUnit\Framework\TestCase stub on target-repository bootstrap.php (#1924)
2022-03-12 17:33:54 +00:00
Tomas Votruba
b61a2f6afa Updated Rector to commit 07df2bc028742c7b9586601f837f4214690edb5d
07df2bc028 [CodingStyle] Use alias name when exists on CatchExceptionNameMatchingTypeRector (#1920)
2022-03-11 08:59:17 +00:00
Tomas Votruba
43fefabef2 Updated Rector to commit 8d1ea5366f0f2d61f568c885fed1d03a186490f8
8d1ea5366f [Renaming] Refactor DocBlockNamespaceRenamer to use PhpDocNodeTraverser for RenameNamespaceRector (#1919)
2022-03-10 14:46:54 +00:00
Tomas Votruba
53fdb25a5e Updated Rector to commit 888f4831021ef8941d4e8f2931d2fe68a76bb044
888f483102 [Renaming] Apply rename fully qualified namespace docblock on RenameNamespaceRector (#1917)
2022-03-10 10:09:54 +00:00
Tomas Votruba
9094a0693a Updated Rector to commit 73306740de2dfdd73b05e22c88fcfc0d15bc8c52
73306740de [Transform] Handle property exists via Property Promotion on NewToMethodCallRector (#1915)
2022-03-08 08:23:12 +00:00
Tomas Votruba
a033b9c203 Updated Rector to commit dbdcaa188c139032272572f327fc13f1daab5f02
dbdcaa188c [Php81] Skip override __construct from interface on NewInInitializerRector (#1913)
2022-03-07 18:55:56 +00:00
Tomas Votruba
e2b38df3ff Updated Rector to commit 0c18cf682f15f1cf66cdbcf7e0613659e204652f
0c18cf682f [TypeDeclaration] Skip ArrayShapeFromConstantArrayReturnRector on class name as key (#1911)
2022-03-07 12:15:05 +00:00
Tomas Votruba
4e57fb25dc Updated Rector to commit 15c81068713a06138dd99103da8321a386998137
15c8106871 [Order] Deprecate rather coding standard related set, use OrderedClassElementsFixer instead (#1910)
2022-03-07 12:13:17 +00:00
Tomas Votruba
c91768f1b2 Updated Rector to commit 96601889449e4ff8b8090ed7d6f90480dd5593e1
9660188944 [phpstan] Add known array keys types (#1909)
2022-03-07 11:51:39 +00:00
Tomas Votruba
fe65ca2911 Updated Rector to commit 8057e33f915e9bab0ad10271414a1504e60331c0
8057e33f91 [TypeDeclaration] Add ArrayShapeFromConstantArrayReturnRector (#1908)
2022-03-07 11:34:50 +00:00