Skip to content

Commit 54e6a7b

Browse files
committed
Remove deprecated functionality
1 parent 6ccb261 commit 54e6a7b

5 files changed

Lines changed: 5 additions & 156 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017-2019 amphp
3+
Copyright (c) 2017-2021 amphp (Niklas Keller, Aaron Piotrowski, and contributors)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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-
```

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": [
@@ -14,8 +14,7 @@
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",

src/LoopReset.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/TestCase.php

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)