Skip to content

Merge pull request #6 from anatoliyLegkiy/main #56

Merge pull request #6 from anatoliyLegkiy/main

Merge pull request #6 from anatoliyLegkiy/main #56

Workflow file for this run

name: Check styling
on: [push]
permissions:
contents: read
jobs:
style:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: fileinfo, dom, curl, libxml, mbstring, bcmath, soap
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install PHP dependencies
run: composer update --prefer-stable --no-interaction --no-progress
- name: Check styling
run: vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --stop-on-violation --using-cache=no --path-mode=intersection ./src ./tests