From 9fe11b300cf4a133eb256805703481f5cff32d78 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 16 Sep 2020 08:57:44 +0200 Subject: [PATCH] Extend dependency checker to TYPO3 specific files Only autoloaded files will be checked by default. TYPO3 has some additional files which should be scanned as well. --- .github/workflows/ci.yaml | 2 +- dependency-checker.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 dependency-checker.json diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6d90120..9fd8db5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -50,7 +50,7 @@ jobs: run: composer install --prefer-dist --no-progress --no-suggest --no-plugins - name: Missing composer requirements - run: ./vendor/bin/composer-require-checker + run: ./vendor/bin/composer-require-checker check --config-file dependency-checker.json xml-linting: runs-on: ubuntu-latest diff --git a/dependency-checker.json b/dependency-checker.json new file mode 100644 index 0000000..fe1a5d9 --- /dev/null +++ b/dependency-checker.json @@ -0,0 +1,8 @@ +{ + "scan-files": [ + "*.php", + "Configuration/*php", + "Configuration/Backend/*.php", + "Configuration/TCA/*.php" + ] +}