Skip to content

Use constructor property promotion in ConfigurationBuilder::build #61

Use constructor property promotion in ConfigurationBuilder::build

Use constructor property promotion in ConfigurationBuilder::build #61

Workflow file for this run

name: 'Unit Testing & Code Lint'
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-test:
runs-on: ubuntu-latest
name: Run tests (${{ matrix.php }})
strategy:
matrix:
php: [8.1, 8.2]
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
run: composer install
- name: PHPUnit ${{ matrix.php }} tests
run: ./vendor/bin/phpunit
- name: Run code sniffer
run: composer run code-lint