14024 Commits

Author SHA1 Message Date
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
Tomas Votruba
58077e6924 Updated Rector to commit f00dfc048d51707ac8e3f5b02588ee4d680f9c27
f00dfc048d [TypeDeclaration] Using ConstructorAssignDetector on TypedPropertyFromStrictConstructorRector (#2055)
2022-04-11 15:13:47 +00:00
Tomas Votruba
cf05c72543 Updated Rector to commit d4c5ec6dfae1c9d56555b17ef54134555e3f4294
d4c5ec6dfa [Feature] Add VarAnnotationIncorrectNullableRector for fixing incorrect null type in @var (#2053)
2022-04-11 13:09:08 +00:00
Tomas Votruba
2afd97948d Updated Rector to commit 20a5be338e14d5bfe3df0fb9ba6c8138882bf607
20a5be338e [Php74] Use ConstructorAssignDetector on RestoreDefaultNullToNullableTypePropertyRector (#2054)
2022-04-11 11:30:16 +00:00
Tomas Votruba
d4a4c8a21a Updated Rector to commit ac8b42e39451b7f5737fdba23836979754939687
ac8b42e394 [Php74] Handle object type filled stdClass and array shape filled array on TypedPropertyRector (#2050)
2022-04-11 08:32:28 +00:00
Tomas Votruba
a8fd7e13df Updated Rector to commit afcdc65704b24784e4af474b3a0d7dbf7ed04dad
afcdc65704 [CodeQuality] Skip from non typed param on UseIdenticalOverEqualWithSameTypeRector (#2044)
2022-04-11 08:32:16 +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
05005b8a89 Updated Rector to commit 0c69df8c24f637170197190f841d26181593edd4
0c69df8c24 rebuild docs
2022-04-10 20:12:42 +00:00
Tomas Votruba
2c0475807b Updated Rector to commit 60f1dadd6fda2895d2f34db1c00f40b93ad0e832
60f1dadd6f Merge FollowRequireByDirRector to almost identical AbsolutizeRequireAndIncludePathRector (#2048)
2022-04-10 20:11:02 +00:00
Tomas Votruba
931bfb66df Updated Rector to commit 0227d24e3636af762e8f800997f0e86fcddce07e
0227d24e36 Merge InArrayAndArrayKeysToArrayKeyExistsRector to ArrayKeysAndInArrayToArrayKeyExistsRector with almost identical behavior (#2047)
2022-04-10 19:50:50 +00:00
Tomas Votruba
650661e16c Updated Rector to commit 9b8e16187827bd33c853414e20da7a3b4fa8ce89
9b8e161878 merge SimplifyDuplicatedTernaryRector to UnnecessaryTernaryExpressionRector, almost identical rule (#2046)
2022-04-10 19:09:26 +00:00
Tomas Votruba
d76ed237fa Updated Rector to commit a2ee46d16e7f0a01c7aae31eef659d7456528dcc
a2ee46d16e Refactor SymplifyUselessVariableRector to avoid using PREVIOUS_NODE, use current scope instead (#2045)
2022-04-10 18:18:46 +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
33ba60faee Updated Rector to commit 9b46906e39ded6bbf0a48d016f7b95ae1431ec29
9b46906e39 [Strict] Add support string|null|false on BooleanInBooleanNotRuleFixerRector (#2035)
2022-04-10 06:08:51 +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
6d171c214f Updated Rector to commit 22f776aa17215b9183240fd0ab80d328c311fab1
22f776aa17 [DeadCode] Skip not identifier name on RemoveUnusedPrivateMethodRector (#2034)
2022-04-09 15:37:05 +00:00
Tomas Votruba
5787368189 Updated Rector to commit 22f776aa17215b9183240fd0ab80d328c311fab1
22f776aa17 [DeadCode] Skip not identifier name on RemoveUnusedPrivateMethodRector (#2034)
2022-04-09 13:47:45 +00:00
Tomas Votruba
843816fb3f Updated Rector to commit 23d578a7af0431ebcf16b8c4c1c2060e1051ad57
23d578a7af [Php74] Clean up ClosureArrowFunctionAnalyzer::isFoundInInnerUses (#2033)
2022-04-09 10:39:22 +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
27ffd0051e Updated Rector to commit 211a3b6bd05abdd4d9e407c9b928d1c19f2b033b
211a3b6bd0 [Php74] Skip by ref used by inner Closure use on ClosureToArrowFunctionRector (#2031)
2022-04-09 07:35:55 +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
79c940ac59 Updated Rector to commit 4fb405ed3a6f5287c3b54800dc57d33a7cde2df0
4fb405ed3a [DeadCode][Strict] Handle RemoveDeadInstanceOfRector+BooleanInTernaryOperatorRuleFixerRector+DisallowedEmptyRuleFixerRector (#2028)
2022-04-08 08:59:08 +00:00