11662 Commits

Author SHA1 Message Date
TomasVotruba
c81b77dced fix skipped refactoring file update 2021-04-14 04:16:55 +02:00
Tomas Votruba
1e24618a9e
File reports (#6130) 2021-04-14 02:15:10 +00:00
Tomas Votruba
b03fa60c52
Fix empty docblocks (#6128)
* working prototype for nested arrays

* add data provider
0.10.5
2021-04-13 20:58:34 +02:00
Tomas Votruba
5bde10c181
Various doc parser fixes (#6125) 2021-04-13 18:51:41 +00:00
Michal Lulco
22d35689bf
[League event] Dispatch only strings to anonymous class (#6120)
* [League event] Fix: dispatch only strings to anonymous class

* [League event] Dispatch only strings to anonymous class

* Fixed phpstan
2021-04-13 19:14:34 +02:00
Tomas Votruba
a0656b27b9
Const tweaks (#6124) 2021-04-13 16:01:31 +00:00
Tomas Votruba
5da415ba3a
Post file cleanup (#6121) 2021-04-13 08:14:48 +00:00
Tomas Votruba
8b402bfe02
Make use of File object instead of passing around provider of file info, tokens, stmts etc. (#6110)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-13 00:12:48 +00:00
Tomas Votruba
b0dc20a462
make ComposerFileProcessor run on non-root paths of composer.json (#6111) 2021-04-12 20:47:56 +00:00
Michal Lulco
c2da41286f
Fix: use content from File not from SmartFileInfo (#6117) 2021-04-12 22:10:53 +02:00
Tomas Votruba
5dcedbd825
Remove isOnClassMethodCall() (#6116) 2021-04-12 20:04:30 +00:00
Abdul Malik Ikhsan
620309c0d7
[CodeQuality] Avoid double negation on UnnecessaryTernaryExpressionRector (#6115)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-12 22:02:23 +02:00
TomasVotruba
69e9da22d1 update Rector 0.9 upgrade set 2021-04-12 21:23:25 +02:00
Tomas Votruba
ad36b21383
Shorten output rule (#6114) 2021-04-12 21:16:36 +02:00
Tomas Votruba
37d5978025
Standardize added file testing + remove doTestExtraFile() from AbstractRectorTestCase (#6113) 2021-04-12 19:00:57 +00:00
Abdul Malik Ikhsan
8b230f4ebb
[Util] Remove unused method PhpVersionFactory::createStringVersion() (#6112) 2021-04-12 20:35:58 +02:00
Abdul Malik Ikhsan
4d4fb3611f
[DowngradePhp70] Add DowngradeStrictTypeDeclarationRector (#6107)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-12 17:28:54 +02:00
Tomas Votruba
ad7af917e2
Improve assert added and moved nodes (#6106) 2021-04-12 13:24:37 +00:00
Tomas Votruba
06f85e4a68
Refactor file processors towards universal collector (#6085)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-12 10:34:04 +00:00
Abdul Malik Ikhsan
faca7e2763
[DeadCode] Skip RemoveUnusedVariableAssignRector on used in next compact function (#6103)
Co-authored-by: repat <repat@repat.de>
2021-04-12 11:44:33 +02:00
Tomas Votruba
1e4a0745a1
Remove removed nodes (#6099)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-11 11:14:46 +00:00
Tomas Votruba
809d617708
Refactor OptionalParametersAfterRequiredRector to remove dependency from NodeRepository (#6098) 2021-04-11 10:27:20 +00:00
Tomas Votruba
081da74716
cleanup phpstan (#6096) 2021-04-10 23:47:54 +00:00
Tomas Votruba
b121d8e10a
Remove mapToDocString() and use describe() instead (#6095) 2021-04-10 23:28:08 +00:00
TomasVotruba
c4870c4a8d cleanup 2021-04-10 22:21:54 +02:00
Tomas Votruba
8b62025ce0
Cleanup composer update run (#6094)
* cleanup compoesr update run

* rename provideConfigFile() to provideConfigFilePath()

* merge AbstractComposerRectorTestCase to AbstractRectorTestCase

* rename ComposerProcessorNonPhp to ComposerFileProcessor
2021-04-10 22:12:50 +02:00
Tomas Votruba
417e819e40
cleanup (#6093) 2021-04-10 19:29:43 +00:00
Tomas Votruba
79621dbb99
Flip @see to @changelog links (#6092) 2021-04-10 18:47:17 +00:00
Tomas Votruba
26a5b86892
[Privatization] Remove MakeUnusedClassesWithChildrenAbstractRector as risky and full context is needed (#6091) 2021-04-10 20:18:49 +02:00
TomasVotruba
7aecf8138d remove unused class 2021-04-10 19:58:11 +02:00
Abdul Malik Ikhsan
723bd2b1b6
[CodeQualityStrict] Skip MoveVariableDeclarationNearReferenceRector on pass impure function (#6090) 2021-04-10 19:45:46 +02:00
Tomas Votruba
f82a8dc995
Refactor AnnotationExtractor fomr FileDiff value object to standalone RectorsChangelogResolver service (#6088) 2021-04-10 16:22:25 +00:00
Abdul Malik Ikhsan
4587a7adcb
[Privatization] Skip ChangeReadOnlyPropertyWithDefaultValueToConstantRector on StaticCall by Ref Param (#6084)
Co-authored-by: Zing <zingimmick@outlook.com>
2021-04-10 18:09:57 +02:00
TomasVotruba
00a3e43117 fix string match return type 2021-04-10 17:29:36 +02:00
Tomas Votruba
9517556487
remove findClassMethodByTypeAndMethod() (#6086)
* remove findClassMethodByTypeAndMethod()

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-10 17:23:00 +02:00
Sebastian Schreiber
2b671a27d5
[FEATURE] Output changelog url in OutputFormatterInterface (#6073) 2021-04-10 16:54:24 +02:00
Abdul Malik Ikhsan
ec32714ad9
[DeadCode] Skip RemoveUnusedVariableAssignRector on native variable (#6081) 2021-04-10 16:16:24 +02:00
Tomas Votruba
8472eadff4
Misc file processor improvements (#6080) 2021-04-10 14:01:36 +00:00
Tomas Votruba
0ef3b600e3
[PHPStanExtensions] Add NoClassReflectionStaticReflectionRule (#6078) 2021-04-10 14:17:21 +02:00
Tomas Votruba
9e6e3f7a92
Simplify set provider (#6077)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-10 11:38:25 +00:00
Abdul Malik Ikhsan
f4c7b07f3f
[LeagueEvent] Remove unnecessary check instanceof StringType on DispatchStringToObjectRector (#6076) 2021-04-10 11:05:49 +00:00
Abdul Malik Ikhsan
ab67f084c5
[DowngradePhp72] Skip DowngradePregUnmatchedAsNullConstantRector on different flags in BitwiseOr (#6075)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-10 12:56:55 +02:00
TomasVotruba
66a39a1ac9 fix cs 2021-04-09 23:23:43 +02:00
TomasVotruba
d55b6ea8e0 make use of isObjectTypes() 2021-04-09 23:23:15 +02:00
Michal Lulco
4b71eaa53d
League event: change dispatch string events to objects (#6029) 2021-04-09 23:20:49 +02:00
Abdul Malik Ikhsan
4d78e28f25
[NodeTypeResolver] Fixes #6065 Use existing NodeTypeResolver object on Auto Imports short name (#6069) 2021-04-09 23:00:57 +02:00
Tomas Votruba
9be459dd76
Workaround invalid tag value node on add return array (#6068)
* Skip invalid return tag

* skip @var and @param invalid tags too

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-09 19:36:06 +02:00
Sebastian Schreiber
4296d35903
[FEATURE] Use generic processor interface for non php files (#6060) 2021-04-09 18:44:00 +02:00
TomasVotruba
3e4e9387c6 bump package rector deps 0.10.4 2021-04-09 18:27:12 +02:00
TomasVotruba
fae4a7512e composer: bump retcor phpunit 2021-04-09 17:15:27 +02:00