3817 Commits

Author SHA1 Message Date
Tomáš Votruba
4a623fa0c7
Merge pull request #696 from rectorphp/standard-printer-trait
make use of BetterStandardPrinterTrait in Rectors
2018-10-15 18:12:03 +08:00
Tomas Votruba
da570b7205 make use of BetterStandardPrinterTrait in Rectors 2018-10-15 18:09:27 +08:00
Tomáš Votruba
123e1dfbd1
Merge pull request #695 from rectorphp/cq-mirror
[CodeQuality] Add SimplifyMirrorAssignRector
2018-10-15 17:46:13 +08:00
Tomas Votruba
eb65b54111 [CodeQuality] Add SimplifyMirrorAssignRector 2018-10-15 17:41:53 +08:00
Tomas Votruba
aa2782cf0c keep only create-rector.yml.dist as example 2018-10-15 17:10:45 +08:00
Tomáš Votruba
87c955e846
Merge pull request #694 from rectorphp/name-analyzer
Add NameResolver, to cover functionality of naming
2018-10-15 17:07:00 +08:00
Tomas Votruba
6c752f5128 Add NameResolver, to cover functionality of naming 2018-10-15 16:46:15 +08:00
Tomáš Votruba
74b0961523
Merge pull request #693 from rectorphp/types-cleanup
Make use of TypeAnalyzerTrait and NameAnalyzerTrait
2018-10-15 14:55:02 +08:00
Tomas Votruba
5933cca87d remove callAnalyzer form Rectors 2018-10-15 14:45:34 +08:00
Tomas Votruba
5deb94f9ff unite refactor(node) naming to node, to make clear the main argument name 2018-10-15 14:45:34 +08:00
Tomas Votruba
f0fdc8e410 remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
d4009b3888 Add NameAnalyzerTrait 2018-10-15 14:36:25 +08:00
Tomas Votruba
0e33b525fe Remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
3cb093f87f init getTypes() remove in other analyzers 2018-10-15 10:35:45 +08:00
Tomas Votruba
66b8c86d72 add CakePHP 3.7 set [closes #687] 2018-10-15 10:34:38 +08:00
Tomáš Votruba
a24351e14f
Merge pull request #691 from rectorphp/cq-array-values
[CodeQuality] Add SimplifyInArrayValuesRector
2018-10-15 08:35:53 +08:00
Tomas Votruba
b4b728dc28 [CodeQuality] Add SimplifyInArrayValuesRector 2018-10-15 08:30:41 +08:00
Tomas Votruba
deff6bb56e [ContributorTools] Fix Rector path in test config 2018-10-15 08:26:09 +08:00
Tomas Votruba
0bda599a8b update example to real one 2018-10-15 08:23:23 +08:00
Tomas Votruba
5bc58a84a1 gitignore: add create-rector.yml 2018-10-15 08:21:55 +08:00
Tomáš Votruba
ca3ae3f905
Merge pull request #688 from rectorphp/type-analyzer-trait
Add TypeAnalyzerTrait to cleanup Rectors
2018-10-15 08:20:11 +08:00
Tomas Votruba
9b569f6c44 make use of TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Tomas Votruba
68f4efc502 Add TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Gabriel Caruso
24c99f488f
Merge pull request #690 from rectorphp/missing-code-quality-rectors
[CodeQuality] Add missing rectors
2018-10-14 16:47:21 -03:00
Gabriel Caruso
c128c0bbf4
[CodeQuality] Add missing rectors
These new Rector were added in #684, #682, #681, #677 and #676
2018-10-14 16:44:32 -03:00
Gabriel Caruso
d4253c9765
Merge pull request #689 from adrienbrault/patch-1
Fix guzzle50.yml syntax error
2018-10-14 15:48:28 -03:00
Adrien Brault
420f2bf1f6
Fix guzzle50.yml syntax error
Unexpected characters (: 'getPath']) at line 18 (near "'GuzzleHttp\\get_path': ['GuzzleHttp\\Utils': 'getPath']").
2018-10-14 18:19:08 +02:00
Tomáš Votruba
3610709e25
Merge pull request #686 from rectorphp/unite-configuration
Unite configuration
2018-10-14 18:30:40 +08:00
Tomas Votruba
a3ab7916d2 Make MethodCallToAnotherMethodCallWithArgumentsRector many-configurable 2018-10-14 18:23:41 +08:00
Tomas Votruba
5f98af9333 Make PropertyAssignToMethodCallRector many-configurable 2018-10-14 18:23:41 +08:00
Tomas Votruba
f3654b1719 Make PropertyAssignToMethodCallRector many-configurable 2018-10-14 18:23:41 +08:00
Tomáš Votruba
418e44c45c
Merge pull request #685 from rectorphp/new-rector
[ContributorTools] Add CreateRectorCommand
2018-10-14 15:53:54 +08:00
Tomas Votruba
dee5c4e427 [ContributorTools] Add CreateRectorCommand 2018-10-14 15:29:56 +08:00
Tomáš Votruba
cf3b7f3d81
Merge pull request #684 from rectorphp/cq-simplify-strposi
[CodeQuality] Add SimplifyStrposLowerRector
2018-10-13 23:36:40 +08:00
Tomas Votruba
0934960e6d make use of CallAnalyzer to prevent Var string errors with non-string funciton and method call names 2018-10-13 23:13:13 +08:00
Tomas Votruba
461b5f3e3c [CodeQuality] Add SimplifyStrposLowerRector 2018-10-13 18:01:33 +08:00
Tomáš Votruba
64923aae78
Merge pull request #682 from rectorphp/cq-simplify-count-fga
[CodeQuality] Add SimplifyFuncGetArgsCountRector
2018-10-13 17:53:47 +08:00
Tomas Votruba
336623c70b [CodeQuality] Add SimplifyFuncGetArgsCountRector 2018-10-13 17:46:46 +08:00
Tomáš Votruba
0b717b001f
Merge pull request #681 from rectorphp/cq-array-search
[CodeQuality] Add SimplifyArraySearchRector
2018-10-13 17:39:01 +08:00
Tomas Votruba
48b75e9ad6 [CodeQuality] Add SimplifyArraySearchRector 2018-10-13 17:35:23 +08:00
Tomáš Votruba
ccf4fd02e3
Merge pull request #677 from rectorphp/cq-get-class
[CodeQuality] Add GetClassToInstanceOfRector
2018-10-13 12:51:44 +08:00
Tomas Votruba
aee1866dee [CodeQuality] Add GetClassToInstanceOfRector 2018-10-13 12:46:52 +08:00
Tomáš Votruba
1fe5345a18
Merge pull request #679 from rectorphp/simplify-conditions-rector
Create SimplifyConditionsRector
2018-10-13 11:52:27 +08:00
Gabriel Caruso
b97a5b5852
Check if type exists in map array 2018-10-12 20:32:15 -03:00
Gabriel Caruso
ed26bd54c8
Re-generate documentation 2018-10-12 20:15:00 -03:00
Gabriel Caruso
ad3df19eb0
Create SimplifyConditionsRector 2018-10-12 20:12:47 -03:00
Tomáš Votruba
45d1810602
Merge pull request #676 from rectorphp/cq-assign-short
[CodeQuality] Add CombinedAssignRector
2018-10-13 01:06:20 +08:00
Tomas Votruba
20059c0e96 composer: use Symplify 5.1 stable 2018-10-13 00:59:58 +08:00
Tomas Votruba
0fe2624033 composer: bump phpstan-strict-rules 2018-10-13 00:59:06 +08:00
Tomas Votruba
a7ac28679a [CodeQuality] Add CombinedAssignRector 2018-10-13 00:51:39 +08:00