From 80123f6c6bb5c817248907a11247ad9ec72aff8e Mon Sep 17 00:00:00 2001 From: Oliver Kossin Date: Thu, 18 Jul 2024 19:13:59 +0200 Subject: [PATCH] Update Composer.json and Workflows --- .github/workflows/test-application.yaml | 35 ++++++++++++++++++++++--- Tests/Application/.env | 2 +- composer.json | 6 ++--- 3 files changed, 36 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index d255455d..106ba508 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -19,14 +19,43 @@ jobs: fail-fast: false matrix: include: + - php-version: '7.3' + coverage: false + dependency-versions: 'lowest' + tools: 'composer:v2' + env: + SYMFONY_DEPRECATIONS_HELPER: disabled + + - php-version: '7.4' + coverage: true + dependency-versions: 'highest' + tools: 'composer:v2' + env: + SYMFONY_DEPRECATIONS_HELPER: weak + + - php-version: '8.0' + coverage: false + dependency-versions: 'highest' + tools: 'composer:v2' + env: + SYMFONY_DEPRECATIONS_HELPER: weak + + - php-version: '8.1' + coverage: false + dependency-versions: 'highest' + tools: 'composer:v2' + env: + SYMFONY_DEPRECATIONS_HELPER: weak + - php-version: '8.2' - lint: true + coverage: false dependency-versions: 'highest' tools: 'composer:v2' env: - SYMFONY_DEPRECATIONS_HELPER: disabled + SYMFONY_DEPRECATIONS_HELPER: weak + - php-version: '8.3' - lint: true + coverage: false dependency-versions: 'highest' tools: 'composer:v2' env: diff --git a/Tests/Application/.env b/Tests/Application/.env index b51d3365..c4d02733 100644 --- a/Tests/Application/.env +++ b/Tests/Application/.env @@ -1,2 +1,2 @@ APP_ENV=test -DATABASE_URL=mysql://root@127.0.0.1:3306/su_comment_test +DATABASE_URL="mysql://root:ChangeMe@127.0.0.1:3306/su_myapp?serverVersion=8.0.32&charset=utf8mb4" diff --git a/composer.json b/composer.json index ef849c4a..26bbdd83 100644 --- a/composer.json +++ b/composer.json @@ -4,9 +4,9 @@ "type": "sulu-bundle", "license": "MIT", "require": { - "php": "^8.2 || ^8.3", + "php": "^7.3 || ^8.0", "friendsofsymfony/rest-bundle": "^2.6 || ^3.0", - "sulu/sulu": "^2.5 || ^2.6@dev", + "sulu/sulu": "^2.4 || ^2.5@dev", "symfony/config": "^5.4 || ^6.0 || ^7.0", "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0", "symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0", @@ -26,7 +26,7 @@ "phpstan/phpstan-doctrine": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-symfony": "^1.0", - "phpunit/phpunit": "^8.0 || ^9.0", + "phpunit/phpunit": "^9.6", "symfony/browser-kit": "^5.4 || ^6.0 || ^7.0", "symfony/dotenv": "^5.4 || ^6.0 || ^7.0", "symfony/form": "^5.4 || ^6.0 || ^7.0",