Skip to content

Commit 8e99183

Browse files
authored
Enable PHP 8.0 support (2) (#1104)
1 parent adf1457 commit 8e99183

File tree

2 files changed

+22
-30
lines changed

2 files changed

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

0 commit comments

Comments
 (0)