Skip to content

fix error

fix error #97

Workflow file for this run

name: PHP Composer
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: '7.4'
extensions: mbstring, intl, mysql
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: PHPCsFixes
run: vendor/bin/php-cs-fixer fix --stop-on-violation --dry-run
- name: Unit Tests
run: vendor/bin/phpunit --bootstrap test/autoload.php test/