Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Update README.md

Update README.md #24

name: Fix PHP code style issues
on: [push]
jobs:
php-code-styling:
runs-on: ubuntu-22.04
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
extensions: dom, curl, libxml, mbstring, zip
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none
- name: Setup app
run: |
composer install --prefer-dist --no-interaction --no-progress
npm install
- name: Fix PHP code style issues
run: composer format-php
- name: Fix Blade code style issues
run: composer format-blade
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling