13896 Commits

Author SHA1 Message Date
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
Tomas Votruba
831881782a Updated Rector to commit 26d471eeafeb6c9db42df26b1fa1ebf5a7330f3a
26d471eeaf [PHPStan] Clean up PHPStan ignore errors (#2007)
2022-04-04 10:25:11 +00:00
Tomas Votruba
7fde66200e Updated Rector to commit 258f2d031e5b7f1fc98707e889d47e3e54d232ed
258f2d031e phpstan (#2006)
2022-04-04 05:57:16 +00:00
Tomas Votruba
3630df4457 Updated Rector to commit 38add405358c8452704a89b92f82c9d80f03f590
38add40535 [Scoper] Clean up missing use with prefixed (#2003)
2022-04-03 11:07:12 +00:00
Tomas Votruba
5e5d6d41c4 Updated Rector to commit 38add405358c8452704a89b92f82c9d80f03f590
38add40535 [Scoper] Clean up missing use with prefixed (#2003)
2022-04-03 02:05:24 +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
3d30f6b20f Updated Rector to commit b00a4fcfc43af8be89339686233e5f8d6337953b
b00a4fcfc4 [Scoper] Remove 11385filePathsToRemoveNamespace variable as unused (#2001)
2022-04-02 23:40:53 +00:00
Tomas Votruba
569ab17da3 Updated Rector to commit a354ad6b149f5e6c0eb91fb6b8f466c7d0fa3237
a354ad6b14 [Scoper] Add polyfill-php81 to file path to remove namespace (#1999)
2022-04-02 23:08:24 +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
Tomas Votruba
22b0d1cc15 Updated Rector to commit e077d7c3fb9cc4204857a80d587f23a75ddf6665
e077d7c3fb [DowngradePhp72] Handle variable exists on DowngradeStreamIsattyRector (#1997)
2022-04-02 13:15:38 +00:00
Tomas Votruba
d991c5d3c9 Updated Rector to commit 3b40197e1ea13da1b4acd86ea3d73e567c58f6a8
3b40197e1e [CodeQuality] Skip parent::class usage on GetClassToInstanceOfRector (#1994)
2022-04-02 08:40:12 +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