Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
26 | final class StringNodePrefixer |
||
27 | { |
||
28 | private PhpScoper $scoper; |
||
29 | private string $prefix; |
||
30 | private Whitelist $whitelist; |
||
31 | |||
32 | public function __construct(PhpScoper $scoper, string $prefix, Whitelist $whitelist) |
||
33 | { |
||
34 | $this->scoper = $scoper; |
||
35 | $this->prefix = $prefix; |
||
36 | $this->whitelist = $whitelist; |
||
37 | } |
||
38 | |||
39 | public function prefixStringValue(String_ $node): void |
||
56 | // Continue without scoping the heredoc which for some reasons contains invalid PHP code |
||
57 | } |
||
60 |