Passed
Push — renovate/php-8.x ( bfb893...222c0a )
by
unknown
02:20
created

FunctionEntry   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 1
1
<?php
2
3
/**
4
 * This file is part of the sj-i/ package.
5
 *
6
 * (c) sji <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace PhpProfiler\Inspector\Output\TopLike;
15
16
final class FunctionEntry
17
{
18
    public function __construct(
19
        public string $name,
20
        public string $file,
21
        public int $lineno,
22
        public int $count_exclusive = 0,
23
        public int $count_inclusive = 0,
24
        public int $total_count_exclusive = 0,
25
        public int $total_count_inclusive = 0,
26
        public float $percent_exclusive = 0,
27
    ) {
28
    }
29
}
30