Skip to content

chore: upgrade PHP to 8.1, add spiral/code-style, config and CI for code style, update psalm #39

chore: upgrade PHP to 8.1, add spiral/code-style, config and CI for code style, update psalm

chore: upgrade PHP to 8.1, add spiral/code-style, config and CI for code style, update psalm #39

Workflow file for this run

name: PHP-CS-Fixer Check
on: [push, pull_request]
jobs:
phpcsfixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Run PHP-CS-Fixer dry run
run: |
vendor/bin/php-cs-fixer fix --dry-run -v --diff