Skip to content

Excluded StaticAccess from cleancode ruleset #139

Excluded StaticAccess from cleancode ruleset

Excluded StaticAccess from cleancode ruleset #139

Workflow file for this run

name: PHP Mess Detector
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
permissions:
contents: read
jobs:
PHPMD:
name: Run PHPMD scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@2.31.1
with:
php-version: 8.3
coverage: none
tools: phpmd:2.15
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Run PHPMD
run: phpmd . sarif phpmd.xml --reportfile phpmd-results.sarif
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3.27.0
with:
sarif_file: phpmd-results.sarif
wait-for-processing: true