3593 Commits

Author SHA1 Message Date
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
Tomáš Votruba
f779eac208
Merge pull request #668 from rectorphp/php-string-array
[Php] Add string array rector
2018-10-10 13:47:58 +08:00
Tomas Votruba
ebd9998b78 [PHP] Add AssignArrayToStringRector 2018-10-10 13:42:51 +08:00
Tomas Votruba
39c9c6982a [PHP] Add EregToPregMatchRector 2018-10-09 13:05:50 +08:00
Tomáš Votruba
ae308689f3
Merge pull request #666 from rectorphp/php-multi-catch
[PHP] Add MultiExceptionCatchRector
2018-10-08 13:13:24 +08:00
Tomas Votruba
658cef5fc2 [PHP] Add MultiExceptionCatchRector 2018-10-08 12:52:26 +08:00
Tomáš Votruba
947f0f3e7d
Merge pull request #665 from rectorphp/php-user-func
[Php] Add CallUserFuncRector
2018-10-07 22:03:56 +08:00
Tomas Votruba
ecbf96a9ed [PHP] Add CallUserMethodRector 2018-10-07 22:03:32 +08:00
Tomáš Votruba
f58fa272ac
Merge pull request #664 from rectorphp/php-swap-order
[Php] Add ListSwapArrayOrderRector
2018-10-07 21:49:07 +08:00
Tomas Votruba
e179df133b [PHP] Add ListSwapArrayOrderRector 2018-10-07 21:39:36 +08:00
Tomáš Votruba
789612e567
Merge pull request #663 from rectorphp/php-empty-list
[PHP] Add EmptyListRector
2018-10-07 20:23:46 +08:00