Skip to content

Commit

Permalink
Drop support for older dependency versions.
Browse files Browse the repository at this point in the history
This will make maintainence easier in the future.
  • Loading branch information
ADmad committed Jan 28, 2024
1 parent abf6d8e commit 4ae877e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ vendor
docs/_site
.php-cs-fixer.cache
.phpunit.result.cache
.phpunit.cache
composer.lock
.history
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
11 changes: 5 additions & 6 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" bootstrap="vendor/autoload.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache">
<testsuites>
<testsuite name="all">
<directory suffix="Test.php">tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<source>
<include>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
</include>
</source>
</phpunit>

0 comments on commit 4ae877e

Please sign in to comment.