File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 "psr-4" : { "React\\ Promise\\ Stream\\ " : " src/" },
1515 "files" : [ " src/functions_include.php" ]
1616 },
17+ "autoload-dev" : {
18+ "psr-4" : { "React\\ Tests\\ Promise\\ Stream\\ " : " tests/" }
19+ },
1720 "require" : {
1821 "php" : " >=5.3" ,
1922 "react/stream" : " ^1.0 || ^0.7 || ^0.6 || ^0.5 || ^0.4 || ^0.3" ,
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
3- <phpunit bootstrap =" tests/bootstrap .php"
3+ <phpunit bootstrap =" vendor/autoload .php"
44 colors =" true"
55 convertErrorsToExceptions =" true"
66 convertNoticesToExceptions =" true"
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace React \Tests \Promise \Stream ;
4+
5+ class CallableStub
6+ {
7+ public function __invoke ()
8+ {
9+ }
10+ }
Original file line number Diff line number Diff line change 22
33namespace React \Tests \Promise \Stream ;
44
5- require_once __DIR__ . '/../vendor/autoload.php ' ;
6-
75class TestCase extends \PHPUnit_Framework_TestCase
86{
97 protected function expectCallableOnce ()
@@ -83,11 +81,3 @@ protected function expectPromiseReject($promise)
8381 return $ promise ;
8482 }
8583}
86-
87- class CallableStub
88- {
89- public function __invoke ()
90- {
91- }
92- }
93-
You can’t perform that action at this time.
0 commit comments