3603 Commits

Author SHA1 Message Date
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
Tomáš Votruba
5922798ffe
Merge pull request #675 from rectorphp/php-constant-sens
[Php] Add sensitive constant Rectors
2018-10-12 13:31:56 +08:00
Tomas Votruba
b012597fa8 [PHP] Add constant sensitive Rectors 2018-10-12 13:03:37 +08:00
Tomas Votruba
2ad6946baf Validate that classes exist, to prevent typos 2018-10-12 11:20:20 +08:00
Tomáš Votruba
179acb1ac5
Merge pull request #674 from rectorphp/php-var-namefix
Fix GetRequestRector method name resolving of non-string name [closes #646]
2018-10-12 10:44:53 +08:00
Tomas Votruba
70985f695c Fix GetRequestRector method name resolving of non-string name [closes #646] 2018-10-12 10:41:35 +08:00
Tomáš Votruba
f6f8b9d568
Merge pull request #673 from rectorphp/php-smart-file-info
Apply FinderSanitizer to make sure all files exists and have content [closes #655]
2018-10-12 10:29:04 +08:00
Tomas Votruba
a8ef98e2b5 Apply FinderSanitizer to make sure all files exists and have content [closes #655] 2018-10-12 10:24:07 +08:00
Tomáš Votruba
cb651ec8fb
Merge pull request #671 from rectorphp/php-last-fist-key
[PHP] Add Add ArrayKeyFirstLastRector
2018-10-11 14:25:25 +08:00
Tomas Votruba
2b2049c923 [PHP] Add ArrayKeyFirstLastRector 2018-10-11 14:17:41 +08:00
Tomáš Votruba
bc658bee39
Merge pull request #672 from rectorphp/expression-attribute
Add ExpressionNodeVisitor
2018-10-11 12:51:02 +08:00
Tomas Votruba
4712c3297f Add ExpressionNodeVisitor 2018-10-11 12:49:49 +08:00
Tomáš Votruba
20183ebffc
Merge pull request #670 from rectorphp/php-count
[PHP] Add CountOnNullRector
2018-10-10 23:30:09 +08:00
Tomas Votruba
7fd2d119c0 bump to php-parser 4.1 2018-10-10 23:17:55 +08:00
Tomas Votruba
1035b04658 [PHP] Add CountOnNullRector 2018-10-10 22:52:34 +08:00