forked from rectorphp/rector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit80.yaml
28 lines (24 loc) · 1.11 KB
/
phpunit80.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
imports:
- { resource: 'phpunit-exception.yaml' }
services:
# https://github.com/rectorphp/rector/issues/1024
Rector\Rector\Typehint\ParentTypehintedArgumentRector:
PHPUnit\Framework\TestCase:
__construct:
dataName: '' # no type
Rector\PHPUnit\Rector\MethodCall\SpecificAssertContainsRector: ~
Rector\PHPUnit\Rector\MethodCall\SpecificAssertInternalTypeRector: ~
Rector\Rector\Class_\RenameClassRector:
# https://github.com/sebastianbergmann/phpunit/issues/3123
'PHPUnit_Framework_MockObject_MockObject': 'PHPUnit\Framework\MockObject\MockObject'
Rector\PHPUnit\Rector\MethodCall\AssertEqualsParameterToSpecificMethodsTypeRector: ~
Rector\Rector\ClassMethod\AddReturnTypeDeclarationRector:
PHPUnit\Framework\TestCase:
setUpBeforeClass: 'void'
setUp: 'void'
assertPreConditions: 'void'
assertPostConditions: 'void'
tearDown: 'void'
tearDownAfterClass: 'void'
onNotSuccessfulTest: 'void'
Rector\PHPUnit\Rector\MethodCall\ReplaceAssertArraySubsetRector: ~