5058 Commits

Author SHA1 Message Date
Tomas Votruba
7e10a637a2 Updated Rector to commit 3ddac18c51a77b07caae35d538b88bad0004166a
3ddac18c51 [Php74] Add class-string not filled by __construct to be to nullable string on TypedPropertyRector (#2123)
2022-04-22 14:28:27 +00:00
Tomas Votruba
af205b10a4 Updated Rector to commit 75fccc5d5838eb37ba35266848bacd13a0e5b58c
75fccc5d58 [Php71] Remove PropertyFetchAnalyzer::isFilledByConstructParam (#2122)
2022-04-22 00:49:25 +00:00
Tomas Votruba
90aca384f1 Updated Rector to commit aa345bc51d32ff84a09ea791e2f59cfd2d9b75b9
aa345bc51d [Php74] Add class-string to string support on TypedPropertyRector (#2120)
2022-04-21 22:59:51 +00:00
Tomas Votruba
07e4ebd293 Updated Rector to commit a0c8a6be61716bc60a11280ddbf7a9078bded685
a0c8a6be61 add deprecations to Option constants and refer to RectorConfig (#2112)
2022-04-21 06:47:26 +00:00
Tomas Votruba
2a9a3a7f8f Updated Rector to commit 568a69b8c0d8c215cdfda310ed89245cae35631a
568a69b8c0 Add paths() and skip() to UpgradeRectorConfigRector (#2109)
2022-04-20 19:05:00 +00:00
Tomas Votruba
e3b6e1da0f Updated Rector to commit 03fbf02ec4fb7a059659501a0f2fee760555639b
03fbf02ec4 [DX] Run UpgradeRectorConfigRector on /configs/set (#2099)
2022-04-20 07:12:09 +00:00
Tomas Votruba
764369f38b Updated Rector to commit d90953d9a9ddd9a7517c78e28a5f5e417d1f99d3
d90953d9a9 [DX] Add RectorConfig upgrade rule to make upgrade easier :) (#2098)
2022-04-20 07:06:09 +00:00
Tomas Votruba
2684ff98ab Updated Rector to commit 5025d255cae32b4a240e6a52d4d151f355612809
5025d255ca [Core] Rollback ParameterProvider autowire into AbstractRector (#2095)
2022-04-19 08:10:27 +00:00
Tomas Votruba
18190b5ece Updated Rector to commit 8e51a6c3d1a22b5464c790d446d869488e94ec61
8e51a6c3d1 [Php74] Skip array type on trait on RestoreDefaultNullToNullableTypePropertyRector (#2094)
2022-04-18 22:25:27 +00:00
Tomas Votruba
72a0a9f05b Updated Rector to commit 25616949cb3da22225196fa7f3ee78dc2b1298c8
25616949cb make resolveParentClassMethods() for re-use in nette package
2022-04-18 12:18:09 +00:00
Tomas Votruba
2fb3b1c1d8 Rector 0.12.21 2022-04-18 12:12:41 +00:00
Tomas Votruba
5f10b8092d Updated Rector to commit 46d2c00038e83165e8e9b2d773cfa5deb838c243
46d2c00038 [automated] Re-Generate Nodes/Rectors Documentation (#2085)
2022-04-17 00:35:02 +00:00
Tomas Votruba
c821b3294b Updated Rector to commit 92c2fc1035a6d03fd2b3e3fe7f7d8571ba26b69a
92c2fc1035 [Php74] Handle standalone false on php >=8 feature enabled on TypedPropertyRector (#2084)
2022-04-16 19:55:39 +00:00
Tomas Votruba
cfa1942bf9 Updated Rector to commit 73bf29c279191373755f08c2fdff45c013443c37
73bf29c279 [TypeDeclaration] Remove NullType when already has mixed on ParamAnnotationIncorrectNullableRector (#2081)
2022-04-16 16:16:44 +00:00
Tomas Votruba
74a8a29f4c Updated Rector to commit 8be11db297fa6a1eb46ee57f64c92c547f189ba7
8be11db297 [Naming] Skip used by trait on RenamePropertyToMatchTypeRector (#2077)
2022-04-15 07:29:32 +00:00
Tomas Votruba
446b0a8f86 Updated Rector to commit c50992351682af007606cb020cb4cdd19b749953
c509923516 [Feature] Add ParamAnnotationIncorrectNullableRector for fixing incorrect null type in @param (#2069)
2022-04-14 08:12:26 +00:00
Tomas Votruba
863e58bc5e Updated Rector to commit 363f4083d584d99f32a1d76961c0b2b8be4ced0e
363f4083d5 [TypeDeclaration] Make TypedPropertyFromAssignsRector configurable with INLINE_PUBLIC (#2052)
2022-04-13 16:35:59 +00:00
Tomas Votruba
e7029ad1f5 Updated Rector to commit 0ba8579821d5aed010e087d8a41947e67c6f904c
0ba8579821 [Fix] Make UnionTypesRector and ReturnAnnotationIncorrectNullableRector skip chaotic methods (#2067)
2022-04-13 16:29:57 +00:00
Tomas Votruba
071d7cb788 Updated Rector to commit c35cc97d381f97c602cccb86ccf1d688a869cbdd
c35cc97d38 [DX] Add phpVersion() method to RectorConfig + make use of new config class in test configs (#2065)
2022-04-12 14:41:09 +00:00
Tomas Votruba
66a823a2fb Updated Rector to commit 51e89c3f32c7f588dfd82b4b914f0ba9518adb0f
51e89c3f32 [docs] Improve first-time contributors docs (#2061)
2022-04-12 08:58:57 +00:00
Tomas Votruba
6c73983fe9 Updated Rector to commit a1ac1b6fdf09744e2b1ca427e44715f28c24d22d
a1ac1b6fdf [Feature] Add ReturnAnnotationIncorrectNullableRector for fixing incorrect null type in @return (#2060)
2022-04-12 06:58:51 +00:00
Tomas Votruba
479b159635 Updated Rector to commit f12861bda01c224330cb1c7389a49cf66b6de287
f12861bda0 [Php74] Move multi rules used tests to tests/Issues for TypedPropertyRector (#2051)
2022-04-11 08:29:44 +00:00
Tomas Votruba
a4e8d9fc7a Updated Rector to commit b9a912bb5d5c4966d2a7893aa3d12abe96a1ccfa
b9a912bb5d [DX] RectorConfig - add ruleWithConfiguration() and other methods (#2043)
2022-04-10 17:44:48 +00:00
Tomas Votruba
2807e577a5 Updated Rector to commit d3bb21316ed6c640c3e902ccaaf1c47651cd54a6
d3bb21316e [DX] Add RectorConfig->parallel() and skip() (#2040)
2022-04-10 13:02:53 +00:00
Tomas Votruba
d58370849e Updated Rector to commit 76894e5c63cc76303b71458121c12a5666204bff
76894e5c63 [Naming] Add Closure and Function_ on RenameParamToMatchTypeRector (#2042)
2022-04-10 08:30:09 +00:00
Tomas Votruba
c4650c159a Updated Rector to commit 76667332cf4daf4d9ca8f081fe6389b41673b3e5
76667332cf [automated] Re-Generate Nodes/Rectors Documentation (#2041)
2022-04-10 00:31:45 +00:00
Tomas Votruba
dc2fdd3bdc Updated Rector to commit 3e4e571499cba13b952d1fab434938e2007ad8ad
3e4e571499 [DX] Remove deprecated attributes (#2039)
2022-04-09 23:57:55 +00:00
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