TargetPhpSettingsMessage::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of the reliforp/reli-prof 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 Reli\Inspector\Daemon\Searcher\Protocol\Message;
15
16
use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings;
17
use Reli\Lib\PhpInternals\ZendTypeReader;
18
19
final class TargetPhpSettingsMessage
20
{
21
    /**
22
     * @param non-empty-string $regex
0 ignored issues
show
Documentation Bug introduced by
The doc comment non-empty-string at position 0 could not be parsed: Unknown type name 'non-empty-string' at position 0 in non-empty-string.
Loading history...
23
     * @param TargetPhpSettings<value-of<ZendTypeReader::ALL_SUPPORTED_VERSIONS>|'auto'> $target_php_settings
24
     */
25
    public function __construct(
26
        public string $regex,
27
        public TargetPhpSettings $target_php_settings,
28
        public int $parent_pid,
29
    ) {
30
    }
31
}
32