Skip to content

Commit

Permalink
Merge pull request #3 from cgauge/php-8
Browse files Browse the repository at this point in the history
Support PHP 8 & Laravel 8
  • Loading branch information
deleugpn committed Dec 16, 2020
2 parents 5b82ddb + 2d3821c commit 10e93e0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 26 deletions.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
}
],
"require": {
"php": "^7.3",
"php": ">=7.3",
"ext-gmp": "*",
"ext-json": "*",
"web-token/jwt-checker": "^2.0",
"web-token/jwt-core": "^2.0",
"web-token/jwt-signature": "^2.0",
"web-token/jwt-signature-algorithm-rsa": "^2.0",
"illuminate/contracts": "^7.1"
"illuminate/contracts": "^7.1 || ^8.0"
},
"require-dev": {
"illuminate/cache": "~7.1",
"illuminate/config": "~7.1",
"illuminate/container": "~7.1",
"illuminate/cache": "~7.1 || ^8.0",
"illuminate/config": "~7.1 || ^8.0",
"illuminate/container": "~7.1 || ^8.0",
"phpunit/phpunit": "^9.0",
"doctrine/coding-standard": "^6.0",
"doctrine/coding-standard": "^6.0 || ^8.0",
"phpstan/phpstan": "^0.12.4",
"web-token/jwt-easy": "~2.0"
},
Expand Down
32 changes: 12 additions & 20 deletions phpunit.xml.dist
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="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Unit Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.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">./src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Unit Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 10e93e0

Please sign in to comment.