TomasVotruba
7ae2145d14
improve NodeFactory adding @var type via phpstan type
2020-05-05 22:33:00 +02:00
TomasVotruba
73a5c61a92
drop FixDataProviderAnnotationTypoRector, fixing typos in single docblock annotation is too narrow
2020-05-05 15:43:55 +02:00
TomasVotruba
e8ac877527
remove @todo from fixtures
2020-05-05 14:24:56 +02:00
TomasVotruba
440e4af280
[PHPUnit] Fix ExceptionAnnotationRector for null phpdoc
2020-04-20 09:40:21 +02:00
TomasVotruba
0939387553
use getProperty()
2020-04-19 23:27:37 +02:00
TomasVotruba
c6bc133cb3
[PHPUnit] Add strict param to ReplaceAssertArraySubsetRector
2020-04-19 01:16:27 +02:00
TomasVotruba
b3fde24ab1
[PHPUnit] Add AddProphecyTraitRector
2020-04-01 02:37:21 +02:00
TomasVotruba
eb88378488
improve chain method call resolutuin
2020-03-23 17:33:04 +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
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
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
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
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
3e5dd77bb6
move Rector-rule based packages from /packages to /rules
2020-02-11 13:41:37 +01:00