1 | <?php declare(strict_types=1); |
||
8 | class BashScriptParser implements ScriptParser |
||
9 | { |
||
10 | const TYPE_DIRECT_EXECUTE = '<PSH_EXECUTE_THROUGH_CMD>'; |
||
11 | |||
12 | /** |
||
13 | * @todo add validation and notice |
||
14 | */ |
||
15 | const SHOULD_BE_PRESENT = "\nset -euo pipefail\n"; |
||
16 | |||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | public function parseContent(string $content, Script $script): array |
||
32 | } |
||
33 |