Initial commit #2
code-quality.yaml
on: push
Composer Validation
15s
Coding Standards
12s
Static Analysis
13s
Annotations
9 errors
|
Static Analysis
Process completed with exit code 1.
|
|
Static Analysis:
src/PHPUnitExtension.php#L85
Call to function method_exists() with PHPUnit\Event\Test\BeforeTestMethodErrored and 'test' will always evaluate to true.
|
|
Static Analysis:
src/Metadata/AttributeReader.php#L52
Method Bizkit\FunctionMock\Metadata\AttributeReader::readAttributes() has parameter $reflection with generic class ReflectionClass but does not specify its types: T
|
|
Static Analysis:
src/FunctionMock.php#L49
Parameter #3 $length of function substr expects int|null, int|false given.
|
|
Static Analysis:
src/FunctionMock.php#L46
Parameter #3 $length of function substr expects int|null, int|false given.
|
|
Static Analysis:
src/FunctionMock.php#L37
Trying to invoke non-falsy-string but it might not be a callable.
|
|
Static Analysis:
src/FunctionMock.php#L33
Method Bizkit\FunctionMock\FunctionMock::run() has parameter $functionArgs with no type specified.
|
|
Static Analysis:
src/Attribute/MockedFunctions.php#L25
Call to function is_string() with string will always evaluate to true.
|
|
Static Analysis:
src/Attribute/MockedFunctions.php#L23
Parameter #1 $array (list<string>) of array_values is already a list, call has no effect.
|