Completed
Push — master ( 1f7fc9...50ad35 )
by Jakub
01:38
created

TestSuite   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 5
rs 10
c 1
b 0
f 0
eloc 3
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
namespace MyTester\Annotations\Attributes;
5
6
use Attribute;
0 ignored issues
show
Bug introduced by
The type Attribute was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
8
/**
9
 * TestSuite attribute
10
 *
11
 * @author Jakub Konečný
12
 */
13
#[Attribute(Attribute::TARGET_CLASS)]
0 ignored issues
show
introduced by
This comment is 63% valid code; is this commented out code?
Loading history...
14
final class TestSuite extends BaseAttribute {
15
  public string $value;
16
17
  public function __construct(string $value) {
18
    $this->value = $value;
19
  }
20
}
21
?>