Skip to content

Commit

Permalink
Drop PHP 7.4 and PHP 8.0 and PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Jun 1, 2024
1 parent 09768b5 commit 65018f0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ["7.4", "8.0", "8.1", "8.2", "8.3"]
php-version: ["8.2", "8.3"]
os: [ubuntu-latest]
experimental: [false]
include:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
}
},
"require": {
"php": "^7.4 || ^8.0"
"php": "^8.2"
},
"require-dev": {
"phpunit/phpunit": "^9 || ^10 || ^11",
"phpunit/phpunit": "^11",
"phpstan/phpstan": "^1.4",
"wdes/coding-standard": "^3.2"
},
Expand Down
41 changes: 20 additions & 21 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.0/phpunit.xsd"
colors="true"
backupGlobals="false"
bootstrap="vendor/autoload.php"
>

<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>

<logging>
<log type="coverage-html" target="build/coverage/html/"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>

<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.1/phpunit.xsd"
colors="true"
backupGlobals="false"
bootstrap="vendor/autoload.php"
cacheDirectory=".phpunit.result.cache">
<coverage>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/coverage/html/"/>
</report>
</coverage>
<logging/>
<testsuites>
<testsuite name="Unit tests">
<directory suffix=".php">tests/unit/</directory>
<directory suffix=".php">tests/unit/</directory>
</testsuite>
</testsuites>

<source>
<include>
<directory>src</directory>
</include>
</source>
</phpunit>

0 comments on commit 65018f0

Please sign in to comment.