Skip to content

Fix error when filtering by empty user group (#456) #420

Fix error when filtering by empty user group (#456)

Fix error when filtering by empty user group (#456) #420

Workflow file for this run

# When a PR is opened or a push is made, check code
# for duplication with PHP Copy/Paste Detector.
name: PHPCPD
on:
pull_request:
branches:
- 'develop'
paths:
- '**.php'
- '.github/workflows/deduplicate.yml'
push:
branches:
- 'develop'
paths:
- '**.php'
- '.github/workflows/deduplicate.yml'
jobs:
build:
name: Duplicate Code Detection
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: phpcpd
extensions: dom, mbstring
- name: Detect code duplication
run: phpcpd app/ src/ tests/