Skip to content

Commit

Permalink
Extend dependency checker to TYPO3 specific files
Browse files Browse the repository at this point in the history
Only autoloaded files will be checked by default.
TYPO3 has some additional files which should be scanned as well.
  • Loading branch information
DanielSiepmann committed Sep 16, 2020
1 parent 8ecc704 commit 9fe11b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions dependency-checker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"scan-files": [
"*.php",
"Configuration/*php",
"Configuration/Backend/*.php",
"Configuration/TCA/*.php"
]
}

0 comments on commit 9fe11b3

Please sign in to comment.