
name: "Coding Standards"

on:
  pull_request:
    branches:
      - "*.x"
    paths:
      - ".github/workflows/coding-standards.yml"
      - "composer.*"
      - "lib/**"
      - "phpcs.xml.dist"
      - "tests/**"
  push:
    branches:
      - "*.x"
    paths:
      - ".github/workflows/coding-standards.yml"
      - "composer.*"
      - "lib/**"
      - "phpcs.xml.dist"
      - "tests/**"

jobs:
  coding-standards:
    name: "Coding Standards"
    uses: "doctrine/.github/.github/workflows/coding-standards.yml@3.0.0"
    with:
      php-version: "8.1"
