Skip to content

Avoid PHP 8.4 deprecations #681

Avoid PHP 8.4 deprecations

Avoid PHP 8.4 deprecations #681

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-php:
name: Build PHP
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental }}
strategy:
max-parallel: 6
fail-fast: false
matrix:
typo3: ['11', '12', '13']
php: ['php8.2']
experimental: [false]
include:
- typo3: '11'
php: 'php8.0'
experimental: false
steps:
- uses: actions/checkout@v1
- name: Set up PHP Version
run: |
sudo update-alternatives --set php /usr/bin/${{ matrix.php }}
php -v
- name: Update Composer
run: |
sudo composer self-update
composer --version
- name: Install
run: |
composer require typo3/cms-core:^${{ matrix.typo3 }} typo3/cms-backend:^${{ matrix.typo3 }} typo3/cms-extbase:^${{ matrix.typo3 }} typo3/cms-fluid:^${{ matrix.typo3 }} typo3/cms-frontend:^${{ matrix.typo3 }} typo3/cms-install:^${{ matrix.typo3 }} typo3/cms-dashboard:^${{ matrix.typo3 }} --no-progress
- name: Lint
run: composer test:php:lint
- name: CGL
run: composer cgl
- name: PHPStan
run: php -d memory_limit=-1 vendor/bin/phpstan analyse -c .Build/phpstan.cms${{ matrix.typo3 }}.neon