From 4ae877e21c4b10b035c461b96827c769eb47bf72 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 28 Jan 2024 20:56:01 +0530 Subject: [PATCH] Drop support for older dependency versions. This will make maintainence easier in the future. --- .github/workflows/test.yaml | 2 +- .gitignore | 1 + composer.json | 7 +++---- phpunit.xml.dist | 11 +++++------ 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 977a9bc7..ef5e007b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -50,7 +50,7 @@ jobs: - name: PHPUnit run: | if [[ ${{ matrix.php-version }} == '8.3' ]]; then - vendor/bin/phpunit --verbose --coverage-clover=coverage.xml + vendor/bin/phpunit --display-incomplete --display-skipped --coverage-clover=coverage.xml else vendor/bin/phpunit fi diff --git a/.gitignore b/.gitignore index fefeecec..f1c18343 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,6 @@ vendor docs/_site .php-cs-fixer.cache .phpunit.result.cache +.phpunit.cache composer.lock .history diff --git a/composer.json b/composer.json index b99a6ec4..e6d578c9 100644 --- a/composer.json +++ b/composer.json @@ -28,13 +28,12 @@ "require": { "php": "^8.1", "intervention/image": "^3.3", - "league/flysystem": "^2.0|^3.0", + "league/flysystem": "^3.0", "psr/http-message": "^1.0|^2.0" }, "require-dev": { - "mockery/mockery": "^1.3.3", - "phpunit/phpunit": "^8.5|^9.0", - "phpunit/php-token-stream": "^3.1|^4.0", + "mockery/mockery": "^1.6", + "phpunit/phpunit": "^10.5", "friendsofphp/php-cs-fixer": "^3.48" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index aa5ed4c0..b37c0785 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,14 +1,13 @@ - + tests/ - - - + + src/ - - + +