Skip to content

Merge pull request #115 from maxbaldanza/formatting #57

Merge pull request #115 from maxbaldanza/formatting

Merge pull request #115 from maxbaldanza/formatting #57

Workflow file for this run

name: Code style check
on:
push:
branches:
- master
pull_request:
jobs:
phpcs:
name: Code style check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# https://github.com/shivammathur/setup-php
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
tools: composer
# Specific versions of extensions available on PECL can be set up by suffixing the extension's name with the version.
# https://github.com/shivammathur/setup-php?tab=readme-ov-file#heavy_plus_sign-php-extension-support
extensions: apcu, redis-5.3.7, memcached, mongodb
env:
fail-fast: true
- name: Update dependencies with composer
run: composer update
- name: Run php-cs-fixer
run: ./vendor/bin/php-cs-fixer fix --dry-run --diff .