Fixing bin file #66
ci.yaml
on: push
Coding Standard & Static Analysis
2m 27s
Matrix: Unittests
Annotations
11 warnings
Unittests (8.2)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Coding Standard & Static Analysis:
src/Business/AbstractMetricCollector.php#L54
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
*/
protected function findSourceFiles(string $path, array $exclude = []): iterable
{
- return $this->directoryScanner->scan([$path], ['^(?!.*\.php$).+'] + $exclude);
+ return $this->directoryScanner->scan([$path], [] + $exclude);
// Exclude non-PHP files
}
protected function traverseAbstractSyntaxTree(string $code): void
|
Coding Standard & Static Analysis:
src/Business/Cognitive/CognitiveMetrics.php#L41
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
*/
public function __construct(array $metrics)
{
- $this->assertArrayKeyIsPresent($metrics, 'class');
+
$this->assertArrayKeyIsPresent($metrics, 'method');
$this->assertArrayKeyIsPresent($metrics, 'line_count');
$this->assertArrayKeyIsPresent($metrics, 'arg_count');
|
Coding Standard & Static Analysis:
src/Business/Cognitive/CognitiveMetrics.php#L42
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function __construct(array $metrics)
{
$this->assertArrayKeyIsPresent($metrics, 'class');
- $this->assertArrayKeyIsPresent($metrics, 'method');
+
$this->assertArrayKeyIsPresent($metrics, 'line_count');
$this->assertArrayKeyIsPresent($metrics, 'arg_count');
$this->assertArrayKeyIsPresent($metrics, 'return_count');
|
Coding Standard & Static Analysis:
src/Business/Cognitive/CognitiveMetrics.php#L43
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
$this->assertArrayKeyIsPresent($metrics, 'class');
$this->assertArrayKeyIsPresent($metrics, 'method');
- $this->assertArrayKeyIsPresent($metrics, 'line_count');
+
$this->assertArrayKeyIsPresent($metrics, 'arg_count');
$this->assertArrayKeyIsPresent($metrics, 'return_count');
$this->assertArrayKeyIsPresent($metrics, 'variable_count');
|
Coding Standard & Static Analysis:
src/Business/Cognitive/CognitiveMetrics.php#L44
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$this->assertArrayKeyIsPresent($metrics, 'class');
$this->assertArrayKeyIsPresent($metrics, 'method');
$this->assertArrayKeyIsPresent($metrics, 'line_count');
- $this->assertArrayKeyIsPresent($metrics, 'arg_count');
+
$this->assertArrayKeyIsPresent($metrics, 'return_count');
$this->assertArrayKeyIsPresent($metrics, 'variable_count');
$this->assertArrayKeyIsPresent($metrics, 'property_call_count');
|
Coding Standard & Static Analysis:
src/Business/Cognitive/CognitiveMetrics.php#L45
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$this->assertArrayKeyIsPresent($metrics, 'method');
$this->assertArrayKeyIsPresent($metrics, 'line_count');
$this->assertArrayKeyIsPresent($metrics, 'arg_count');
- $this->assertArrayKeyIsPresent($metrics, 'return_count');
+
$this->assertArrayKeyIsPresent($metrics, 'variable_count');
$this->assertArrayKeyIsPresent($metrics, 'property_call_count');
$this->assertArrayKeyIsPresent($metrics, 'if_count');
|
Coding Standard & Static Analysis:
src/Business/Cognitive/CognitiveMetrics.php#L46
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$this->assertArrayKeyIsPresent($metrics, 'line_count');
$this->assertArrayKeyIsPresent($metrics, 'arg_count');
$this->assertArrayKeyIsPresent($metrics, 'return_count');
- $this->assertArrayKeyIsPresent($metrics, 'variable_count');
+
$this->assertArrayKeyIsPresent($metrics, 'property_call_count');
$this->assertArrayKeyIsPresent($metrics, 'if_count');
$this->assertArrayKeyIsPresent($metrics, 'if_nesting_level');
|
Coding Standard & Static Analysis:
src/Business/Cognitive/CognitiveMetrics.php#L47
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$this->assertArrayKeyIsPresent($metrics, 'arg_count');
$this->assertArrayKeyIsPresent($metrics, 'return_count');
$this->assertArrayKeyIsPresent($metrics, 'variable_count');
- $this->assertArrayKeyIsPresent($metrics, 'property_call_count');
+
$this->assertArrayKeyIsPresent($metrics, 'if_count');
$this->assertArrayKeyIsPresent($metrics, 'if_nesting_level');
$this->assertArrayKeyIsPresent($metrics, 'else_count');
|
Coding Standard & Static Analysis:
src/Business/Cognitive/CognitiveMetrics.php#L48
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$this->assertArrayKeyIsPresent($metrics, 'return_count');
$this->assertArrayKeyIsPresent($metrics, 'variable_count');
$this->assertArrayKeyIsPresent($metrics, 'property_call_count');
- $this->assertArrayKeyIsPresent($metrics, 'if_count');
+
$this->assertArrayKeyIsPresent($metrics, 'if_nesting_level');
$this->assertArrayKeyIsPresent($metrics, 'else_count');
$this->class = $metrics['class'];
|
Coding Standard & Static Analysis:
src/Business/Cognitive/CognitiveMetrics.php#L49
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$this->assertArrayKeyIsPresent($metrics, 'variable_count');
$this->assertArrayKeyIsPresent($metrics, 'property_call_count');
$this->assertArrayKeyIsPresent($metrics, 'if_count');
- $this->assertArrayKeyIsPresent($metrics, 'if_nesting_level');
+
$this->assertArrayKeyIsPresent($metrics, 'else_count');
$this->class = $metrics['class'];
$this->method = $metrics['method'];
|