| Total Complexity | 3 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 12 | final class InPlaceSubstitution implements SubstitutionStrategy |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var Finder |
||
| 16 | */ |
||
| 17 | private $finder; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var Style |
||
| 21 | */ |
||
| 22 | private $style; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var ProcessRunner |
||
| 26 | */ |
||
| 27 | private $processRunner; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var Filesystem |
||
| 31 | */ |
||
| 32 | private $filesystem; |
||
| 33 | |||
| 34 | public function __construct( |
||
| 35 | Finder $finder, |
||
| 36 | Style $style, |
||
| 37 | ProcessRunner $processRunner, |
||
| 38 | Filesystem $filesystem |
||
| 39 | ) { |
||
| 40 | $this->finder = $finder; |
||
| 41 | $this->style = $style; |
||
| 42 | $this->processRunner = $processRunner; |
||
| 43 | $this->filesystem = $filesystem; |
||
| 44 | } |
||
| 45 | |||
| 46 | public function substitute(Process $envSubstProcess) |
||
| 56 | } |
||
| 57 | } |
||
| 58 | } |