TomasVotruba
b0bd524e53
apply constant decouple
2020-05-06 23:40:31 +02:00
TomasVotruba
491a417842
various @todo resolved
2020-05-06 17:37:27 +02:00
TomasVotruba
7ae2145d14
improve NodeFactory adding @var type via phpstan type
2020-05-05 22:33:00 +02:00
TomasVotruba
73991b3153
add DataProviderTagValueNode
2020-05-05 16:37:29 +02:00
TomasVotruba
73a5c61a92
drop FixDataProviderAnnotationTypoRector, fixing typos in single docblock annotation is too narrow
2020-05-05 15:43:55 +02:00
TomasVotruba
ec3a84e8d3
decouple IsAbleRector for is_countable and is_iterable abstraction
2020-05-05 14:24:56 +02:00
TomasVotruba
e8ac877527
remove @todo from fixtures
2020-05-05 14:24:56 +02:00
TomasVotruba
ef5501d06c
various cs cleanup
2020-05-03 21:33:36 +02:00
TomasVotruba
00b3184eb3
[Naming] Add RenamePropertyToMatchTypeRector
2020-05-02 22:36:11 +02:00
TomasVotruba
1bf62ac1c7
[cs] sort private methods by call order and property by complexity
2020-04-26 02:57:47 +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
629042eeb4
move NodeRemovingRector to collector
2020-03-31 19:34:56 +02:00
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