Skip to content

ensure keeping text metadata fields values after failed validation (#… #424

ensure keeping text metadata fields values after failed validation (#…

ensure keeping text metadata fields values after failed validation (#… #424

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/