Skip to content

Optimized default value #41

Optimized default value

Optimized default value #41

Workflow file for this run

name: PHP CS Fixer
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
php-cs-fixer:
strategy:
matrix:
php-version: [ 8.1 ]
platform: [ ubuntu-latest ]
max-parallel: 20
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: swoole
tools: composer:v2
coverage: xdebug
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: PHP CS Fixer
run: ./vendor/bin/php-cs-fixer fix $1 --dry-run --diff