Skip to content

Update friendsofphp/php-cs-fixer requirement from ^v3.34 to ^v3.35 #731

Update friendsofphp/php-cs-fixer requirement from ^v3.34 to ^v3.35

Update friendsofphp/php-cs-fixer requirement from ^v3.34 to ^v3.35 #731

Workflow file for this run

name: fix-styling
on:
pull_request:
push:
branches:
- main
jobs:
styling:
name: fix-styling
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
php: [ 8.1 ]
laravel: [ 10.*]
dependency-version: [ prefer-stable ]
include:
- laravel: 10.*
testbench: ^8.0
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: composer:v2
coverage: false
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction
- name: PHP-Code Sniffer Beautifier
run: ./vendor/bin/phpcbf
- name: PHP-CS-Fixer
run: ./vendor/bin/php-cs-fixer fix
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: styling fixes