Skip to content

[BUGFIX] Use proper pid's in EXT:news docs code example #653

[BUGFIX] Use proper pid's in EXT:news docs code example

[BUGFIX] Use proper pid's in EXT:news docs code example #653

name: "Backwards Compatibility Check"
on:
pull_request:
branches:
- "**"
push:
branches:
- "main"
jobs:
BC-Breaks:
name: "Check Backwards Compatibility"
runs-on: "ubuntu-latest"
strategy:
matrix:
php-version:
- '8.1'
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "pcov"
php-version: ${{ matrix.php-version }}
ini-values: memory_limit=-1
tools: composer:v2, cs2pr
extensions: curl
- name: "Cache dependencies"
uses: "actions/cache@v4"
with:
path: |
~/.composer/cache
vendor
key: "php-${{ matrix.php-version }}"
restore-keys: "php-${{ matrix.php-version }}"
- name: "Roave Backward Compatibility Check"
run: |
# To ensure compability with the roave tool.
composer remove --dev typo3/testing-framework ssch/typo3-rector symplify/easy-coding-standard typo3/testing-framework
rm -rf .Build composer.lock
composer require --dev roave/backward-compatibility-check:"^8.6"
.Build/bin/roave-backward-compatibility-check