Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public function writeCatalogues(Configuration $config, array $catalogues): void |
||
40 | { |
||
41 | foreach ($catalogues as $catalogue) { |
||
42 | $this->writer->write( |
||
43 | $catalogue, |
||
44 | $config->getOutputFormat(), |
||
45 | [ |
||
46 | 'path' => $config->getOutputDir(), |
||
47 | 'default_locale' => $this->defaultLocale, |
||
48 | 'xliff_version' => $config->getXliffVersion(), |
||
49 | ] |
||
54 |