Skip to content

chore: Configure Renovate - autoclosed #25

chore: Configure Renovate - autoclosed

chore: Configure Renovate - autoclosed #25

name: Coding Standards
on:
pull_request:
branches:
- main
jobs:
coding-standards:
name: Coding Standards
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2,cs2pr
- name: Install dependencies with Composer
uses: ramsey/composer-install@v2
with:
composer-options: --prefer-dist --optimize-autoloader
- name: Check code style
run: ./vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr