Skip to content

Bump friendsofphp/php-cs-fixer from 3.54.0 to 3.60.0 #303

Bump friendsofphp/php-cs-fixer from 3.54.0 to 3.60.0

Bump friendsofphp/php-cs-fixer from 3.54.0 to 3.60.0 #303

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
PHPStan_Analyze:
name: PHPStan Analysis
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Setup PHP and tools
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
tools: phpstan
coverage: none
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader --ignore-platform-reqs
- name: Run PhpStan
run: phpstan analyze --no-progress src -c phpstan.neon.dist
codestyle:
name: Code Style checks
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Setup PHP and tools
uses: shivammathur/setup-php@v2
with:
tools: php-cs-fixer
coverage: none
- name: Run PHP-CS-Fixer
run: php-cs-fixer fix --dry-run --diff --config=.php-cs-fixer.php