Skip to content

PHP 8.2 Update (#34) #133

PHP 8.2 Update (#34)

PHP 8.2 Update (#34) #133

Workflow file for this run

name: "PHP_Codesniffer"
on:
pull_request:
paths:
- "**.php"
- "phpcs.xml.dist"
- ".github/workflows/phpcs.yaml"
push:
paths:
- "**.php"
- "phpcs.xml.dist"
- ".github/workflows/phpcs.yaml"
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- uses: actions/checkout@v2
with:
fetch-depth: 0 # important!
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run PHP_CodeSniffer
run: vendor/bin/phpcs