Skip to content

Commit 0c9b5dd

Browse files
authored
Merge pull request #27 from sgacode/master
declare php 8.x support, update dependency packages
2 parents 427eadd + 68ec119 commit 0c9b5dd

4 files changed

Lines changed: 15 additions & 18 deletions

File tree

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ language: php
33
php:
44
- 7.2
55
- 7.3
6+
- 7.4
7+
- 8.1
8+
- 8.2
9+
- 8.3
10+
- 8.4
611

712
before_script:
813
- composer install

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
}
1212
},
1313
"require": {
14-
"php": "^7.2|^8.0",
15-
"symfony/process": "^3.1|^4.1|^5.0|^6.0",
14+
"php": "^7.2|^7.3|^7.4|^8.0",
15+
"symfony/process": "^3.1|^4.1|^5.0|^6.0|^7.0",
1616
"psr/log": "^1|^2|^3"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^8.0"
19+
"phpunit/phpunit": "^8.0|^9.0"
2020
}
2121
}

phpunit.xml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="tests/bootstrap.php"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="tests/bootstrap.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage processUncoveredFiles="true">
4+
<include>
5+
<directory suffix=".php">./app</directory>
6+
</include>
7+
</coverage>
118
<testsuites>
129
<testsuite name="Application Test Suite">
1310
<directory suffix="Test.php">./tests</directory>
1411
</testsuite>
1512
</testsuites>
16-
<filter>
17-
<whitelist processUncoveredFilesFromWhitelist="true">
18-
<directory suffix=".php">./app</directory>
19-
</whitelist>
20-
</filter>
2113
<php>
2214
</php>
2315
</phpunit>

tests/ConverterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function testConvert(LowrapperParameters $parameters, /*string*/ $command
5757
$converterStub->convert($parameters);
5858
}
5959

60-
public function converterProvider()
60+
public static function converterProvider()
6161
{
6262
$command = 'libreoffice --headless --invisible --nocrashreport --nodefault --nofirststartwizard --nologo --norestore ';
6363
return [

0 commit comments

Comments
 (0)