Files
Thomas Vincent 79a9ae0351 build: raise the 1.3 floor to PHP 8.3 (#7939)
* build: raise the 1.3 floor to PHP 8.3

RHEL 10 ships 8.3 in AppStream and dropped modularity, so an 8.4 floor would
put every RHEL, Alma and Rocky 10 install on Remi. Ubuntu 24.04 is 8.3 as
well, which makes it the lowest common denominator of the current LTS fleet.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: raise the documented PHP floor to 8.3

The 1.2.x column keeps 8.1, which still matches that branch's composer constraint.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* ci: run process lock coverage on PHP 8.3

* fix: finish PHP 8.3 floor cleanup

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-09-06 08:44:40 -07:00

80 lines
1.9 KiB
YAML

name: Nightly PHP Heavy Checks
on:
schedule:
- cron: '15 3 * * *'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: nightly-php-${{ github.ref }}
cancel-in-progress: true
env:
COMPOSER_ALLOW_SUPERUSER: 1
jobs:
composer-audit:
name: composer dependency audit
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Setup PHP 8.3
uses: ./.github/actions/setup-php-composer
with:
php-version: '8.3'
extensions: intl, mysql, gd, ldap, gmp, xml, curl, json, mbstring
dependency-mode: nightly-audit
- name: Validate composer files
run: composer validate --strict
- name: Run Composer audit
run: composer audit --locked --no-interaction
# rector-dry-run:
# name: rector dry-run
# runs-on: ubuntu-latest
# timeout-minutes: 30
#
# steps:
# - name: Checkout
# uses: actions/checkout@v7.0.0
#
# - name: Setup PHP 8.4
# uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
# with:
# php-version: '8.4'
# extensions: intl, mysql, gd, ldap, gmp, xml, curl, json, mbstring
#
# - name: Install dependencies
# run: composer install --prefer-dist --no-progress --no-interaction
#
# - name: Run Rector dry-run
# run: include/vendor/bin/rector process --dry-run --ansi
docker-smoke:
name: docker environment smoke
runs-on: ubuntu-24.04
timeout-minutes: 40
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Make docker smoke script executable
run: chmod +x tests/tools/check_docker.sh
- name: Run Docker smoke test
run: tests/tools/check_docker.sh