Skip to content

Commit 9fb21bb

Browse files
committed
Bump php version && fix phpunit config errors
1 parent dbec700 commit 9fb21bb

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
composer.lock
33
vendor
44
!.gitkeep
5-
tests/output
5+
tests/output
6+
.phpunit.cache

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
PHP wrapper for the qpdf library.
44

5+
Currently requires PHP 7.4+ and the `qpfd` library installed (`sudo apt install qpdf`).
6+
57
Basic Examples:
68

79
### Merge

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
}
1111
],
1212
"require": {
13-
"php" : ">=7.2",
13+
"php" : ">=7.4",
1414
"mikehaertl/php-shellcommand": "^1.5.0"
1515
},
1616
"require-dev": {
17-
"phpunit/phpunit": "~8.0||~9.0"
17+
"phpunit/phpunit": "~8.0||~9.0||~10.0"
1818
},
1919
"autoload": {
2020
"psr-4": {

phpunit.xml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
4+
backupGlobals="false"
45
bootstrap="vendor/autoload.php"
56
cacheResult="false"
6-
colors="true">
7-
<testsuites>
8-
<testsuite name="DirectUpload Test Suite">
9-
<directory suffix=".php">./tests/</directory>
10-
</testsuite>
11-
</testsuites>
12-
</phpunit>
7+
colors="true"
8+
cacheDirectory=".phpunit.cache"
9+
backupStaticProperties="false">
10+
<testsuites>
11+
<testsuite name="QPDF Test Suite">
12+
<directory suffix=".php">./tests/</directory>
13+
</testsuite>
14+
</testsuites>
15+
</phpunit>

0 commit comments

Comments
 (0)