7908 Commits

Author SHA1 Message Date
Aerendir
94416d837b Improve variables namings. 2020-03-07 12:58:31 +01:00
Aerendir
40d39ee4e4 Improve resolving from $this. 2020-03-07 12:58:31 +01:00
Aerendir
8be8bc73ed Add failing test case for use of $this in same class with assignment. 2020-03-07 12:09:35 +01:00
Aerendir
47a18fca6b Fix use of $this in same class. 2020-03-07 12:09:34 +01:00
Aerendir
08b681999e Add failing test case for use of $this in the same class. 2020-03-07 12:08:55 +01:00
Tomas Votruba
5a5d5dc340
Merge pull request #2998 from Aerendir/support-throwing-functions
AnnotateThrowables: support analysis of called functions and methods
2020-03-06 14:20:21 +01:00
Aerendir
5bfe7a15d8 Very deep refactoring. 2020-03-06 10:48:58 +01:00
Aerendir
e88d18ca98 Clean tests folder. 2020-03-05 14:25:49 +01:00
Aerendir
cc0fcb8446 Small refactorings. 2020-03-05 14:25:49 +01:00
Aerendir
1cbb1f1fe8 Support $this->method(). 2020-03-05 14:25:49 +01:00
Aerendir
fe1a46e2b8 Apply fixes. 2020-03-05 10:05:35 +01:00
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
Tomas Votruba
e4ff51bb39
Merge pull request #3005 from rectorphp/fix-new-comment
remove comments only in case of change to original node
2020-03-05 00:43:42 +01:00
TomasVotruba
48cb0b9ec8 remove comments only in case of change to original node 2020-03-05 00:43:04 +01:00
TomasVotruba
6fd021e2cd remove comments 2020-03-04 23:30:41 +01:00
Tomas Votruba
6c59270d61
Merge pull request #3004 from rectorphp/fix-method-template
fix method annotation
2020-03-04 23:29:48 +01:00
TomasVotruba
1b937ec0e0 fix method annotation 2020-03-04 23:22:29 +01:00
Tomas Votruba
baa057d48b
Merge pull request #3003 from stedekay/failing-tests-for-method-annotation
Add failing tests for method annotation
2020-03-04 21:48:45 +01:00
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