Test Failed
Push — main ( 917e6f...6ea8e5 )
by Chema
04:26 queued 01:24
created

ServiceWithScalarDependency   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GacelaTest\Fake;
6
7
final class ServiceWithScalarDependency
8
{
9
    public function __construct(
10
        public Person $person,
11
        public string $apiKey,  // No default - will cause error
12
    ) {
13
    }
14
}
15