|
14 | 14 | */ |
15 | 15 | final class ProcessedFunctionType |
16 | 16 | { |
| 17 | + public readonly string $functionName; |
| 18 | + public readonly string $namespace; |
| 19 | + public readonly string $signature; |
| 20 | + public readonly int $startLine; |
| 21 | + public readonly int $endLine; |
| 22 | + public int $executableLines; |
| 23 | + public int $executedLines; |
| 24 | + public int $executableBranches; |
| 25 | + public int $executedBranches; |
| 26 | + public int $executablePaths; |
| 27 | + public int $executedPaths; |
| 28 | + public int $ccn; |
| 29 | + public float|int $coverage; |
| 30 | + public int|string $crap; |
| 31 | + public readonly string $link; |
| 32 | + |
17 | 33 | public function __construct( |
18 | | - public readonly string $functionName, |
19 | | - public readonly string $namespace, |
20 | | - public readonly string $signature, |
21 | | - public readonly int $startLine, |
22 | | - public readonly int $endLine, |
23 | | - public int $executableLines, |
24 | | - public int $executedLines, |
25 | | - public int $executableBranches, |
26 | | - public int $executedBranches, |
27 | | - public int $executablePaths, |
28 | | - public int $executedPaths, |
29 | | - public int $ccn, |
30 | | - public float|int $coverage, |
31 | | - public int|string $crap, |
32 | | - public readonly string $link, |
| 34 | + string $functionName, |
| 35 | + string $namespace, |
| 36 | + string $signature, |
| 37 | + int $startLine, |
| 38 | + int $endLine, |
| 39 | + int $executableLines, |
| 40 | + int $executedLines, |
| 41 | + int $executableBranches, |
| 42 | + int $executedBranches, |
| 43 | + int $executablePaths, |
| 44 | + int $executedPaths, |
| 45 | + int $ccn, |
| 46 | + float|int $coverage, |
| 47 | + int|string $crap, |
| 48 | + string $link, |
33 | 49 | ) { |
| 50 | + $this->link = $link; |
| 51 | + $this->crap = $crap; |
| 52 | + $this->coverage = $coverage; |
| 53 | + $this->ccn = $ccn; |
| 54 | + $this->executedPaths = $executedPaths; |
| 55 | + $this->executablePaths = $executablePaths; |
| 56 | + $this->executedBranches = $executedBranches; |
| 57 | + $this->executableBranches = $executableBranches; |
| 58 | + $this->executedLines = $executedLines; |
| 59 | + $this->executableLines = $executableLines; |
| 60 | + $this->endLine = $endLine; |
| 61 | + $this->startLine = $startLine; |
| 62 | + $this->signature = $signature; |
| 63 | + $this->namespace = $namespace; |
| 64 | + $this->functionName = $functionName; |
34 | 65 | } |
35 | 66 | } |
0 commit comments