Skip to content

added RuleHelper, release 3.1.1, fix phpstan #25

added RuleHelper, release 3.1.1, fix phpstan

added RuleHelper, release 3.1.1, fix phpstan #25

Workflow file for this run

name: PHP Composer
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install npm dependencies
run: yarn install
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run tests
run: vendor/bin/phpunit
- name: Run static code analysis
run: vendor/bin/phpstan --xdebug analyse
if: always()