7879 Commits

Author SHA1 Message Date
Aerendir
02673e6a77 Add doc comment to refactor() method. 2020-03-05 09:58:41 +01:00
Aerendir
60e00df74c Add link to regex101.com. 2020-03-05 09:58:41 +01:00
Aerendir
547b4d40b5 Support ClassMethod. 2020-03-05 09:58:41 +01:00
Aerendir
c3d23f2491 Support Assign. 2020-03-05 09:58:36 +01:00
Aerendir
ec691ff260 Support throwing methods. 2020-03-04 17:13:51 +01:00
Aerendir
d7cd5c3cba Complete refactoring. 2020-03-04 14:41:59 +01:00
Aerendir
d449075643 Support analysis of called functions. 2020-03-04 09:13:42 +01:00
Tomas Votruba
3d0bf1163d
Merge pull request #2990 from gnutix/AssertTrueFalseToSpecificMethodRector/add-broken-test-static-call
AssertTrueFalseToSpecificMethodRector: add broken test ('Pick more specific node than PhpParser\Node\Expr\StaticCall')
2020-03-03 11:52:39 +01:00
Tomas Votruba
513f273ae6
Merge pull request #2992 from rectorphp/extra-space-double-copy
fix spacing of data provider
2020-03-03 10:29:38 +01:00
TomasVotruba
aa05b2b001 fix method union doc node 2020-03-03 10:25:10 +01:00
Dorian Villet
8425410119 Fix the implementation. 2020-03-03 10:23:43 +01:00
TomasVotruba
9c92126265 fix spacing of data provider 2020-03-03 10:18:54 +01:00
Dorian Villet
454e78ce8a AssertTrueFalseToSpecificMethodRector: add broken test ('Pick more specific node than PhpParser\Node\Expr\StaticCall'). 2020-03-03 09:59:49 +01:00
Tomas Votruba
3e284b0511
Merge pull request #2988 from rectorphp/extra-space
add space between name and value
2020-03-03 09:50:47 +01:00
TomasVotruba
8d8245fd14 add space between name and value 2020-03-03 09:47:27 +01:00
TomasVotruba
96b6a5c899 cleanup dump 2020-03-02 23:58:44 +01:00
Tomas Votruba
0690fdf3bf
Merge pull request #2987 from rectorphp/fix-array-param
improve param array type for change type
2020-03-02 23:48:05 +01:00
TomasVotruba
b8ccd71b3a improve param array type for change type 2020-03-02 23:44:10 +01:00
Tomas Votruba
4923913222
Merge pull request #2985 from rectorphp/fix-uinon-parm
fix union param
2020-03-02 22:07:27 +01:00
TomasVotruba
91f2f26a7b fix union param 2020-03-02 18:51:06 +01:00
Tomas Votruba
d7b9d4907b
Merge pull request #2984 from rectorphp/fix-spacing-multie-collon-mixed
improve array shape double collon spacing
2020-03-02 18:26:12 +01:00
TomasVotruba
03714a4caa improve array shape double collon spacing 2020-03-02 18:21:44 +01:00
TomasVotruba
f7f2977748 fix count() code qauality 2020-03-02 17:38:00 +01:00
TomasVotruba
fe45b40605 enable github sponsoring 2020-03-02 17:30:08 +01:00
Tomas Votruba
4c19ed2943
Merge pull request #2982 from rectorphp/skip-passed-argument
Fix PhpDocInfoPrinter slash removal
2020-03-02 17:27:34 +01:00
TomasVotruba
a8fa941193 Fix PhpDocInfoPrinter slash removal 2020-03-02 17:25:15 +01:00
Tomas Votruba
61bbefeff1
Merge pull request #2981 from rectorphp/skip-passed-argument
Skip passed argument
2020-03-02 00:10:37 +01:00
TomasVotruba
376e2e43ac skip open-source protected methods 2020-03-02 00:08:24 +01:00
TomasVotruba
54560e1143 add test case for open-source protected agr 2020-03-02 00:04:26 +01:00
Tomas Votruba
c54778dfbe
Merge pull request #2980 from rectorphp/purpose-param
skip empty method on open-source
2020-03-01 23:45:32 +01:00
TomasVotruba
40ab236fee skip empty method on open-source 2020-03-01 23:42:35 +01:00
TomasVotruba
b6285b22f6 update CHANGELOG 2020-03-01 23:35:41 +01:00
Tomas Votruba
3b74b47a97
Merge pull request #2979 from rectorphp/fix-spacing
fix spacing for array shape item
v0.7.3
2020-03-01 10:53:53 +01:00
TomasVotruba
f2864d9746 fix spacing for array shape item 2020-03-01 10:42:05 +01:00
Tomas Votruba
5167159837
Merge pull request #2978 from rectorphp/fix-reference
[DeadCode] Fix shifted value
2020-03-01 10:41:31 +01:00
TomasVotruba
0f8cdacd26 decouple FuncCallManipulator 2020-03-01 10:28:52 +01:00
TomasVotruba
b611c4aeda decouple MagicMethodDetector 2020-03-01 10:06:59 +01:00
TomasVotruba
8b5c4f5726 [DeadCode] Fix shifted value 2020-03-01 09:53:08 +01:00
Tomas Votruba
f238553821
Merge pull request #2977 from rectorphp/format-union
fix array shape type
2020-03-01 08:11:48 +01:00
TomasVotruba
96ebef4c2e fix array shape type 2020-03-01 01:43:35 +01:00
Tomas Votruba
7929868f8f
Merge pull request #2975 from rectorphp/complexity
Decrease class complexity <=50
2020-03-01 01:28:21 +01:00
TomasVotruba
5aab2cec96 improve NodeTypeResolver complexity 2020-03-01 01:22:10 +01:00
TomasVotruba
94610569e7 improve ReturnTypeDeclarationRector complexity 2020-03-01 00:46:14 +01:00
TomasVotruba
37eaf518db improve RemoveUnusedAliasRector complexity 2020-03-01 00:38:46 +01:00
Tomas Votruba
5cb23bd262
Merge pull request #2974 from rectorphp/for-for
[DX] Improve ForToForeachRector
2020-03-01 00:10:30 +01:00
TomasVotruba
fe86fc4365 make use of isFuncCallName() method 2020-03-01 00:06:45 +01:00
TomasVotruba
83eca131e9 improve ForToForeachRector 2020-03-01 00:03:32 +01:00
TomasVotruba
9ff0b6a07a decopule isNodePartOfAssign() method 2020-02-29 23:55:00 +01:00
Tomas Votruba
844945f0df
Merge pull request #2972 from rectorphp/property-fetch-complex
Simplify PropertyFetchManipulator
2020-02-29 23:49:02 +01:00
TomasVotruba
6b442b7032 simplify PropertyFetchManipulator 2020-02-29 23:44:28 +01:00