Tomas Votruba
72d6f1ab86
cleanup unneeded AbstractTemporaryRector methods ( #5648 )
2021-02-21 23:39:53 +00:00
Abdul Malik Ikhsan
db5f557947
[Php80] Skip ChangeSwitchToMatchRector on missed break ( #5645 )
2021-02-21 15:34:57 +01:00
Tomas Votruba
e571128b85
[Transform] Move FunctionCallToConstantRector to FuncCallToConstFetchRector ( #5642 )
2021-02-21 09:40:54 +00:00
Abdul Malik Ikhsan
2205766dbc
[CodeQuality] Mirror comment on InlineIfToExplicitIfRector ( #5643 )
2021-02-21 10:33:21 +01:00
Abdul Malik Ikhsan
f1f14c25d8
[EarlyReturn] Handle ChangeAndIfToEarlyReturnRector has Return expr in if stmt fixture ( #5627 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-21 10:32:45 +01:00
github-actions[bot]
0c75b0c756
[automated] Re-Generate CHANGELOG.md ( #5640 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-21 01:06:48 +01:00
github-actions[bot]
eb4bc68409
[automated] Re-Generate Nodes/Rectors Documentation ( #5641 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-21 01:06:30 +01:00
Tomas Votruba
8c079420dc
[CodingStyle] Skip double generic class string ( #5639 )
0.9.30
2021-02-21 01:05:22 +01:00
Tomas Votruba
9a376d98e5
[Arguments] New rule set from former generics ( #5637 )
...
* [Transform] Move SingleToManyMethodRector
* [Transform] Move WrapReturnRector here
* [DependencyInjectoin] Move AddMethodParentCallRecto here
* [Arguments] Create new package from old generics only around arguments
* composer docs uild
2021-02-21 00:21:19 +01:00
Tomas Votruba
947a75f6aa
rebuild docs ( #5636 )
2021-02-21 00:02:05 +01:00
Tomas Votruba
13e33f0bff
[Generic] Decouple rules to tailored sets ( #5635 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-20 23:48:31 +01:00
Tomas Votruba
da535f7809
[PHP 5.5] Make StringClassNameToClassConstantRector as part of constants ( #5634 )
2021-02-20 21:53:11 +01:00
Tomas Votruba
0e5a777b00
simplify input configs ( #5632 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-20 19:48:04 +00:00
Abdul Malik Ikhsan
9f4353c2af
[Coverage] Delete weekly coverage generation ( #5631 )
...
* [Coverage] Delete weekly coverage generation
* remove coverage badge
2021-02-20 17:41:38 +00:00
Abdul Malik Ikhsan
3cb9fc28b3
[Coverage] Add --testdox to phpunit command on weekly code coveage generation ( #5630 )
2021-02-20 14:38:40 +00:00
addshore
26cc82a223
[TypeDeclaration] Fix array type issue in PHPUnitDataProviderParamTypeInferer ( #5615 )
2021-02-20 12:21:56 +01:00
Tomas Votruba
0f9ac6f1e2
[CodingStyle] Improve constant array type ( #5626 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-20 00:14:58 +00:00
Tomas Votruba
362ebbea46
[TypeDeclaration] Add ReturnTypeFromReturnNewRector ( #5624 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-19 12:01:23 +00:00
Abdul Malik Ikhsan
0b17b91637
[Renaming] Skip RenameMethodRector on interface wildcard used ( #5622 )
...
Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
2021-02-19 10:28:45 +01:00
Tomas Votruba
652459ad3b
merge composer_validate ( #5620 )
2021-02-19 01:36:48 +01:00
Tomas Votruba
1ea1f5852b
[DeadCode] Remove RemoveUnusedClassesRector and RemoveUselessJustForSakeInterfaceRector, too unreliable ( #5618 )
2021-02-19 01:13:43 +01:00
Tomas Votruba
6e37d9af4e
[CodeQuality] Fix printing of fixed throws statement ( #5616 )
...
Co-authored-by: Stanislav Janů <info@lweb.cz>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-18 23:34:51 +01:00
Tomas Votruba
19810c2b9a
move FunctionToStaticMethodRector to Transform ( #5613 )
2021-02-18 21:35:10 +00:00
Tomas Votruba
cfd0b526d2
[Legacy] Drop RemoveIncludeRector ( #5614 )
2021-02-18 21:28:56 +00:00
Tomas Votruba
4ac321eda6
[Legacy] Drop AddTopIncludeRector, very narrow use case for generic users; better implemented externally ( #5610 )
2021-02-18 21:57:06 +01:00
Tomas Votruba
9f5bc8fa16
use ->getNativeType() to get native types ( #5601 )
2021-02-18 21:34:07 +01:00
Ruud Kamphuis
5e5abd336d
[TypedPropertyFromStrictConstructorRector] Keep var tag when it defines iterable type ( #5611 )
2021-02-18 21:33:38 +01:00
Abdul Malik Ikhsan
4416807562
[EarlyReturn] Register PreparedValueToEarlyReturnRector to early-return config set ( #5606 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-18 17:01:55 +01:00
Tomas Votruba
ddfeae3391
drop --match-git-diff, not reliable for dependencies; use enable_cache instead ( #5609 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-18 15:55:31 +00:00
Abdul Malik Ikhsan
19459b80fb
[EarlyReturn] Add PreparedValueToEarlyReturnRector ( #5603 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-18 14:55:53 +01:00
Abdul Malik Ikhsan
bcc6c5f326
[DeadCode] Register RemoveDeadLoopRector to dead-code config set ( #5605 )
2021-02-18 14:50:36 +01:00
Matthias Pigulla
3fb87fd193
Tweak build-rector-scoped.sh so it "works on my machine"(TM) ( #5602 )
2021-02-18 14:18:52 +01:00
Abdul Malik Ikhsan
fd6f48c576
[DeadCode] Add RemoveDeadLoopRector ( #5600 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-18 14:18:34 +01:00
Tomas Votruba
c609697f14
[TypeDeclarationStrict] Add AddMethodCallBasedStrictParamTypeRector ( #5580 )
2021-02-17 16:40:29 +01:00
Ruud Kamphuis
a75fee8395
[RemoveFuncCallArgRector] Use getName instead of isName to fix closure call ( #5591 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2021-02-17 15:17:16 +01:00
Ruud Kamphuis
73bdede5ec
Pass string to FullyQualified instead of ::class ( #5597 )
...
Fixes #5596
2021-02-17 14:56:13 +01:00
Ruud Kamphuis
1561e108c0
Readme > Explain print_node ( #5595 )
2021-02-17 18:48:35 +07:00
Matthias Pigulla
242c6371d3
Specify an explicit Composer version ( #5589 )
...
... to not rely on a possibly outdated local image.
2021-02-17 12:12:53 +01:00
Tomas Votruba
1d0feb11ee
[CodeQuality] Skip typed property on isset rule ( #5592 )
...
Co-authored-by: vladyslavstartsev <17382248+vladyslavstartsev@users.noreply.github.com>
2021-02-17 10:51:32 +00:00
Abdul Malik Ikhsan
8e9b7b39fe
[NodeCollector] Apply NodeRepository::collect() on Name node ( #5585 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-17 11:29:39 +01:00
Abdul Malik Ikhsan
cb9fd31016
[Renaming] Skip RenameMethodRector when target method is __invoke with private/protected modifier ( #5586 )
2021-02-17 09:21:50 +01:00
Abdul Malik Ikhsan
9e731713b6
[Naming] Fixes #5587 Skip RenameParamToMatchTypeRector when used in ClassMethod stmts ( #5588 )
2021-02-17 08:09:31 +01:00
Abdul Malik Ikhsan
8e915ebe9b
[DeadCode] Register RemoveEmptyAbstractClassRector to dead-code config set ( #5583 )
2021-02-16 21:16:21 +01:00
Abdul Malik Ikhsan
4fc4e7f52e
[CodeQuality] Improve InlineIfToExplicitIfRector : Allow AssignOp as well ( #5582 )
2021-02-16 20:16:37 +01:00
Abdul Malik Ikhsan
7475c7f025
[DeadCode] Add RemoveEmptyAbstractClassRector ( #5558 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-16 20:15:45 +01:00
Abdul Malik Ikhsan
06906a0659
[CodeQuality] Improve InlineIfToExplicitIfRector : allow change BooleanOr to explicit if as well ( #5579 )
2021-02-16 19:36:50 +01:00
Abdul Malik Ikhsan
648bea9305
[Bin] Using file_exists() for check PHPStan stub ReflectionUnionType and Attribute exists ( #5581 )
2021-02-17 01:23:12 +07:00
TomasVotruba
3cbc3ef94b
cs
2021-02-16 17:27:07 +01:00
TomasVotruba
904a4af497
drop arrow function from stmts type completion
2021-02-16 17:27:02 +01:00
Tomas Votruba
651573a58f
[TypeDeclaration] Add ReturnTypeFromStrictTypedCallRector ( #5573 )
2021-02-16 16:12:37 +00:00