diff --git a/.github/workflows/CI-workflows.yaml b/.github/workflows/CI-workflows.yaml index 50cb1cc4..8f9046a0 100644 --- a/.github/workflows/CI-workflows.yaml +++ b/.github/workflows/CI-workflows.yaml @@ -33,7 +33,7 @@ jobs: continue-on-error: ${{ github.ref != 'refs/heads/main' }} - name: Run phpmd - run: phpmd src text phpmd.xml --not-strict + run: phpmd src xml phpmd.xml --not-strict continue-on-error: ${{ github.ref != 'refs/heads/main' }} - name: Install Composer dependencies diff --git a/phpmd.xml b/phpmd.xml new file mode 100644 index 00000000..7c1724fc --- /dev/null +++ b/phpmd.xml @@ -0,0 +1,25 @@ + + + + + This is a custom ruleset for OpenCatalogi Nextcloud. + + + + + + + + + + + + + + +