Completed
Push — master ( e1c388...7bf58d )
by
unknown
12:55 queued 10:58
created

ShellEnvironmentVariable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PHPSu\ShellCommandBuilder\Literal;
6
7
use PHPSu\ShellCommandBuilder\ShellInterface;
8
9
final class ShellEnvironmentVariable extends ShellWord
10
{
11
    protected $isEnvironmentVariable = true;
12
    protected $useAssignOperator = true;
13
    protected $nameUpperCase = true;
14
15
    /**
16
     * ShellArgument constructor.
17
     * @param string $option
18
     * @param ShellInterface|string $value
19
     */
20
    public function __construct(string $option, $value)
21
    {
22
        parent::__construct($option, $value);
23
    }
24
}
25