Skip to content

Commit 02b8115

Browse files
authored
Enable PHP 8.0 support (2) (#1104)
1 parent 512acb9 commit 02b8115

File tree

2 files changed

+19
-27
lines changed

2 files changed

+19
-27
lines changed

composer.json

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

phpunit.xml.dist

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
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="USE_CACHED_RESPONSES" value="true" />
11-
</php>
12-
13-
<testsuites>
14-
<testsuite name="Geocoder Test Suite">
15-
<directory>./Tests/</directory>
16-
</testsuite>
17-
</testsuites>
18-
19-
<filter>
20-
<whitelist>
21-
<directory>./</directory>
22-
<exclude>
23-
<directory>./Tests</directory>
24-
<directory>./vendor</directory>
25-
</exclude>
26-
</whitelist>
27-
</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="USE_CACHED_RESPONSES" value="true"/>
14+
</php>
15+
<testsuites>
16+
<testsuite name="Geocoder Test Suite">
17+
<directory>./Tests/</directory>
18+
</testsuite>
19+
</testsuites>
2820
</phpunit>

0 commit comments

Comments
 (0)