TomasVotruba
626287ec76
apply privatization
2020-03-29 00:06:05 +01:00
TomasVotruba
eb88378488
improve chain method call resolutuin
2020-03-23 17:33:04 +01:00
TomasVotruba
0c3359e217
add variable to method call traverser
2020-03-23 17:16:10 +01:00
TomasVotruba
44a1654b66
split fixture
2020-03-23 17:16:10 +01:00
Grégoire Paris
88f27689eb
WIP add createMock to createStub rector
2020-03-23 17:16:10 +01:00
TomasVotruba
11114def28
add remove* method
2020-03-19 13:56:33 +01:00
TomasVotruba
eca4d54f58
add PR annotate workflow
2020-03-19 13:56:23 +01:00
nightlinus
e2b5ff1df2
SpecificAssertContainsWithoutIdentityRector: add phpunit 9 compatibility rector
...
As of https://github.com/sebastianbergmann/phpunit/issues/3426 assertContains() and assertNotContains() will perform strict comparisons starting with PHPUnit 9 where non-strict comparisons were performed in PHPUnit 8 and earlier; assertContainsEqual() and assertNotContainsEqual() should be used instead if needed non-strict comparison
2020-03-15 12:16:55 +03:00
Dorian Villet
b550b6bf3b
Fix various static calls errors in PHPUnit Rectors.
2020-03-03 13:35:18 +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
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
TomasVotruba
903483bf96
decouple ClassInsertManipulator
2020-02-29 22:10:06 +01:00
TomasVotruba
128910963a
various fixes
2020-02-29 01:29:42 +01:00
Tomas Votruba
8f3e90ba7f
Merge pull request #2956 from gnutix/AssertTrueFalseInternalTypeToSpecificMethodRector/add-broken-test-method-call
...
AssertTrueFalseInternalTypeToSpecificMethodRector: add broken test method call
2020-02-29 01:23:55 +01:00
Tomas Votruba
1452472fc5
Merge pull request #2951 from gnutix/AddSeeTestAnnotationRectorTest/add-broken-test-simple-comment
...
AddSeeTestAnnotationRectorTest: add broken test for simple comment.
2020-02-29 01:21:48 +01:00
TomasVotruba
e0baf3330b
fix naming of non-func call
2020-02-29 01:20:34 +01:00
Dorian Villet
cbdc4a1c2f
AssertTrueFalseInternalTypeToSpecificMethodRector: add broken test on method call.
2020-02-28 17:20:54 +01:00
Dorian Villet
1a26e05ecc
AssertRegExpRectorTest: add broken test when calling static method.
2020-02-28 16:54:12 +01:00
Dorian Villet
05792e6a82
AddSeeTestAnnotationRectorTest: add broken test for simple comment.
2020-02-28 16:24:03 +01:00
TomasVotruba
bc24bb12ff
prevent getName() on StaticCall or MethodCall
2020-02-21 16:41:33 +01:00
TomasVotruba
d0afc945e0
add links to each rule and test fixture in docs
2020-02-21 15:24:17 +01:00
TomasVotruba
c25db0b56d
apply
2020-02-19 00:14:44 +01:00
TomasVotruba
1498108d95
fix single line comment
2020-02-17 00:03:28 +01:00
TomasVotruba
bc5eefdb76
improve AddSeeTestAnnotationRector
2020-02-11 14:40:59 +01:00
TomasVotruba
3e5dd77bb6
move Rector-rule based packages from /packages to /rules
2020-02-11 13:41:37 +01:00