mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
PHP Coding Standards Fixer > fix coding standard
This commit is contained in:
@@ -23,26 +23,6 @@ use Meritoo\Common\Type\OopVisibilityType;
|
|||||||
*/
|
*/
|
||||||
class OopVisibilityTypeTest extends BaseTypeTestCase
|
class OopVisibilityTypeTest extends BaseTypeTestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* {@inheritdoc}
|
|
||||||
*/
|
|
||||||
protected function getAllExpectedTypes(): array
|
|
||||||
{
|
|
||||||
return [
|
|
||||||
'IS_PRIVATE' => 3,
|
|
||||||
'IS_PROTECTED' => 2,
|
|
||||||
'IS_PUBLIC' => 1,
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
*{@inheritdoc}
|
|
||||||
*/
|
|
||||||
protected function getTestedTypeInstance(): BaseType
|
|
||||||
{
|
|
||||||
return new OopVisibilityType();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
@@ -83,4 +63,24 @@ class OopVisibilityTypeTest extends BaseTypeTestCase
|
|||||||
true,
|
true,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
protected function getAllExpectedTypes(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'IS_PRIVATE' => 3,
|
||||||
|
'IS_PROTECTED' => 2,
|
||||||
|
'IS_PUBLIC' => 1,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*{@inheritdoc}
|
||||||
|
*/
|
||||||
|
protected function getTestedTypeInstance(): BaseType
|
||||||
|
{
|
||||||
|
return new OopVisibilityType();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user