Skip to content

feat: fix deprecation for Extension #278

feat: fix deprecation for Extension

feat: fix deprecation for Extension #278

# OS: Linux; Symfony: upcoming (still unreleased) version; PHP: latest stable
name: "Tests - Upcoming Symfony version"
on: [push, pull_request]
env:
fail-fast: true
jobs:
tests:
runs-on: 'ubuntu-latest'
continue-on-error: true
strategy:
matrix:
symfony-version: ['7.1.x@dev']
steps:
- name: 'Checkout code'
uses: actions/checkout@v4
- name: 'Install PHP with extensions'
uses: shivammathur/[email protected]
with:
coverage: none
php-version: '8.3'
tools: composer:v2
extensions: pcov, curl, libxml, pcntl, pdo
ini-values: date.timezone=UTC
- name: 'Install project dependencies'
#env:
#SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins symfony/flex
composer config minimum-stability dev
composer config prefer-stable false
composer update --no-interaction --optimize-autoloader
vendor/bin/simple-phpunit install
- name: 'Run tests'
env:
#SYMFONY_DEPRECATIONS_HELPER: 'max[indirect]=9999&max[direct]=0&max[self]=9999'
SYMFONY_DEPRECATIONS_HELPER: 'weak'
run: vendor/bin/simple-phpunit || exit 0