Replace glob by EventDispatcher

Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
Vitor Mattos
2021-12-27 11:51:41 -03:00
committed by Julius Härtl
parent f2b6934ac3
commit ccd5bce7ea
9 changed files with 173 additions and 28 deletions

View File

@@ -114,8 +114,7 @@ class BoardImportCommandService extends BoardImportService {
return $v['message'];
}, $e->getData()));
$this->getOutput()->writeln('Valid schema:');
$schemaPath = __DIR__ . '/fixtures/config-' . $this->getSystem() . '-schema.json';
$this->getOutput()->writeln(print_r(file_get_contents($schemaPath), true));
$this->getOutput()->writeln(print_r(file_get_contents($this->getJsonSchemaPath()), true));
$this->getInput()->setOption('config', '');
}
$this->validateConfig();