Skip to content

Commit

Permalink
Support laravel 8 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
miraries authored Sep 14, 2020
1 parent 5cdc56d commit b74c5b2
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ composer.phar
composer.lock
build
.php_cs.cache
coverage
.idea
.phpunit*
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
}
],
"require": {
"php": ">=7.1",
"php": ">=7.3",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.3",
"illuminate/support": "^5.5|^6.0|^7.0"
"guzzlehttp/guzzle": "^6.3|^7.0",
"illuminate/support": "^7.0|^8.0"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"phpunit/phpunit": "^7.0",
"mockery/mockery": "^0.9",
"orchestra/testbench": "^3.6"
"phpunit/phpunit": "^8.0|^9.0",
"mockery/mockery": "^1.0",
"orchestra/testbench": "^5.0|^6.0"
},
"autoload": {
"psr-4": {
Expand Down
27 changes: 27 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<!-- <php>-->
<!-- <env name="LOG_DISCORD_WEBHOOK_URL" value="https://discordapp.com/api/webhooks/..."/>-->
<!-- </php>-->
</phpunit>

0 comments on commit b74c5b2

Please sign in to comment.