Skip to content

Commit 67c9acd

Browse files
authored
Merge branch 'symfony:7.4' into add-custom-comparator-to-unique-entity-contraint
2 parents 06a4d6c + 0f1cbf3 commit 67c9acd

File tree

2,013 files changed

+33800
-30406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,013 files changed

+33800
-30406
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
| Q | A
22
| ------------- | ---
3-
| Branch? | 7.4 for features / 6.4, 7.2, or 7.3 for bug fixes
3+
| Branch? | 7.4 for features / 6.4, 7.3 for bug fixes
44
| Bug fix? | yes/no
55
| New feature? | yes/no <!-- if yes, also update src/**/CHANGELOG.md -->
66
| Deprecations? | yes/no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md -->

.github/workflows/callable-fabbot.yml

Lines changed: 0 additions & 247 deletions
This file was deleted.

.github/workflows/fabbot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
jobs:
1010
call-fabbot:
1111
name: Fabbot
12-
uses: ./.github/workflows/callable-fabbot.yml
12+
uses: symfony-tools/fabbot/.github/workflows/fabbot.yml@main
1313
with:
1414
package: Symfony
1515
check_license: true

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ jobs:
251251
git diff --exit-code src/ || (echo '::error::Run "php .github/sync-translations.php" to fix XLIFF files.' && exit 1)
252252
253253
- name: Run tests
254-
run: ./phpunit --group integration -v
254+
run: ./phpunit --group integration
255255
env:
256256
INTEGRATION_FTP_URL: 'ftp://test:test@localhost'
257257
REDIS_HOST: 'localhost:16379'
@@ -267,12 +267,3 @@ jobs:
267267
KAFKA_BROKER: 127.0.0.1:9092
268268
POSTGRES_HOST: localhost
269269
PGBOUNCER_HOST: localhost:6432
270-
271-
#- name: Run HTTP push tests
272-
# if: matrix.php == '8.2'
273-
# run: |
274-
# [ -d .phpunit ] && mv .phpunit .phpunit.bak
275-
# wget -q https://github.com/symfony/binary-utils/releases/download/v0.1/vulcain_0.1.3_Linux_x86_64.tar.gz -O - | tar xz && mv vulcain /usr/local/bin
276-
# docker run --rm -e COMPOSER_ROOT_VERSION -v $(pwd):/app -v $(which composer):/usr/local/bin/composer -v $(which vulcain):/usr/local/bin/vulcain -w /app php:8.1-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push
277-
# sudo rm -rf .phpunit
278-
# [ -d .phpunit.bak ] && mv .phpunit.bak .phpunit

.github/workflows/intl-data-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ jobs:
8585

8686
- name: Run intl-data tests
8787
run: |
88-
./phpunit --group intl-data --exclude-group intl-data-isolate -v
89-
./phpunit --group intl-data --filter testWhenEnvVarNotSet -v
90-
./phpunit --group intl-data --filter testWhenEnvVarSetFalse -v
91-
./phpunit --group intl-data --filter testWhenEnvVarSetTrue -v
88+
./phpunit --group intl-data --exclude-group intl-data-isolate
89+
./phpunit --group intl-data --filter testWhenEnvVarNotSet
90+
./phpunit --group intl-data --filter testWhenEnvVarSetFalse
91+
./phpunit --group intl-data --filter testWhenEnvVarSetTrue
9292
9393
- name: Test intl-data with compressed data
9494
run: |
@@ -100,7 +100,7 @@ jobs:
100100
./phpunit src/Symfony/Component/Intl
101101
102102
- name: Run Emoji tests
103-
run: ./phpunit src/Symfony/Component/Emoji -v
103+
run: ./phpunit src/Symfony/Component/Emoji
104104

105105
- name: Test Emoji with compressed data
106106
run: |

.github/workflows/psalm.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-24.04
2121

2222
env:
23-
php-version: '8.2'
23+
php-version: '8.4'
2424
steps:
2525
- name: Setup PHP
2626
uses: shivammathur/setup-php@v2
@@ -43,17 +43,13 @@ jobs:
4343
([ -d "$COMPOSER_HOME" ] || mkdir "$COMPOSER_HOME") && cp .github/composer-config.json "$COMPOSER_HOME/config.json"
4444
export COMPOSER_ROOT_VERSION=$(grep ' VERSION = ' src/Symfony/Component/HttpKernel/Kernel.php | grep -P -o '[0-9]+\.[0-9]+').x-dev
4545
composer remove --dev --no-update --no-interaction symfony/phpunit-bridge
46-
composer require --no-progress --ansi --no-plugins psalm/phar:@stable phpunit/phpunit:^9.6 php-http/discovery psr/event-dispatcher mongodb/mongodb jetbrains/phpstorm-stubs
46+
composer require --no-progress --ansi --no-plugins psalm/phar:@stable phpunit/phpunit:^11.5 php-http/discovery psr/event-dispatcher mongodb/mongodb jetbrains/phpstorm-stubs
4747
4848
- name: Generate Psalm baseline
4949
run: |
5050
git checkout composer.json
5151
git checkout -m ${{ github.base_ref }}
5252
53-
# @todo intersection types are broken in Psalm
54-
# @see https://github.com/vimeo/psalm/issues/7520
55-
sed -i 's/Uuid&/Uuid|/' src/Symfony/Component/Uid/Factory/TimeBasedUuidFactory.php
56-
sed -i 's/Interface&/Interface|/' src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MigratingSessionHandler.php
5753
./vendor/bin/psalm.phar --set-baseline=.github/psalm/psalm.baseline.xml --no-progress
5854
git checkout -m FETCH_HEAD
5955

0 commit comments

Comments
 (0)