diff --git a/depfile.yaml b/depfile.yaml deleted file mode 100644 index ae3a2237..00000000 --- a/depfile.yaml +++ /dev/null @@ -1,22 +0,0 @@ -paths: - - ./src -layers: - - name: Domain - collectors: - - type: directory - regex: src/Domain - - name: Framework - collectors: - - type: directory - regex: src/Framework - - name: Plugins - collectors: - - type: directory - regex: src/Plugins -ruleset: - Domain: ~ - Framework: - - Domain - - Plugins - Plugins: - - Domain diff --git a/deptrac.yaml b/deptrac.yaml new file mode 100644 index 00000000..202343e5 --- /dev/null +++ b/deptrac.yaml @@ -0,0 +1,23 @@ +deptrac: + paths: + - ./src + layers: + - name: Domain + collectors: + - type: directory + regex: src/Domain + - name: Framework + collectors: + - type: directory + regex: src/Framework + - name: Plugins + collectors: + - type: directory + regex: src/Plugins + ruleset: + Domain: ~ + Framework: + - Domain + - Plugins + Plugins: + - Domain diff --git a/psalm.xml b/psalm.xml index b56b224f..1b0fdcec 100644 --- a/psalm.xml +++ b/psalm.xml @@ -1,6 +1,6 @@ formatOutput = true; $asXml = $test->asXML(); - if (false !== $asXml) { + if ((false !== $asXml) && ('' !== $asXml)) { $dom->loadXML($asXml); } else { throw new SarbException('xml could not be loaded'); // @codeCoverageIgnore