Skip to content

Commit

Permalink
Upgrade tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nonoesp committed Mar 27, 2023
1 parent 428323c commit 666a463
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 22 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: php

php:
- 7.1
- 7.2
- 8.0
- 8.1
- 8.2

before_script:
- travis_retry composer self-update
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"source": "https://github.com/mpociot/versionable"
},
"require": {
"php": ">=7.1.0 || >=7.2.5 || >=8.0 || >=8.1",
"php": ">=7.1.0 || >=7.2.5 || >=8.0 || >=8.1 || >= 8.2",
"illuminate/support": "~5.3 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0"
},
"require-dev": {
Expand Down
30 changes: 11 additions & 19 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="true"
stopOnFailure="true">
<testsuites>
<testsuite name="Versionable Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/Mpociot/</directory>
</whitelist>
</filter>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="true" stopOnFailure="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage>
<include>
<directory suffix=".php">src/Mpociot/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Versionable Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 666a463

Please sign in to comment.