Skip to content

Add DeviceDetect proxy to autoload. #129

Add DeviceDetect proxy to autoload.

Add DeviceDetect proxy to autoload. #129

Workflow file for this run

name: PHP Coding Standards
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '20 16 * * SUN'
jobs:
php-cs-fixer:
name: PHP Coding Standards
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup tools
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: cs2pr
coverage: none
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
- name: Create var/ directory
run: mkdir var
- name: Cache PHP Coding Standards
uses: actions/cache@v2
with:
path: var/.php_cs.cache
key: php-cs-fixer-${{ github.sha }}
restore-keys: php-cs-fixer-
- name: Run PHP Coding Standards
run: vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr