Skip to content

[RELEASE] Release of version 3.0.0 #17

[RELEASE] Release of version 3.0.0

[RELEASE] Release of version 3.0.0 #17

Workflow file for this run

name: Code analysis
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
php: ['8.1', '8.2']
runs-on: ubuntu-latest
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, intl, json
coverage: pcov
tools: composer:v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Run PHP lint
run: find . -name \*.php ! -path "./.Build/*" | xargs -n1 php -d display_errors=stderr -l
- name: Install composer dependencies
run: |
composer install --no-progress
- name: Validate PHP coding guidelines
run: |
.Build/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --stop-on-violation --using-cache=no