Skip to content

Added skip unitialized values context param #1047

Added skip unitialized values context param

Added skip unitialized values context param #1047

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
run: 'composer install -n --prefer-dist --optimize-autoloader --working-dir=tools/php-cs-fixer'
- name: 'php-cs-fixer check'
run: 'tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.php --dry-run --diff'
phpstan:
runs-on: ubuntu-latest
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.3
coverage: none
- name: composer install
run: composer update --prefer-stable
- name: install phpstan
run: 'composer install -n --prefer-dist --optimize-autoloader --working-dir=tools/phpstan'
- name: 'phpstan check'
run: 'tools/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan/phpstan.neon'
tests:
runs-on: ubuntu-latest
name: tests
strategy:
fail-fast: false
matrix:
php-versions:
- 8.2
- 8.3
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: '${{ matrix.php-versions }}'
coverage: none
extensions: mbstring, fileinfo, json, intl, dom
- name: composer install
run: composer update --prefer-stable
- name: tests
run: vendor/bin/phpunit
tests-lowest:
runs-on: ubuntu-latest
name: tests-lowest
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 --prefer-lowest
- name: tests
run: vendor/bin/phpunit