7937 Commits

Author SHA1 Message Date
Aerendir
ec691ff260 Support throwing methods. 2020-03-04 17:13:51 +01:00
Stefan Blanke
19d18c5a6a Add two failings tests 2020-03-04 14:54:21 +01:00
Stefan Blanke
7502b6f891 Merge branch 'failing-tests-for-method-annotation' of github.com:stedekay/rector into failing-tests-for-method-annotation 2020-03-04 14:53:09 +01:00
Aerendir
d7cd5c3cba Complete refactoring. 2020-03-04 14:41:59 +01:00
Stefan Blanke
9f7ba49b99 Resolve conflict 2020-03-04 13:55:44 +01:00
Stefan Blanke
4974c1d139 Add failing tests for method annotation 2020-03-04 13:46:36 +01:00
Aerendir
d449075643 Support analysis of called functions. 2020-03-04 09:13:42 +01:00
TomasVotruba
27c0cd0576 remove dead dir 2020-03-04 00:46:09 +01:00
Tomas Votruba
e9ee423b34
Merge pull request #2997 from gnutix/static-call-fixes
Fix various static calls errors in PHPUnit Rectors.
2020-03-04 00:16:58 +01:00
Tomas Votruba
c9a5b6d160
Merge pull request #2999 from rectorphp/fix-example-doc
wontfix test case
2020-03-03 17:28:22 +01:00
TomasVotruba
4ba189582f drop dump functions, not useful 2020-03-03 17:23:09 +01:00
TomasVotruba
58113c74f3 wontfix test case 2020-03-03 17:19:35 +01:00
Tomas Votruba
d9ee3a4322
Merge pull request #2996 from rectorphp/fix-mutli-example
fix multiline with one space
2020-03-03 17:18:49 +01:00
Dorian Villet
b550b6bf3b Fix various static calls errors in PHPUnit Rectors. 2020-03-03 13:35:18 +01:00
TomasVotruba
c55c2e2c2a fix multiline with one space 2020-03-03 13:27:59 +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