Skip to content

Commit 9d43e66

Browse files
committed
feature #1169 PHP 8 Prototype (derrabus)
This PR was squashed before being merged into the main branch. Discussion ---------- PHP 8 Prototype I have updated the demo application to showcase the new possibilities with php 8 and Symfony 5.2. These changes are of course too bleeding edge to merge, but you might get a good first impression about how a Symfony app on php 8 might look like. Commits ------- 3352393 PHP 8 Prototype
2 parents 3cc3abc + 3352393 commit 9d43e66

31 files changed

+989
-1344
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
matrix:
30-
php-version: ['7.4']
30+
php-version: ['8.0']
3131

3232
steps:
3333
- name: "Checkout code"

.github/workflows/tests.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,8 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
operating-system: ['ubuntu-latest']
29-
php-version: ['7.3', '7.4', '8.0']
30-
include:
31-
- operating-system: 'macos-latest'
32-
php-version: '8.0'
33-
- operating-system: 'windows-latest'
34-
php-version: '8.0'
28+
operating-system: ['ubuntu-latest', 'windows-latest', 'macos-latest']
29+
php-version: ['8.0']
3530

3631
steps:
3732
- name: "Checkout code"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/public/build/fonts/glyphicons-*
22
/public/build/images/glyphicons-*
33

4+
.php-version
5+
46
###> symfony/framework-bundle ###
57
/.env.local
68
/.env.local.php

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"symfony/polyfill-php73": "*"
1111
},
1212
"require": {
13-
"php": "^7.3 || ^8.0",
13+
"php": ">=8.0.2",
1414
"ext-pdo_sqlite": "*",
1515
"composer/package-versions-deprecated": "^1.8",
1616
"doctrine/dbal": "^3.1",
@@ -57,7 +57,7 @@
5757
},
5858
"config": {
5959
"platform": {
60-
"php": "7.3"
60+
"php": "8.0.3"
6161
},
6262
"preferred-install": {
6363
"*": "dist"

0 commit comments

Comments
 (0)