Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Project PHP 8 ready #540

Merged
merged 1 commit into from
Jan 12, 2024
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
10 changes: 3 additions & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,14 @@ jobs:
unit-tests:
runs-on: ubuntu-22.04
name: PHPUnit
strategy:
fail-fast: false
matrix:
php-versions: ['7.4', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
php-version: '8.2'
extensions: openssl, sodium
coverage: xdebug
tools: composer
Expand Down Expand Up @@ -76,7 +72,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.4', '8.2']
php-versions: ['8.0', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -137,7 +133,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.2'
extensions: openssl, sodium, mysql
tools: composer

Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ translations/
###> friends-of-behat/symfony-extension ###
/behat.yml
###< friends-of-behat/symfony-extension ###

###> phpstan/phpstan ###
phpstan.neon
###< phpstan/phpstan ###
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 3.4.1 (UNRELEASED)

* Fix CSP Settings for Sonata Admin
* Make Project PHP 8 ready

# 3.4.0 (2024.01.05)

Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "AGPL-3.0-or-later",
"description": "Web application to (self-) manage email users and encrypt their mailboxes.",
"require": {
"php": "^7.4",
"php": "^8.0",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-openssl": ">=7.1",
Expand Down Expand Up @@ -53,6 +53,7 @@
"friends-of-behat/mink-browserkit-driver": "^1.6",
"friends-of-behat/mink-extension": "^2.7",
"friends-of-behat/symfony-extension": "^2.0",
"rector/rector": "^0.18.13",
"symfony/debug-bundle": "*",
"symfony/phpunit-bridge": "*",
"symfony/stopwatch": "*",
Expand All @@ -68,7 +69,7 @@
},
"sort-packages": true,
"platform": {
"php": "7.4.28"
"php": "8.0.30"
},
"allow-plugins": {
"composer/package-versions-deprecated": true,
Expand Down
Loading
Loading