Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 675590e

Browse filesBrowse files
committed
feature #41282 Bump Symfony 6 to PHP 8 (nicolas-grekas)
This PR was merged into the 6.0 branch. Discussion ---------- Bump Symfony 6 to PHP 8 | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - :tada: Commits ------- afca900 Bump Symfony 6 to PHP 8
2 parents c15d904 + afca900 commit 675590e
Copy full SHA for 675590e

File tree

121 files changed

+146
-194
lines changed
Filter options

Some content is hidden

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

121 files changed

+146
-194
lines changed

‎.appveyor.yml

Copy file name to clipboardExpand all lines: .appveyor.yml
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
build: false
22
clone_depth: 2
33
clone_folder: c:\projects\symfony
4+
image: Visual Studio 2019
45

56
cache:
67
- composer.phar
@@ -17,11 +18,11 @@ init:
1718

1819
install:
1920
- mkdir c:\php && cd c:\php
20-
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.2.5-Win32-VC15-x86.zip
21-
- 7z x php-7.2.5-Win32-VC15-x86.zip -y >nul
21+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-8.0.2-Win32-vs16-x86.zip
22+
- 7z x php-8.0.2-Win32-vs16-x86.zip -y >nul
2223
- cd ext
23-
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.17-7.2-ts-vc15-x86.zip
24-
- 7z x php_apcu-5.1.17-7.2-ts-vc15-x86.zip -y >nul
24+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.20-8.0-ts-vs16-x86.zip
25+
- 7z x php_apcu-5.1.20-8.0-ts-vs16-x86.zip -y >nul
2526
- cd ..
2627
- copy /Y php.ini-development php.ini-min
2728
- echo memory_limit=-1 >> php.ini-min

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

Copy file name to clipboardExpand all lines: .github/workflows/intl-data-tests.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
coverage: "none"
4343
extensions: "zip,intl-${{env.SYMFONY_ICU_VERSION}}"
4444
ini-values: "memory_limit=-1"
45-
php-version: "7.4"
45+
php-version: "8.0"
4646

4747
- name: Configure composer
4848
run: |

‎.github/workflows/tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/tests.yml
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
php: ['7.2', '7.4']
18+
php: ['8.0']
1919

2020
services:
2121
postgres:
@@ -216,8 +216,6 @@ jobs:
216216
217217
- name: Install dependencies
218218
run: |
219-
echo "::group::fake PHP version"
220-
composer config platform.php 8.0.99
221219
echo "::group::composer update"
222220
composer update --no-progress --ansi
223221
echo "::endgroup::"

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ addons:
1414

1515
env:
1616
global:
17-
- SYMFONY_VERSION=5.x
18-
- MIN_PHP=7.2.5
17+
- SYMFONY_VERSION=5.4
18+
- MIN_PHP=8.0.2
1919
- SYMFONY_PROCESS_PHP_TEST_BINARY=~/.phpenv/shims/php
2020
- SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1
2121

2222
matrix:
2323
include:
24-
- php: 7.2
25-
env: php_extra="7.3 8.0"
26-
- php: 7.4
24+
- php: 8.0
25+
env: php_extra=""
26+
- php: 8.0
2727
env: deps=high
2828
- php: 8.0
2929
env: deps=low
@@ -219,7 +219,7 @@ install:
219219
- |
220220
# Install symfony/flex
221221
if [[ $deps = low ]]; then
222-
export SYMFONY_REQUIRE='>=3.4'
222+
export SYMFONY_REQUIRE='>=4.4'
223223
else
224224
export SYMFONY_REQUIRE=">=$SYMFONY_VERSION"
225225
fi

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"symfony/translation-implementation": "2.3"
3333
},
3434
"require": {
35-
"php": ">=7.2.5",
35+
"php": ">=8.0.2",
3636
"ext-xml": "*",
3737
"friendsofphp/proxy-manager-lts": "^1.0.2",
3838
"doctrine/event-manager": "~1.0",
@@ -50,8 +50,6 @@
5050
"symfony/polyfill-intl-idn": "^1.10",
5151
"symfony/polyfill-intl-normalizer": "~1.0",
5252
"symfony/polyfill-mbstring": "~1.0",
53-
"symfony/polyfill-php73": "^1.11",
54-
"symfony/polyfill-php80": "^1.15",
5553
"symfony/polyfill-uuid": "^1.15",
5654
"symfony/runtime": "self.version"
5755
},

‎src/Symfony/Bridge/Doctrine/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/composer.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"doctrine/event-manager": "~1.0",
2121
"doctrine/persistence": "^2",
2222
"symfony/deprecation-contracts": "^2.1",
2323
"symfony/polyfill-ctype": "~1.8",
2424
"symfony/polyfill-mbstring": "~1.0",
25-
"symfony/polyfill-php80": "^1.15",
2625
"symfony/service-contracts": "^1.1|^2"
2726
},
2827
"require-dev": {

‎src/Symfony/Bridge/Monolog/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Monolog/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"monolog/monolog": "^1.25.1|^2",
2121
"symfony/service-contracts": "^1.1|^2",
2222
"symfony/http-kernel": "^5.3",

‎src/Symfony/Bridge/ProxyManager/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/ProxyManager/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"composer/package-versions-deprecated": "^1.8",
2121
"friendsofphp/proxy-manager-lts": "^1.0.2",
2222
"symfony/dependency-injection": "^5.0"

‎src/Symfony/Bridge/Twig/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/composer.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
20-
"symfony/polyfill-php80": "^1.15",
19+
"php": ">=8.0.2",
2120
"symfony/translation-contracts": "^1.1|^2",
2221
"twig/twig": "^2.13|^3.0.4"
2322
},

‎src/Symfony/Bundle/DebugBundle/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/DebugBundle/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"ext-xml": "*",
2121
"symfony/http-kernel": "^4.4|^5.0",
2222
"symfony/twig-bridge": "^4.4|^5.0",

‎src/Symfony/Bundle/FrameworkBundle/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/composer.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"ext-xml": "*",
2121
"symfony/cache": "^5.2",
2222
"symfony/config": "^5.3",
@@ -27,7 +27,6 @@
2727
"symfony/http-foundation": "^5.3",
2828
"symfony/http-kernel": "^5.3",
2929
"symfony/polyfill-mbstring": "~1.0",
30-
"symfony/polyfill-php80": "^1.15",
3130
"symfony/filesystem": "^4.4|^5.0",
3231
"symfony/finder": "^4.4|^5.0",
3332
"symfony/routing": "^5.3"

‎src/Symfony/Bundle/SecurityBundle/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/composer.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"ext-xml": "*",
2121
"symfony/config": "^4.4|^5.0",
2222
"symfony/dependency-injection": "^5.3",
@@ -25,7 +25,6 @@
2525
"symfony/http-kernel": "^5.3",
2626
"symfony/http-foundation": "^5.3",
2727
"symfony/password-hasher": "^5.3",
28-
"symfony/polyfill-php80": "^1.15",
2928
"symfony/security-core": "^5.3",
3029
"symfony/security-csrf": "^4.4|^5.0",
3130
"symfony/security-guard": "^5.3",

‎src/Symfony/Bundle/TwigBundle/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/config": "^4.4|^5.0",
2121
"symfony/twig-bridge": "^5.3",
2222
"symfony/http-foundation": "^4.4|^5.0",

‎src/Symfony/Bundle/WebProfilerBundle/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/config": "^4.4|^5.0",
2121
"symfony/framework-bundle": "^5.3",
2222
"symfony/http-kernel": "^5.3",

‎src/Symfony/Component/Asset/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Asset/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/deprecation-contracts": "^2.1"
2121
},
2222
"suggest": {

‎src/Symfony/Component/BrowserKit/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/BrowserKit/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/dom-crawler": "^4.4|^5.0"
2121
},
2222
"require-dev": {

‎src/Symfony/Component/Cache/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/composer.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@
2121
"symfony/cache-implementation": "1.0|2.0"
2222
},
2323
"require": {
24-
"php": ">=7.2.5",
24+
"php": ">=8.0.2",
2525
"psr/cache": "^1.0|^2.0",
2626
"psr/log": "^1.1",
2727
"symfony/cache-contracts": "^1.1.7|^2",
2828
"symfony/deprecation-contracts": "^2.1",
29-
"symfony/polyfill-php80": "^1.15",
3029
"symfony/service-contracts": "^1.1|^2",
3130
"symfony/var-exporter": "^4.4|^5.0"
3231
},

‎src/Symfony/Component/Config/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Config/composer.json
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/deprecation-contracts": "^2.1",
2121
"symfony/filesystem": "^4.4|^5.0",
22-
"symfony/polyfill-ctype": "~1.8",
23-
"symfony/polyfill-php80": "^1.15"
22+
"symfony/polyfill-ctype": "~1.8"
2423
},
2524
"require-dev": {
2625
"symfony/event-dispatcher": "^4.4|^5.0",

‎src/Symfony/Component/Console/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/composer.json
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/deprecation-contracts": "^2.1",
2121
"symfony/polyfill-mbstring": "~1.0",
22-
"symfony/polyfill-php73": "^1.8",
23-
"symfony/polyfill-php80": "^1.15",
2422
"symfony/service-contracts": "^1.1|^2",
2523
"symfony/string": "^5.1"
2624
},

‎src/Symfony/Component/CssSelector/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/CssSelector/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
],
2222
"require": {
23-
"php": ">=7.2.5"
23+
"php": ">=8.0.2"
2424
},
2525
"autoload": {
2626
"psr-4": { "Symfony\\Component\\CssSelector\\": "" },

‎src/Symfony/Component/DependencyInjection/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/composer.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"psr/container": "^1.1.1",
2121
"symfony/deprecation-contracts": "^2.1",
22-
"symfony/polyfill-php80": "^1.15",
2322
"symfony/service-contracts": "^1.1.6|^2"
2423
},
2524
"require-dev": {

‎src/Symfony/Component/DomCrawler/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/DomCrawler/composer.json
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/deprecation-contracts": "^2.1",
2121
"symfony/polyfill-ctype": "~1.8",
22-
"symfony/polyfill-mbstring": "~1.0",
23-
"symfony/polyfill-php80": "^1.15"
22+
"symfony/polyfill-mbstring": "~1.0"
2423
},
2524
"require-dev": {
2625
"symfony/css-selector": "^4.4|^5.0",

‎src/Symfony/Component/Dotenv/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Dotenv/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/deprecation-contracts": "^2.1"
2121
},
2222
"require-dev": {

‎src/Symfony/Component/ErrorHandler/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/ErrorHandler/composer.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"psr/log": "^1.0",
21-
"symfony/polyfill-php80": "^1.15",
2221
"symfony/var-dumper": "^4.4|^5.0"
2322
},
2423
"require-dev": {

‎src/Symfony/Component/EventDispatcher/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/EventDispatcher/composer.json
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/deprecation-contracts": "^2.1",
21-
"symfony/event-dispatcher-contracts": "^2",
22-
"symfony/polyfill-php80": "^1.15"
21+
"symfony/event-dispatcher-contracts": "^2"
2322
},
2423
"require-dev": {
2524
"symfony/dependency-injection": "^4.4|^5.0",

‎src/Symfony/Component/ExpressionLanguage/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/ExpressionLanguage/composer.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/cache": "^4.4|^5.0",
21-
"symfony/polyfill-php80": "^1.15",
2221
"symfony/service-contracts": "^1.1|^2"
2322
},
2423
"autoload": {

‎src/Symfony/Component/Filesystem/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Filesystem/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/polyfill-ctype": "~1.8"
2121
},
2222
"autoload": {

‎src/Symfony/Component/Finder/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Finder/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5"
19+
"php": ">=8.0.2"
2020
},
2121
"autoload": {
2222
"psr-4": { "Symfony\\Component\\Finder\\": "" },

‎src/Symfony/Component/Form/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/composer.json
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2.5",
19+
"php": ">=8.0.2",
2020
"symfony/deprecation-contracts": "^2.1",
2121
"symfony/event-dispatcher": "^4.4|^5.0",
2222
"symfony/options-resolver": "^5.1",
2323
"symfony/polyfill-ctype": "~1.8",
2424
"symfony/polyfill-intl-icu": "^1.21",
2525
"symfony/polyfill-mbstring": "~1.0",
26-
"symfony/polyfill-php80": "^1.15",
2726
"symfony/property-access": "^5.0.8",
2827
"symfony/service-contracts": "^1.1|^2"
2928
},

‎src/Symfony/Component/HttpClient/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpClient/composer.json
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@
2121
"symfony/http-client-implementation": "2.4"
2222
},
2323
"require": {
24-
"php": ">=7.2.5",
24+
"php": ">=8.0.2",
2525
"psr/log": "^1.0",
2626
"symfony/deprecation-contracts": "^2.1",
2727
"symfony/http-client-contracts": "^2.4",
28-
"symfony/polyfill-php73": "^1.11",
29-
"symfony/polyfill-php80": "^1.15",
3028
"symfony/service-contracts": "^1.0|^2"
3129
},
3230
"require-dev": {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.