Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/.utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,20 @@ export -f _run_task

install_property_info_for_version() {
local php_version="$1"
local min_stability="$2"
local symfony_version="$2"
local min_stability="$3"

if [ "$php_version" = "8.2" ]; then
if [ "$php_version" = "8.2" ] || [ "$symfony_version" = "6.4.*" ]; then
# Prevent usage of TypeInfo, required to test support of LegacyLivePropMetadata
composer require symfony/property-info:6.4.*
elif [ "$php_version" = "8.3" ] ; then
composer require symfony/property-info:7.1.* symfony/type-info:7.2.*
elif [ "$php_version" = "8.3" ]; then
elif [ "$php_version" = "8.4" ]; then
composer require symfony/property-info:7.2.* symfony/type-info:7.2.*
elif [ "$php_version" = "8.4" ] && [ "$min_stability" = "stable" ]; then
elif [ "$php_version" = "8.5" ] && [ "$min_stability" = "stable" ]; then
composer require symfony/property-info:7.3.* symfony/type-info:7.3.*
elif [ "$php_version" = "8.4" ] && [ "$min_stability" = "dev" ]; then
composer require symfony/property-info:>=7.3 symfony/type-info:>=7.3
elif [ "$php_version" = "8.5" ] && [ "$min_stability" = "dev" ]; then
composer require symfony/property-info:8.0.x-dev symfony/type-info:8.0.x-dev
fi
}
export -f install_property_info_for_version
4 changes: 2 additions & 2 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.1']
php-version: ['8.2']
dependency-version: ['']
symfony-version: ['']
minimum-stability: ['stable']
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: '8.2'
tools: flex

- name: Get composer cache directory
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3', '8.4', '8.5']
php-version: ['8.2', '8.3', '8.4', '8.5']
dependency-version: ['']
symfony-version: ['']
minimum-stability: ['stable']
Expand All @@ -31,10 +31,10 @@ jobs:
- minimum-stability: 'dev'
php-version: '8.5'
# lowest deps
- php-version: '8.1'
- php-version: '8.2'
dependency-version: 'lowest'
# LTS version of Symfony
- php-version: '8.1'
- php-version: '8.2'
symfony-version: '6.4.*'
env:
SYMFONY_REQUIRE: ${{ matrix.symfony-version || '>=5.4' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/toolkit-kits-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: '8.2'

- name: Install composer packages
uses: ramsey/composer-install@v3
Expand Down
28 changes: 15 additions & 13 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3', '8.4', '8.5']
php-version: ['8.2', '8.3', '8.4', '8.5']
dependency-version: ['']
symfony-version: ['']
minimum-stability: ['stable']
Expand All @@ -38,19 +38,21 @@ jobs:
- minimum-stability: 'dev'
php-version: '8.5'
# lowest deps
- php-version: '8.1'
- php-version: '8.2'
dependency-version: 'lowest'
# LTS version of Symfony
- php-version: '8.1'
symfony-version: '6.4.*'
- php-version: '8.1'
symfony-version: '6.4.*'
os: 'windows-latest'
# Explicit Symfony versions
- php-version: '8.1'

# oldest LTS
- php-version: '8.2'
symfony-version: '6.4.*'

# oldest LTS + Windows
- php-version: '8.2'
symfony-version: '6.4.*'
os: 'windows-latest'

- php-version: '8.2'
symfony-version: '7.4.x-dev' # TODO: change to '7.4' when Symfony 7.4 is released

- php-version: '8.5'
symfony-version: '8.0.x-dev' # TODO: change to '8.0' when Symfony 8.0 is released
minimum-stability: 'dev' # TODO: remove when Symfony 8.0 is released
Expand Down Expand Up @@ -79,7 +81,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ matrix.os == 'windows-latest' && 'pdo_sqlite,sqlite3,fileinfo,gd' || '' }}
extensions: ${{ matrix.os == 'windows-latest' && 'pdo_sqlite,sqlite3,fileinfo,gd,zip' || '' }}
tools: flex

- name: Get composer cache directory
Expand Down Expand Up @@ -111,7 +113,7 @@ jobs:
'(cd src/{} \
&& $COMPOSER_MIN_STAB \
&& $COMPOSER_UP \
&& if [ {} = LiveComponent ]; then install_property_info_for_version \"${{ matrix.php-version }}\" \"${{ matrix.minimum-stability }}\"; fi \
&& if [ {} = LiveComponent ]; then install_property_info_for_version \"${{ matrix.php-version }}\" \"${{ matrix.symfony-version }}\" \"${{ matrix.minimum-stability }}\"; fi \
&& $PHPUNIT)'"

- name: Run packages tests (Windows)
Expand All @@ -126,7 +128,7 @@ jobs:
'(cd src/$PACKAGE \
&& $COMPOSER_MIN_STAB \
&& $COMPOSER_UP \
&& if [ "$PACKAGE" = "LiveComponent" ]; then install_property_info_for_version \"${{ matrix.php-version }}\" \"${{ matrix.minimum-stability }}\"; fi \
&& if [ "$PACKAGE" = "LiveComponent" ]; then install_property_info_for_version \"${{ matrix.php-version }}\" \"${{ matrix.symfony-version }}\" \"${{ matrix.minimum-stability }}\"; fi \
&& $PHPUNIT)'; then
FAILED_PACKAGES="$FAILED_PACKAGES $PACKAGE"
fi
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ git remote add upstream [email protected]:symfony/ux.git

To set up the development environment, you need the following tools:

- [PHP](https://www.php.net/downloads.php) 8.1 or higher
- [PHP](https://www.php.net/downloads.php) 8.2 or higher
- [Composer](https://getcomposer.org/download/)
- [Node.js](https://nodejs.org/en/download/package-manager) 22.18 or higher
- [Corepack](https://github.com/nodejs/corepack)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dev"
],
"require-dev": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/filesystem": "^6.4|^7.0",
"symfony/finder": "^6.4|^7.0",
"php-cs-fixer/shim": "^3.62"
Expand Down
1 change: 1 addition & 0 deletions src/Autocomplete/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Autocomplete/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/dependency-injection": "^6.4|^7.0|^8.0",
"symfony/deprecation-contracts": "^2.5|^3",
"symfony/http-foundation": "^6.4|^7.0|^8.0",
Expand Down
1 change: 1 addition & 0 deletions src/Chartjs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Chartjs/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/config": "^6.4|^7.0|^8.0",
"symfony/dependency-injection": "^6.4|^7.0|^8.0",
"symfony/http-kernel": "^6.4|^7.0|^8.0",
Expand Down
1 change: 1 addition & 0 deletions src/Cropperjs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Cropperjs/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"intervention/image": "^2.5",
"symfony/config": "^6.4|^7.0|^8.0",
"symfony/dependency-injection": "^6.4|^7.0|^8.0",
Expand Down
1 change: 1 addition & 0 deletions src/Dropzone/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Dropzone/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/config": "^6.4|^7.0|^8.0",
"symfony/dependency-injection": "^6.4|^7.0|^8.0",
"symfony/form": "^6.4|^7.0|^8.0",
Expand Down
1 change: 1 addition & 0 deletions src/Icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Icons/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/framework-bundle": "^6.4|^7.0|^8.0",
"symfony/twig-bundle": "^6.4|^7.0|^8.0"
},
Expand Down
1 change: 1 addition & 0 deletions src/LiveComponent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/LiveComponent/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/deprecation-contracts": "^2.5|^3.0",
"symfony/property-access": "^6.4|^7.0|^8.0",
"symfony/property-info": "^6.4|^7.0|^8.0",
Expand Down
1 change: 1 addition & 0 deletions src/Map/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Map/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/stimulus-bundle": "^2.18.1"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions src/Map/src/Bridge/Google/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Map/src/Bridge/Google/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/stimulus-bundle": "^2.18.1",
"symfony/ux-map": "^2.19"
},
Expand Down
1 change: 1 addition & 0 deletions src/Map/src/Bridge/Leaflet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Map/src/Bridge/Leaflet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/stimulus-bundle": "^2.18.1",
"symfony/ux-map": "^2.19"
},
Expand Down
1 change: 1 addition & 0 deletions src/Notify/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Notify/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/config": "^6.4|^7.0|^8.0",
"symfony/dependency-injection": "^6.4|^7.0|^8.0",
"symfony/http-kernel": "^6.4|^7.0|^8.0",
Expand Down
1 change: 1 addition & 0 deletions src/React/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/React/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/stimulus-bundle": "^2.9.1"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions src/StimulusBundle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/StimulusBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/config": "^6.4|^7.0|^8.0",
"symfony/dependency-injection": "^6.4|^7.0|^8.0",
"symfony/finder": "^6.4|^7.0|^8.0",
Expand Down
1 change: 1 addition & 0 deletions src/Svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

## 2.30

Expand Down
2 changes: 1 addition & 1 deletion src/Svelte/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/stimulus-bundle": "^2.9.1"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions src/Toolkit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.0.0

- Minimum required Symfony version is now 6.4
- Minimum required PHP version is now 8.2

# 2.29.0

Expand Down
2 changes: 1 addition & 1 deletion src/Toolkit/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.2",
"twig/twig": "^3.0",
"symfony/console": "^6.4|^7.0|^8.0",
"symfony/filesystem": "^6.4|^7.0|^8.0",
Expand Down
Loading
Loading