File tree Expand file tree Collapse file tree 7 files changed +4
-32
lines changed
Expand file tree Collapse file tree 7 files changed +4
-32
lines changed Original file line number Diff line number Diff line change 22/.github / export-ignore
33/.gitignore export-ignore
44/phpunit.xml.dist export-ignore
5- /phpunit.xml.legacy export-ignore
65/tests / export-ignore
Original file line number Diff line number Diff line change 1212 matrix :
1313 php :
1414 - 8.1
15- - 8.0
16- - 7.4
17- - 7.3
18- - 7.2
19- - 7.1
2015 steps :
2116 - uses : actions/checkout@v2
2217 - uses : shivammathur/setup-php@v2
2520 coverage : xdebug
2621 - run : composer install
2722 - run : vendor/bin/phpunit --coverage-text
28- if : ${{ matrix.php >= 7.3 }}
29- - run : vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
30- if : ${{ matrix.php < 7.3 }}
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ $ composer require react/async:dev-main
222222See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
223223
224224This project aims to run on any platform and thus does not require any PHP
225- extensions and supports running on PHP 7.1 through current PHP 8 +.
225+ extensions and supports running on PHP 8.1 +.
226226It's * highly recommended to use the latest supported PHP version* for this project.
227227
228228## Tests
Original file line number Diff line number Diff line change 2626 }
2727 ],
2828 "require" : {
29- "php" : " >=7 .1" ,
29+ "php" : " >=8 .1" ,
3030 "react/event-loop" : " ^1.2" ,
3131 "react/promise" : " ^2.8 || ^1.2.1"
3232 },
3333 "require-dev" : {
34- "phpunit/phpunit" : " ^9.3 || ^7.5 "
34+ "phpunit/phpunit" : " ^9.3"
3535 },
3636 "suggest" : {
3737 "react/event-loop" : " You need an event loop for this to make sense."
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
3- <!-- PHPUnit configuration file with new format for PHPUnit 9.3+ -->
43<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
54 xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
65 bootstrap =" vendor/autoload.php"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4848 * @throws \Throwable when the promise is rejected with a `Throwable`
4949 * @throws \UnexpectedValueException when the promise is rejected with an unexpected value (Promise API v1 or v2 only)
5050 */
51- function await (PromiseInterface $ promise )
51+ function await (PromiseInterface $ promise ): mixed
5252{
5353 $ wait = true ;
5454 $ resolved = null ;
You can’t perform that action at this time.
0 commit comments