Skip to content

Commit

Permalink
declare php 8.x support, update dependency packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sgacode committed Nov 26, 2024
1 parent 427eadd commit 68ec119
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ language: php
php:
- 7.2
- 7.3
- 7.4
- 8.1
- 8.2
- 8.3
- 8.4

before_script:
- composer install
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
}
},
"require": {
"php": "^7.2|^8.0",
"symfony/process": "^3.1|^4.1|^5.0|^6.0",
"php": "^7.2|^7.3|^7.4|^8.0",
"symfony/process": "^3.1|^4.1|^5.0|^6.0|^7.0",
"psr/log": "^1|^2|^3"
},
"require-dev": {
"phpunit/phpunit": "^8.0"
"phpunit/phpunit": "^8.0|^9.0"
}
}
20 changes: 6 additions & 14 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<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">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Application Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
</whitelist>
</filter>
<php>
</php>
</phpunit>
2 changes: 1 addition & 1 deletion tests/ConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function testConvert(LowrapperParameters $parameters, /*string*/ $command
$converterStub->convert($parameters);
}

public function converterProvider()
public static function converterProvider()
{
$command = 'libreoffice --headless --invisible --nocrashreport --nodefault --nofirststartwizard --nologo --norestore ';
return [
Expand Down

0 comments on commit 68ec119

Please sign in to comment.