make it build
mirabilos authored 5 years ago
mirabilos committed 5 years ago
9 | 9 |
- contribute UMEYAGA metadata
|
10 | 10 |
* Update lintian overrides
|
11 | 11 |
* Facultatively switch to Teckids Debian Task Force salsa repo
|
|
12 |
* Fix build with new PHPUnit (Closes: #882913)
|
|
13 |
* Update Homepage, package description
|
12 | 14 |
|
13 | |
-- Thorsten Glaser <tg@mirbsd.de> Sat, 19 May 2018 22:37:17 +0200
|
|
15 |
-- Thorsten Glaser <tg@mirbsd.de> Sat, 19 May 2018 22:58:58 +0200
|
14 | 16 |
|
15 | 17 |
php-react-promise (2.4.1-1) unstable; urgency=medium
|
16 | 18 |
|
4 | 4 |
Uploaders: Thorsten Glaser <tg@mirbsd.de>, Dominik George <natureshadow@debian.org>
|
5 | 5 |
Build-Depends: debhelper (>= 11), phpab, phpunit, pkg-php-tools (>= 1.7~)
|
6 | 6 |
Standards-Version: 4.1.4
|
7 | |
Homepage: https://github.com/reactphp/promise
|
|
7 |
Homepage: https://reactphp.org/promise/
|
8 | 8 |
Vcs-Git: https://salsa.debian.org/tdtf-team/php-react-promise.git
|
9 | 9 |
Vcs-Browser: https://salsa.debian.org/tdtf-team/php-react-promise
|
10 | 10 |
|
|
16 | 16 |
Breaks: ${phpcomposer:Debian-conflict}, ${phpcomposer:Debian-replace}
|
17 | 17 |
Provides: ${phpcomposer:Debian-provide}
|
18 | 18 |
Description: lightweight implementation of CommonJS Promises/A for PHP
|
19 | |
React/Promise provides several useful promise-related concepts, such as
|
20 | |
joining multiple promises and mapping and reducing collections of promises.
|
|
19 |
React/Promise also provides several other useful promise-related
|
|
20 |
concepts, such as joining multiple promises and mapping and reducing
|
|
21 |
collections of promises.
|
|
22 |
It is part of ReactPHP.
|
10 | 10 |
{
|
11 | 11 |
public function expectCallableExactly($amount)
|
12 | 12 |
{
|
13 | |
@@ -40,4 +40,11 @@ class TestCase extends \PHPUnit_Framewor
|
|
13 |
@@ -40,4 +40,12 @@ class TestCase extends \PHPUnit_Framewor
|
14 | 14 |
->getMockBuilder('React\\Promise\Stub\CallableStub')
|
15 | 15 |
->getMock();
|
16 | 16 |
}
|
17 | 17 |
+
|
18 | 18 |
+ /* PHPUnit ist ein Testkäse */
|
19 | |
+ public function setExpectedException($whatever, $str)
|
|
19 |
+ public function setExpectedException($whatever, $str=NULL)
|
20 | 20 |
+ {
|
21 | 21 |
+ $this->expectException($whatever);
|
22 | |
+ $this->expectExceptionMessage($str);
|
|
22 |
+ if ($str !== NULL)
|
|
23 |
+ $this->expectExceptionMessage($str);
|
23 | 24 |
+ }
|
24 | 25 |
}
|
|
0 |
# upstream uses github…
|
|
1 |
php-react-promise source: debian-watch-does-not-check-gpg-signature
|
2 | 2 |
"Bug-Database": "https://github.com/reactphp/promise/issues",
|
3 | 3 |
"Bug-Submit": "https://github.com/reactphp/promise/issues/new",
|
4 | 4 |
"Documentation": "https://github.com/reactphp/promise/tree/2.x#table-of-contents",
|
5 | |
"Name": "Promise",
|
|
5 |
"Name": "React/Promise",
|
6 | 6 |
"Repository": "git@github.com:reactphp/promise.git",
|
7 | 7 |
"Repository-Browse": "https://github.com/reactphp/promise"
|
8 | 8 |
}
|