File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2017-2019 amphp
3+ Copyright (c) 2017-2021 amphp (Niklas Keller, Aaron Piotrowski, and contributors)
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 66
77** Required PHP Version**
88
9- - PHP 7.0 +
9+ - PHP 7.1 +
1010
1111## Installation
1212
@@ -32,26 +32,8 @@ class BarTest extends AsyncTestCase
3232 {
3333 $socket = yield Socket\connect('tcp://localhost:12345');
3434 yield $socket->write('foobar');
35-
35+
3636 $this->assertSame('foobar', yield ByteStream\buffer($socket));
3737 }
3838}
3939```
40-
41- #### Deprecated Functionality
42-
43- This package also provides a PHPUnit ` TestListener ` to reset the global event loop after each test, but this is deprecated.
44-
45- ``` xml
46- <phpunit >
47- <!-- ... -->
48-
49- <!-- DEPRECATED, use AsyncTestCase instead -->
50- <listeners >
51- <!-- DEPRECATED, use AsyncTestCase instead -->
52- <listener class =" Amp\PHPUnit\LoopReset" />
53- </listeners >
54-
55- <!-- ... -->
56- </phpunit >
57- ```
Original file line number Diff line number Diff line change 11{
22 "name" : " amphp/phpunit-util" ,
3- "homepage" : " http ://amphp.org/phpunit-util" ,
3+ "homepage" : " https ://amphp.org/phpunit-util" ,
44 "description" : " Helper package to ease testing with PHPUnit." ,
55 "license" : " MIT" ,
66 "authors" : [
1414 }
1515 ],
1616 "support" : {
17- "issues" : " https://github.com/amphp/phpunit-util/issues" ,
18- "irc" : " irc://irc.freenode.org/amphp"
17+ "issues" : " https://github.com/amphp/phpunit-util/issues"
1918 },
2019 "require" : {
2120 "php" : " >=7.1" ,
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments