mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 11:14:38 +01:00
34 lines
1.3 KiB
YAML
34 lines
1.3 KiB
YAML
imports:
|
|
- { resource: 'phpunit-exception.yaml' }
|
|
|
|
services:
|
|
# https://github.com/rectorphp/rector/issues/1024
|
|
Rector\TypeDeclaration\Rector\ClassMethod\AddParamTypeDeclarationRector:
|
|
$typehintForParameterByMethodByClass:
|
|
'PHPUnit\Framework\TestCase':
|
|
__construct:
|
|
2: '' # no type, $dataName
|
|
|
|
Rector\PHPUnit\Rector\MethodCall\SpecificAssertContainsRector: null
|
|
Rector\PHPUnit\Rector\MethodCall\SpecificAssertInternalTypeRector: null
|
|
|
|
Rector\Renaming\Rector\Class_\RenameClassRector:
|
|
$oldToNewClasses:
|
|
# https://github.com/sebastianbergmann/phpunit/issues/3123
|
|
'PHPUnit_Framework_MockObject_MockObject': 'PHPUnit\Framework\MockObject\MockObject'
|
|
|
|
Rector\PHPUnit\Rector\MethodCall\AssertEqualsParameterToSpecificMethodsTypeRector: null
|
|
|
|
Rector\Core\Rector\ClassMethod\AddReturnTypeDeclarationRector:
|
|
$typehintForMethodByClass:
|
|
'PHPUnit\Framework\TestCase':
|
|
setUpBeforeClass: 'void'
|
|
setUp: 'void'
|
|
assertPreConditions: 'void'
|
|
assertPostConditions: 'void'
|
|
tearDown: 'void'
|
|
tearDownAfterClass: 'void'
|
|
onNotSuccessfulTest: 'void'
|
|
|
|
Rector\PHPUnit\Rector\MethodCall\ReplaceAssertArraySubsetRector: null
|