Skip to content

fix PHP 7.4 codegen #41

fix PHP 7.4 codegen

fix PHP 7.4 codegen #41

Workflow file for this run

name: "Autoformat"
on:
push:
branches:
- '*'
jobs:
composer-normalize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: shivammathur/setup-php@v2
with:
coverage: none
extensions: mbstring
php-version: 8.3
- uses: ramsey/composer-install@v3
- run: composer normalize
- run: git pull
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Normalize composer.json
php-cs-fixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: shivammathur/setup-php@v2
with:
coverage: none
extensions: mbstring
php-version: 8.3
- uses: ramsey/composer-install@v3
- run: vendor/bin/php-cs-fixer fix
- run: git pull
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply php-cs-fixer changes