3480 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
1c3a355583 Updated Rector to commit be530c5e2f56190f5fe1813ae4344cdaf3f75d7f
be530c5e2f [Removing] Add RemoveNamespaceRector (#2013)
2022-04-06 12:39:03 +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
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
655dde840e Updated Rector to commit 836d939b2c32e56d55d711cd25c9469f4bc4728b
836d939b2c [CodingStyle] Skip AddFalseDefaultToBoolPropertyRector on assigned in __construct (#1998)
2022-04-02 17:01:42 +00:00
Tomas Votruba
d7c212ece1 Updated Rector to commit 9f9b29c7418647f260c99f0b6bdeebc2fee0af6f
9f9b29c741 [DowngradePhp54] Add DowngradeThisInClosureRector (#1995)
2022-04-02 15:46:27 +00:00
Tomas Votruba
c0fda8c76d Updated Rector to commit e077d7c3fb9cc4204857a80d587f23a75ddf6665
e077d7c3fb [DowngradePhp72] Handle variable exists on DowngradeStreamIsattyRector (#1997)
2022-04-02 15:39:50 +00:00
Tomas Votruba
e2b5720d6b Updated Rector to commit 232257df31359040912eecd9045a7f75d90e7b7d
232257df31 [DowngradePhp81] Add DowngradeArrayIsListRector (#1996)
2022-04-02 13:16:57 +00:00