13910 Commits

Author SHA1 Message Date
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
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
99c14d2fea Updated Rector to commit 6ee3f4e894c5b10367800c15e770eea6235f6526
6ee3f4e894 Add new rule to add explicit public scope to unscoped class methods (#2022)
2022-04-07 21:34:33 +00:00
Tomas Votruba
94e6731ec8 Updated Rector to commit d17990345ced9d96a33665c03e5a7d8d0a4cf5db
d17990345c [Strict] Skip ArrayDimFetch on DisallowedEmptyRuleFixerRector (#2023)
2022-04-07 21:00:23 +00:00
Tomas Votruba
f243fcd6a8 Updated Rector to commit ab8d35ab4440ff58b6bf1fbc82ea87d95cdb63f9
ab8d35ab44 [CodeQuality] Skip with config/ on AbsolutizeRequireAndIncludePathRector (#2024)
2022-04-07 20:59:55 +00:00
Tomas Votruba
00d45f084d Updated Rector to commit 0a6b3b3ad45a8f128cee78c69f789c47c427d367
0a6b3b3ad4 [DX] Hide console output in tests (#2018)
2022-04-07 12:32:14 +00:00
Tomas Votruba
f642c0fb7f Updated Rector to commit 5eb84d529ea21a4d81ce9bfcbb0a9c9cea8c6f36
5eb84d529e [Php56] Skip inside by passed cases on AddDefaultValueForUndefinedVariableRector (#2017)
2022-04-07 11:36:29 +00:00
Tomas Votruba
52503cd793 Updated Rector to commit 4dd71f8f314e1befaf5a9d4cb7670df1be495a9b
4dd71f8f31 [Strict] Skip possible result object or int on BooleanInIfConditionRuleFixerRector (#2016)
2022-04-07 08:34:44 +00:00
Tomas Votruba
bc4242dccb Updated Rector to commit 8f9abbd8b7e4ad06e5c8b188fec3a001eccb97e9
8f9abbd8b7 Trigger notification (#2015)
2022-04-07 07:54:47 +00:00
Tomas Votruba
cfa8d3e236 Rector 0.12.20 0.12.20 2022-04-06 12:55:14 +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
740c3031a0 Updated Rector to commit 08a3243799015710300af460a313654bedee5cd2
08a3243799 [PHPStan] Fix PHPStan notice on ParallelFileProcessor (#2011)
2022-04-05 09:52:45 +00:00
Tomas Votruba
6ce4af0b30 Updated Rector to commit a0ad4275d7a38a326494e4ffce83e1c7774d1f84
a0ad4275d7 [TypeDeclaration] Skip __construct in inner class on TypedPropertyFromStrictConstructorRector (#2010)
2022-04-05 09:29:07 +00:00
Tomas Votruba
abf379e98e Updated Rector to commit e470787eec3368dfe195cc7091fba4b909c4d98d
e470787eec [TypeDeclaration] Handle multiple methods define __construct later on TypedPropertyFromStrictConstructorRector (#2009)
2022-04-05 08:15:01 +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