Skip to content

Implicitly marking parameter as nullable is deprecated #136

Implicitly marking parameter as nullable is deprecated

Implicitly marking parameter as nullable is deprecated #136

Workflow file for this run

name: php 8.1
on:
push:
pull_request:
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.1']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: intl #optional
ini-values: "post_max_size=256M" #optional
- name: Check PHP Version
run: php -v
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-8.1-v3-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-8.1-v3-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run test suite
run: |
vendor/bin/phpunit tests --verbose