Skip to content

Coding standards tests #1

Coding standards tests

Coding standards tests #1

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Static Analysis
on:
push:
branches:
- 'develop'
- 'trunk'
paths:
- '.github/workflows/static-analysis.yml'
- '**.php'
- 'composer.json'
- 'phpstan.neon.dist'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/static-analysis.yml'
- '**.php'
- 'composer.json'
- 'phpstan.neon.dist'
workflow_dispatch:
permissions: {}
jobs:
test:
name: ${{ matrix.label }}
permissions:
contents: read
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-static-analysis.yml@cs2pr
strategy:
matrix:
label:
- 'PHP'
php:
- '8.3'
- '7.4'
fail-fast: false
with:
php: ${{ matrix.php }}