Skip to content

Add return types in all methods #152

Add return types in all methods

Add return types in all methods #152

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
- 2.x
jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
symfony-versions: [false]
include:
- description: 'Symfony 4.*'
php: '7.4'
symfony-versions: '^4.4'
- description: 'Symfony 5.*'
php: '8.1'
symfony-versions: '^5.4'
name: PHP ${{ matrix.php }} ${{ matrix.description }}
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: ${{ matrix.php }}-${{ matrix.symfony-versions }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
run: composer require "symfony/symfony:${{ matrix.symfony-versions }}" --no-update
if: matrix.symfony-versions
- name: Install dependencies
run: composer install
- name: Install PHPUnit
run: ./vendor/bin/simple-phpunit install
- name: Run PHPUnit tests
run: |
./vendor/bin/simple-phpunit