Skip to content

Commit 97ba69b

Browse files
authored
Enable PHP 8.0 support (2) (#1104)
1 parent c528637 commit 97ba69b

File tree

2 files changed

+20
-28
lines changed

2 files changed

+20
-28
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"require-dev": {
2323
"geocoder-php/provider-integration-tests": "^1.0",
24-
"php-http/curl-client": "^1.7",
24+
"php-http/curl-client": "^2.2",
2525
"php-http/message": "^1.0",
2626
"phpunit/phpunit": "^9.5"
2727
},

phpunit.xml.dist

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
5-
backupGlobals="false"
6-
colors="true"
7-
bootstrap="vendor/autoload.php"
8-
>
9-
<php>
10-
<server name="IPINFODB_API_KEY" value="YOUR_API_KEY" />
11-
<server name="USE_CACHED_RESPONSES" value="true" />
12-
</php>
13-
14-
<testsuites>
15-
<testsuite name="Geocoder Test Suite">
16-
<directory>./Tests/</directory>
17-
</testsuite>
18-
</testsuites>
19-
20-
<filter>
21-
<whitelist>
22-
<directory>./</directory>
23-
<exclude>
24-
<directory>./Tests</directory>
25-
<directory>./vendor</directory>
26-
</exclude>
27-
</whitelist>
28-
</filter>
2+
<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">
3+
<coverage>
4+
<include>
5+
<directory>./</directory>
6+
</include>
7+
<exclude>
8+
<directory>./Tests</directory>
9+
<directory>./vendor</directory>
10+
</exclude>
11+
</coverage>
12+
<php>
13+
<server name="IPINFODB_API_KEY" value="YOUR_API_KEY"/>
14+
<server name="USE_CACHED_RESPONSES" value="true"/>
15+
</php>
16+
<testsuites>
17+
<testsuite name="Geocoder Test Suite">
18+
<directory>./Tests/</directory>
19+
</testsuite>
20+
</testsuites>
2921
</phpunit>

0 commit comments

Comments
 (0)