11266 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
a65d5de82f
[CodeQuality] Fixes #5844 Skip ChangeArrayPushToArrayAssignRector on not in expression (#5845) 2021-03-14 17:15:38 +01:00
Abdul Malik Ikhsan
fb8b9c1e75
[Php80] Handle Identical false in StrContainsRector (#5848)
* [Php80] Fixes #5847 Handle Identical false in StrContainsRector

* clean up

* more fixtures

* phpstan

* final touch
2021-03-14 17:14:49 +01:00
TomasVotruba
09f7d76368 fix namespace autoload 2021-03-14 14:22:25 +01:00
Tomas Votruba
751a7453dd
Apply new PHPStan rules from Symplify (#5843)
* apply new PHPStan rules from Symplify

* less directories to speedup CI
2021-03-14 14:11:24 +01:00
TomasVotruba
272e4b157a typo 2021-03-14 03:19:31 +01:00
TomasVotruba
684cc60692 add missing node finder 2021-03-14 03:19:31 +01:00
github-actions[bot]
bd1a0f1be7
[automated] Re-Generate Nodes/Rectors Documentation (#5840)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-03-14 01:55:25 +01:00
Tomas Votruba
634bc0eab8
cleanup (#5839) 2021-03-14 00:59:52 +01:00
TomasVotruba
051a06cbcb remove uuid left-overs 2021-03-14 00:49:58 +01:00
TomasVotruba
fd18aa0547 remove throws method 2021-03-14 00:46:34 +01:00
TomasVotruba
9cec23389e comments 2021-03-13 23:15:43 +01:00
TomasVotruba
3124fc226d scoper: skip installed versions 2021-03-13 23:14:38 +01:00
TomasVotruba
badaaaf99d [CI] build prefixed on PHP 7.3, that is being used for deps 2021-03-13 21:41:14 +01:00
TomasVotruba
e59694cda1 composer: disable platform check to allow downgraded and prefixed rector 2021-03-13 20:50:37 +01:00
Abdul Malik Ikhsan
3e6a8f83b6
[GitAttributes] Register rules-tests to .gitattributes (#5836) 2021-03-13 20:41:43 +01:00
Tomas Votruba
d7cb28e37a
[Symfony 5.1] Add RouteCollectionBuilderToRoutingConfiguratorRector (#5835)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-13 16:11:49 +00:00
Tomas Votruba
da12199150
cleanup return docs (#5834) 2021-03-13 16:15:10 +01:00
Abdul Malik Ikhsan
417ef19a23
[TypeDeclaration] Skip null type on non-private property and not used on CompleteVarDocTypePropertyRector (#5833) 2021-03-13 15:19:09 +01:00
Tomas Votruba
9beb1da3c0
Move fixture requirement from command line to a test case (#5832) 2021-03-13 15:07:31 +01:00
Tomas Votruba
ab1154f6c8
[CI] Drop fixture checks, that are now covered by static reflection (#5831) 2021-03-13 11:47:11 +01:00
Matthias Pigulla
5677e7caef
Don't abort building Docker images when one variant fails (#5830) 2021-03-13 11:29:44 +01:00
Tomas Votruba
0acc05cc6e
remove runnable interface, to lower complexity (#5829) 2021-03-13 01:23:22 +00:00
Tomas Votruba
721f619a1d
Post moving cleanup (#5827) 2021-03-12 23:52:38 +00:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00
Tomas Votruba
c791f5ed60
[RectorGenerator] Decouple to external package (#5825) 2021-03-12 20:13:27 +01:00
Tomas Votruba
67670e70ad
[DX] move packages from src/tests to single PSR-4 directory (#5824) 2021-03-12 01:21:29 +00:00
TomasVotruba
eb80d1a48b bump master branch to main 2021-03-11 21:29:21 +01:00
TomasVotruba
9acb74fae5 fix scoped versions compoer 2021-03-11 21:25:51 +01:00
Abdul Malik Ikhsan
28e1e1f3f4
[PHP 7.3] Register existing ContinueToBreakInSwitchRector in PHP 5.2 set to PHP 7.3 config set (#5820)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-11 11:58:11 +01:00
Tomas Votruba
2e3a9e7166
improve array-string-class type (#5817) 2021-03-09 23:00:45 +00:00
Tomas Votruba
d94a65dd95
[NodeTypeResolver] Fix array dim fetch return type resolver (#5815) 2021-03-09 18:47:56 +00:00
Abdul Malik Ikhsan
259cd039e5
[Renaming] Handle RenameClassRector on auto import with same class name last namespace part (#5814)
Co-authored-by: Sebastian Schreiber <breakpoint@schreibersebastian.de>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-09 19:18:24 +01:00
Tomas Votruba
338f2c1a69
make process the default command (#5813) 2021-03-09 16:32:42 +00:00
TomasVotruba
37e5b9b789 fix cs 2021-03-09 17:26:08 +01:00
Tomas Votruba
37268aa9e0
workaround template node (#5812) 2021-03-09 15:49:33 +00:00
Tomas Votruba
e09560c68f
use single type (#5811)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-09 15:22:49 +01:00
Tomas Votruba
7467af9026
add return type class string (#5810) 2021-03-09 11:01:16 +00:00
Tomas Votruba
88ba75f820
[PHPUnit] Remove old test case in AddSeeTestAnnotationRector (#5809) 2021-03-09 10:54:34 +00:00
Tomas Votruba
7f8d0d5af8
misc (#5805) 2021-03-09 00:29:10 +00:00
Dominik Peters
4d694008f6
Fix AssertEqualsToSameRector (#5800)
* added failing tests

* extended tests and fixed problem

* cleaned up unused imports

* use NodeTypeResolver from parent class

* fixed phpdoc

Co-authored-by: Dominik Peters <d.peters@billiger-mietwagen.de>
2021-03-09 01:06:37 +01:00
Tomas Votruba
79d3d98e14
fix ctor (#5808) 2021-03-09 00:04:39 +00:00
Tomas Votruba
dc5dfe228b
Fix missing native method static analysis (#5804) 2021-03-08 20:19:45 +00:00
Tomas Votruba
1cbb6113fc
[CI] remove changelog linker (#5803) 2021-03-08 19:50:03 +00:00
Tomas Votruba
8a0d6d9305
skip so many types (#5802) 2021-03-08 20:36:51 +01:00
Tomas Votruba
80c4fc8aab
[TypeDeclarationg] Add Tokens iterator to AddArrayReturnDocTypeRector and AddArrayParamDocTypeRector (#5796)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-08 14:52:36 +00:00
Dominik Peters
5f70de5502
[Phpunit] Prevent MethodCall instances of being processed (#5798)
Co-authored-by: Dominik Peters <d.peters@billiger-mietwagen.de>
2021-03-08 11:21:27 +01:00
Tomas Votruba
896ca733dc
cherry-pick downgrade update (#5794) 2021-03-07 21:25:43 +00:00
Tomas Votruba
8d79b4fb9e
[TypeDeclaration] Improve param by caller type #4 (#5793)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-07 21:07:50 +00:00
Tomas Votruba
b052d46b15
[TypeDeclaration] Improve param by caller type #3 (#5792)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-07 19:37:48 +00:00
Tomas Votruba
29487b75bb
[TypedProperty] Fix short import on already existing docblock (#5791)
* short import test case

* fix importing of already existing short name in docblock
2021-03-07 17:59:10 +00:00