14152 Commits

Author SHA1 Message Date
Tomas Votruba
d4e4ff8300 Updated Rector to commit 61fd4d83082a78b49a7076daa75ecea7e3fd65f7
61fd4d8308 [config] Add import bare support (#2103)
2022-04-20 10:02:04 +00:00
Tomas Votruba
5a03282dce Updated Rector to commit 398608747315e1d7bc96571db73903b140d22ff3
3986087473 [DX] Extract ContainerConfiguratorImportsMerger (#2101)
2022-04-20 08:09:40 +00:00
Tomas Votruba
c32676bea1 Updated Rector to commit de95ab646f579704328895648de12ca68813c16d
de95ab646f [DX] Add sets() to RectorConfig upgrade rule (#2100)
2022-04-20 07:44: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
614136ae37 Updated Rector to commit b92465d5c0563b8d2ae7ca95aed043d520560309
b92465d5c0 fixes #7118 (#2097)
2022-04-19 22:20:46 +00:00
Tomas Votruba
53645dcaed Updated Rector to commit b4efb43c044d51363b23248e51ea6fae20e17afa
b4efb43c04 [Fix][InlineSimplePropertyAnnotationRector] Add test case and minor fix (#2096)
2022-04-19 11:59:29 +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
7bdca9f843 Updated Rector to commit 0a98c58b9105fd77536f5f129b5aa43b903a994e
0a98c58b91 [Php74] Skip static property filled by trait on TypedPropertyRector (#2091)
2022-04-18 22:44:12 +00:00
Tomas Votruba
4c91bd28f4 Updated Rector to commit 569560bff509d9b78215794ed96079afa833db40
569560bff5 [Scoped] Register ParameterProvider to Excluded class on Scoped version (#2093)
2022-04-18 22:33:02 +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
7dab0762cc Updated Rector to commit 961f67cc0a6973b07ba692129de4ae22e3b5404b
961f67cc0a [Php80] Skip stringable on Anonymous class on StringableForToStringRector (#2092)
2022-04-18 17:44:13 +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 0.12.21 2022-04-18 12:12:41 +00:00
Tomas Votruba
5a655d625d Updated Rector to commit 11fdd74f8abe3deefbb2492c00868c57184fd484
11fdd74f8a build docs (#2090)
2022-04-17 19:22:30 +00:00
Tomas Votruba
5d5bb830df Updated Rector to commit c7ff21825ec2c480bba1f09f09d2d650b37de5b4
c7ff21825e [Php81] Skip multiple assign on __construct on ReadOnlyPropertyRector (#2088)
2022-04-17 15:25:10 +00:00
Tomas Votruba
6bec0089b6 Updated Rector to commit 996caa3f1f7c92c3b811cf51eb2fb887bb27d230
996caa3f1f [PHPStan] Clean up PHPStan ignore errors (#2089)
2022-04-17 14:08:53 +00:00
Tomas Votruba
4b9139b523 Updated Rector to commit b8d06063052510644cd2224cdf468aa2181e78dd
b8d0606305 [Doc] Typo fix; autoimportNames -> importNames (#2086)
2022-04-17 06:12:37 +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
99ecd74e28 Updated Rector to commit f0cad1a722a091bbc309345d92c2617ced64a130
f0cad1a722 [TypeDeclaration] Clean up remove NullType when mixed type exists process (#2083)
2022-04-16 17:33:46 +00:00
Tomas Votruba
840e8ecb40 Updated Rector to commit 6cb95c1be3852a2d3295837320335104f0a24438
6cb95c1be3 Update rector_rules_overview.md (#2082)
2022-04-16 16:37:14 +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
b733212c38 Updated Rector to commit 91b8573525e3b42659da455b0a98d5dfdd48e892
91b8573525 [PHPStan] Set compatible with upcoming PHPStan 1.6.x with set NodeConnectingVisitor tags (#2014)
2022-04-15 17:36:53 +00:00
Tomas Votruba
1fd50e0517 Updated Rector to commit c7e4530a8294d450f0aab4ca6fe8c780af07fc64
c7e4530a82 [Naming][TypeDeclaration] Handle RenameVariableToMatchMethodCallReturnTypeRector + AddVoidReturnTypeWhereNoReturnRector (#2080)
2022-04-15 17:12:35 +00:00
Tomas Votruba
5efb6c74b3 Updated Rector to commit 269858a92cbfd9aa6db06ba5f3ac1152c47bf004
269858a92c [Php56] Skip with coalesce assign on AddDefaultValueForUndefinedVariableRector (#2078)
2022-04-15 11:39:05 +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
254106fbd6 Updated Rector to commit 451964615066aabcced75e66e4af9f13be5b5f7b
4519646150 [build] fix tagging on release
2022-04-14 21:57:42 +00:00
Tomas Votruba
15e49d365b Updated Rector to commit d7590ea66c1aea99c8d10fa4a1403f7f1aa2beb2
d7590ea66c Bump PHPStan, ECS and Symplify to 10.2 + make use of brand new ECSConfig (#2076)
2022-04-14 21:28:22 +00:00
Tomas Votruba
fb6a326e0e Updated Rector to commit 86647cc3ada533dec2435d950bf9da13b4f85e69
86647cc3ad [CodingStyle] Add Future note comment to not register to coding-style config set when ecs with PhpdocLineSpanFixer used (#2075)
2022-04-14 18:13:07 +00:00
Tomas Votruba
99d2e969d8 Updated Rector to commit 9d5ea4c3e6c1f39c7c922a5c82eea75577a57e36
9d5ea4c3e6 [CodeQuality][CodingStyle][DeadCode] Handle SimplifyIfElseToTernaryRector+InlineSimplePropertyAnnotationRector+RemoveUnusedVariableAssignRector (#2074)
2022-04-14 17:41:58 +00:00
Tomas Votruba
9dc4771f4a Updated Rector to commit 51228e4c498e336845bbf18de52fdb0d5ecc7c0b
51228e4c49 [CodingStyle] Skip comment after @var on InlineSimplePropertyAnnotationRector (#2073)
2022-04-14 17:01:10 +00:00
Tomas Votruba
1cdd8d4e52 Updated Rector to commit 09499098eb819d6560b52fdb1420b6fbcd32d104
09499098eb [TypeDeclaration] Register ParamAnnotationIncorrectNullableRector to type-declaration config set (#2071)
2022-04-14 14:58:58 +00:00
Tomas Votruba
1f0de4d2de Updated Rector to commit d30a86313f34e4d10a59910d8bfd1b588f329fe5
d30a86313f [Feature] Add configurable InlineSimplePropertyAnnotationRector for inlining of simple annotations (#2070)
2022-04-14 08:14:01 +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
180b4b0a8f Updated Rector to commit 1c1732f01755f7c1e51b6cccc60bb15e4ff2d733
1c1732f017 [Php74] Add support for string|false|null on RestoreDefaultNullToNullableTypePropertyRector (#2068)
2022-04-13 16:41:54 +00:00
Tomas Votruba
be26c813d6 Updated Rector to commit d0c25cc4b961d21a600cbdb425f73782e7607b0f
d0c25cc4b9 [TypeDeclaration] Register ReturnAnnotationIncorrectNullableRector and VarAnnotationIncorrectNullableRector to type-declaration config set (#2062)
2022-04-13 16:41:06 +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
b1c2035103 Updated Rector to commit dd96863b8ef3b8a86d9268e9e2f7bb5632dfb375
dd96863b8e [ci] separate e2e test with changed attributes (#2066)
2022-04-12 15:58:47 +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
c983f7c3b5 Updated Rector to commit 799b77a8ed40b76e9b0b976b90297436a185c00b
799b77a8ed Fix typo in a comment (#2064)
2022-04-12 12:57:21 +00:00
Tomas Votruba
0dc28df936 Updated Rector to commit 8d92c466fdd6a002ea89b5356ca99def77998bfe
8d92c466fd [DX] Use RectorConfig in configs (#2063)
2022-04-12 11:52:08 +00:00
Tomas Votruba
ab464c9742 Updated Rector to commit ccbeeebb511d3b6abc2ada84ca08cf1bfb6b0ba1
ccbeeebb51 [docs] your name
2022-04-12 09:00:20 +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
b5cb7d46ba Updated Rector to commit 1fc2825e1781c63fa8647e3a52f7bd679fb45952
1fc2825e17 [Transform] Add FileGetContentsAndJsonDecodeToStaticCallRector (#2059)
2022-04-11 22:52:54 +00:00
Tomas Votruba
04f0c86bba Updated Rector to commit 1fc2825e1781c63fa8647e3a52f7bd679fb45952
1fc2825e17 [Transform] Add FileGetContentsAndJsonDecodeToStaticCallRector (#2059)
2022-04-11 18:05:17 +00:00
Tomas Votruba
27249773f0 Updated Rector to commit 05f07aab1889d84e8c4d18dbcf0d07c6128bc185
05f07aab18 [TypeDeclaration] Skip has space and dot in inner array key on ArrayShapeFromConstantArrayReturnRector (#2057)
2022-04-11 16:09:13 +00:00
Tomas Votruba
b08d5fd8e1 Updated Rector to commit 255a1788285756b2c032946920cb09f650862ba7
255a178828 [Core] Remove unused PropertyManipulator::isInlineStmtWithConstructMethod() (#2056)
2022-04-11 15:43:01 +00:00