Skip to content

Update composer.json #22

Update composer.json

Update composer.json #22

Workflow file for this run

name: PHP-CS-Fixer
on: [ 'push', 'pull_request' ]
jobs:
php-cs-fixer:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '8.0' ]
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl
tools: php-cs-fixer
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php-cs-fixer.php --allow-risky=yes
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling