Skip to content

Enum replaced with array. #8

Enum replaced with array.

Enum replaced with array. #8

name: Fix PHP code style issues
on:
push:
paths:
- '**.php'
permissions:
contents: write
jobs:
php-code-styling:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Fix PHP code style issues "Laravel/Pint"
uses: aglipanci/laravel-pint-action@2.2.0
with:
preset: laravel
verboseMode: true
testMode: true
configPath: "pint.json"
onlyDirty: true
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling