Skip to content

feat: better private properties handling #17

feat: better private properties handling

feat: better private properties handling #17

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
cs-check:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
- name: setup
uses: shivammathur/[email protected]
with:
php-version: 8.2
coverage: none
- name: install PHP CS Fixer
uses: ramsey/composer-install@v2
with:
composer-options: '--working-dir=tools/php-cs-fixer'
- name: 'php-cs-fixer check'
run: 'tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff'
tests:
runs-on: ubuntu-latest
name: tests
steps:
- name: checkout
uses: actions/checkout@master
- name: cache-composer
uses: actions/cache@v2
with:
path: ~/.composer/cache/
key: composer-${{ github.sha }}
- name: setup
uses: shivammathur/[email protected]
with:
php-version: 8.2
coverage: none
extensions: mbstring, fileinfo, json, intl, dom
- name: composer install
run: composer update --prefer-stable
- name: tests
run: vendor/bin/phpunit