Skip to content

Merge pull request #2058 from Strategy11/try_to_render_captcha_on_a_t… #2521

Merge pull request #2058 from Strategy11/try_to_render_captcha_on_a_t…

Merge pull request #2058 from Strategy11/try_to_render_captcha_on_a_t… #2521

Workflow file for this run

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
types: [ opened, labeled, synchronize ]
name: PHP Syntax Check
jobs:
runPHPSyntaxCheck:
if: contains(github.event.pull_request.labels.*.name, 'run analysis')
name: Run PHP Syntax inspection
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php: 7.0
- php: 8.3
steps:
- uses: actions/[email protected]
- uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
- name: Check PHP ${{ matrix.multisite }} syntax
run: find -L . -path ./vendor -prune -o -path ./tests -prune -o -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l