From e0abd32d5ba1e01aa90c5432cbaf22385a1af6d6 Mon Sep 17 00:00:00 2001 From: "tien.xuan.vo" Date: Wed, 27 Mar 2024 15:56:42 +0700 Subject: [PATCH] deps: Update php, symfony, phpunit --- .github/workflows/main.yml | 2 +- .gitignore | 2 +- composer.json | 10 ++++----- phpunit.xml.dist | 44 +++++++++++++++----------------------- 4 files changed, 24 insertions(+), 34 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7fa95b3..5623b5b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['8.0', '8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] dependency-versions: ['lowest', 'highest'] name: PHP ${{ matrix.php-versions }} with ${{ matrix.dependency-versions }} versions of Composer dependencies steps: diff --git a/.gitignore b/.gitignore index 182475c..c719a34 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,6 @@ /.vscode/ /vendor/ /composer.lock -/.phpunit.result.cache +/.phpunit.cache /clover.xml /coveralls-upload.json diff --git a/composer.json b/composer.json index 3351e1d..b9b5a00 100644 --- a/composer.json +++ b/composer.json @@ -3,13 +3,13 @@ "description": "Pact Provider Bundle", "type": "symfony-bundle", "require": { - "php": "^8.0", - "symfony/http-kernel": "^4.4|^5.4|^6.0", - "symfony/dependency-injection": "^4.4|^5.4|^6.0", - "symfony/config": "^4.4|^5.4|^6.0" + "php": "^8.1", + "symfony/http-kernel": "^5.4|^6.0|7.0", + "symfony/dependency-injection": "^5.4|^6.0|7.0", + "symfony/config": "^5.4|^6.0|7.0" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^10.0" }, "license": "MIT", "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 110dd85..d4a72ca 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,30 +1,20 @@ - - - - - tests - - - - - - src - - - - src/Resources - - - - - - + + + + tests + + + + + src + + + src/Resources + + + + +