Skip to content

Commit

Permalink
Enable PHP 8.0 support (2) (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien committed Dec 21, 2020
1 parent c528637 commit 97ba69b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 28 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -21,7 +21,7 @@
},
"require-dev": {
"geocoder-php/provider-integration-tests": "^1.0",
"php-http/curl-client": "^1.7",
"php-http/curl-client": "^2.2",
"php-http/message": "^1.0",
"phpunit/phpunit": "^9.5"
},
Expand Down
46 changes: 19 additions & 27 deletions phpunit.xml.dist
@@ -1,29 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<server name="IPINFODB_API_KEY" value="YOUR_API_KEY" />
<server name="USE_CACHED_RESPONSES" value="true" />
</php>

<testsuites>
<testsuite name="Geocoder Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="vendor/autoload.php">
<coverage>
<include>
<directory>./</directory>
</include>
<exclude>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</coverage>
<php>
<server name="IPINFODB_API_KEY" value="YOUR_API_KEY"/>
<server name="USE_CACHED_RESPONSES" value="true"/>
</php>
<testsuites>
<testsuite name="Geocoder Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 97ba69b

Please sign in to comment.