Skip to content

Update squizlabs/php_codesniffer requirement from ^3.10 to ^3.11 #846

Update squizlabs/php_codesniffer requirement from ^3.10 to ^3.11

Update squizlabs/php_codesniffer requirement from ^3.10 to ^3.11 #846

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, '8.2']
laravel: ['10.*', '11.*']
dependency-version: [prefer-stable]
include:
- laravel: 10.*
testbench: ^8.0
- laravel: 11.*
testbench: ^9.0
exclude:
- laravel: 11.*
php: 8.1
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@v5
with:
commit_message: styling fixes