Skip to content

Merge branch 'PHP-8.3' into PHP-8.4 #708

Merge branch 'PHP-8.3' into PHP-8.4

Merge branch 'PHP-8.3' into PHP-8.4 #708

Workflow file for this run

name: Run code style checks
on:
push:
branches: [PHP-8.4]
pull_request:
branches: [PHP-8.4]
jobs:
check:
name: Check code style
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Python
uses: actions/setup-python@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: php-cs-fixer
- name: Install checking tools
run: |
pipx install codespell
pipx install gersemi
curl -OL https://github.com/petk/normalizator/releases/latest/download/normalizator.phar
chmod +x normalizator.phar
mv normalizator.phar /usr/local/bin/normalizator
- name: Run checks
run: ./bin/check-cmake.php cmake
- name: Run PHP CS Fixer
run: php-cs-fixer check --diff --rules=@Symfony,@PER-CS --using-cache=no -- bin