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.
This commit is contained in:
Daniel Siepmann 2020-09-16 08:57:44 +02:00
parent 8ecc704cd9
commit 9fe11b300c
2 changed files with 9 additions and 1 deletions

View file

@ -50,7 +50,7 @@ jobs:
run: composer install --prefer-dist --no-progress --no-suggest --no-plugins run: composer install --prefer-dist --no-progress --no-suggest --no-plugins
- name: Missing composer requirements - name: Missing composer requirements
run: ./vendor/bin/composer-require-checker run: ./vendor/bin/composer-require-checker check --config-file dependency-checker.json
xml-linting: xml-linting:
runs-on: ubuntu-latest runs-on: ubuntu-latest

8
dependency-checker.json Normal file
View file

@ -0,0 +1,8 @@
{
"scan-files": [
"*.php",
"Configuration/*php",
"Configuration/Backend/*.php",
"Configuration/TCA/*.php"
]
}