Skip to content

Add PHP 8.4 to workflows. #361

Add PHP 8.4 to workflows.

Add PHP 8.4 to workflows. #361

Workflow file for this run

name: PHP-CS-Fixer
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.3']
name: PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: pcre
tools: php-cs-fixer
- name: PHP-CS-Fixer Check
run: |
php-cs-fixer fix -v --dry-run ./modules --rules=@PSR12
php-cs-fixer fix -v --dry-run ./themes --rules=@PSR12