File tree Expand file tree Collapse file tree 4 files changed +15
-19
lines changed Expand file tree Collapse file tree 4 files changed +15
-19
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
PHPUnit :
9
9
name : PHPUnit (PHP ${{ matrix.php }})
10
- runs-on : ubuntu-22 .04
10
+ runs-on : ubuntu-24 .04
11
11
strategy :
12
12
matrix :
13
13
php :
14
+ - 8.4
14
15
- 8.3
15
16
- 8.2
16
17
- 8.1
38
39
39
40
PHPUnit-hhvm :
40
41
name : PHPUnit (HHVM)
41
- runs-on : ubuntu-22 .04
42
+ runs-on : ubuntu-24 .04
42
43
continue-on-error : true
43
44
steps :
44
45
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ composer install
183
183
To run the test suite, go to the project root and run:
184
184
185
185
``` bash
186
- php vendor/bin/phpunit
186
+ vendor/bin/phpunit
187
187
```
188
188
189
189
## License
Original file line number Diff line number Diff line change 10
10
11
11
}
12
12
],
13
- "autoload" : {
14
- "psr-4" : {
15
- "Clue\\ React\\ Multicast\\ " : " src/"
16
- }
17
- },
18
- "autoload-dev" : {
19
- "psr-4" : {
20
- "Clue\\ Tests\\ React\\ Multicast\\ " : " tests/"
21
- }
22
- },
23
13
"require" : {
24
14
"php" : " >=5.3" ,
25
15
"react/datagram" : " ^1.10" ,
31
21
},
32
22
"suggest" : {
33
23
"ext-sockets" : " Requires PHP 5.4+ and the low level socket API for listening on multicast addresses (socket options to send IGMP announcements)"
24
+ },
25
+ "autoload" : {
26
+ "psr-4" : {
27
+ "Clue\\ React\\ Multicast\\ " : " src/"
28
+ }
29
+ },
30
+ "autoload-dev" : {
31
+ "psr-4" : {
32
+ "Clue\\ Tests\\ React\\ Multicast\\ " : " tests/"
33
+ }
34
34
}
35
35
}
Original file line number Diff line number Diff line change @@ -22,12 +22,7 @@ class Factory
22
22
* This value SHOULD NOT be given unless you're sure you want to explicitly use a
23
23
* given event loop instance.
24
24
*
25
- * ```php
26
- * $loop = React\EventLoop\Factory::create();
27
- * $factory = new Factory($loop);
28
- * ```
29
- *
30
- * @param LoopInterface $loop
25
+ * @param ?LoopInterface $loop
31
26
*/
32
27
public function __construct ($ loop = null )
33
28
{
You can’t perform that action at this time.
0 commit comments