Skip to content

chore: drop support for php < 8.1, drop chronos requirement #47

chore: drop support for php < 8.1, drop chronos requirement

chore: drop support for php < 8.1, drop chronos requirement #47

Workflow file for this run

name: Check CS
on:
push:
pull_request_target:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
name: Check code style
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: "8.1"
tools: cs2pr
- name: Install dependencies with composer
run: composer install
- if: ${{ github.base_ref == '' }}
run: composer cscheck
- name: Run code style check with code sniffer
if: ${{ github.base_ref != '' }}
run: vendor/bin/phpcs --standard=Solido src/ --report=checkstyle | cs2pr