1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
  [skip ci] Fix Symfony PHP requirements in community build
This commit is contained in:
Ilija Tovilo
2025-11-18 00:52:28 +01:00
2 changed files with 9 additions and 6 deletions

View File

@@ -38,9 +38,9 @@ on:
skip_laravel:
required: true
type: boolean
skip_symfony:
symfony_version:
required: true
type: boolean
type: string
skip_wordpress:
required: true
type: boolean
@@ -599,9 +599,9 @@ jobs:
exit 1
fi
- name: Test Symfony
if: ${{ !cancelled() && !inputs.skip_symfony }}
if: ${{ !cancelled() && inputs.symfony_version != '' }}
run: |
git clone https://github.com/symfony/symfony.git --depth=1
git clone https://github.com/symfony/symfony.git --depth=1 --branch="${{ inputs.symfony_version }}"
cd symfony
git rev-parse HEAD
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
@@ -635,7 +635,8 @@ jobs:
exit 1
fi
- name: 'Symfony Preloading'
if: ${{ !cancelled() && !inputs.skip_symfony }}
# composer create-project will automatically pick the right Symfony version for us.
if: ${{ !cancelled() && inputs.symfony_version != '' }}
run: |
php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-req=php+
cd symfony_demo

View File

@@ -57,7 +57,9 @@ jobs:
windows_version: '2022'
vs_crt_version: ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) && 'vs17') || 'vs16' }}
skip_laravel: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
skip_symfony: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
symfony_version: ${{ (((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '8.1')
|| ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 2) && '7.4')
|| '' }}
skip_wordpress: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
variation_enable_zend_max_execution_timers: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) || matrix.branch.version[0] >= 9 }}
secrets: inherit