Skip to content

Commit 21bb5c3

Browse files
committed
Update for Amp v3 and ext-fiber
1 parent 99db640 commit 21bb5c3

7 files changed

+167
-317
lines changed

composer.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
"irc": "irc://irc.freenode.org/amphp"
1919
},
2020
"require": {
21-
"php": ">=7.1",
22-
"phpunit/phpunit": "^6 | ^7 | ^8 | ^9"
21+
"php": ">=8",
22+
"ext-json": "*",
23+
"phpunit/phpunit": "^9"
2324
},
2425
"require-dev": {
25-
"amphp/amp": "^2",
26+
"amphp/amp": "^3-dev",
2627
"amphp/php-cs-fixer-config": "dev-master"
2728
},
2829
"autoload": {

phpunit.xml.dist

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.0/phpunit.xsd"
5-
backupGlobals="false"
6-
backupStaticAttributes="false"
7-
bootstrap="vendor/autoload.php"
8-
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
12-
processIsolation="false"
13-
stopOnFailure="false"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
5+
backupGlobals="false"
6+
backupStaticAttributes="false"
7+
bootstrap="vendor/autoload.php"
8+
colors="true"
9+
convertErrorsToExceptions="true"
10+
convertNoticesToExceptions="true"
11+
convertWarningsToExceptions="true"
12+
processIsolation="false"
13+
stopOnFailure="false"
1414
>
1515
<testsuites>
1616
<testsuite name="Main">
@@ -20,9 +20,9 @@
2020
<directory suffix=".phpt">test</directory>
2121
</testsuite>
2222
</testsuites>
23-
<filter>
24-
<whitelist>
23+
<coverage>
24+
<include>
2525
<directory suffix=".php">src</directory>
26-
</whitelist>
27-
</filter>
28-
</phpunit>
26+
</include>
27+
</coverage>
28+
</phpunit>

0 commit comments

Comments
 (0)