Skip to content

Commit e1380cb

Browse files
committed
updated for hhvm4.41
1 parent 0eac0ff commit e1380cb

13 files changed

+21
-20
lines changed

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ services:
44
- docker
55
env:
66
matrix:
7-
- HHVM_VERSION=4.35.0
8-
- HHVM_VERSION=4.36.0
9-
- HHVM_VERSION=4.38.0
10-
- HHVM_VERSION=4.39.0
11-
- HHVM_VERSION=4.40.0
127
- HHVM_VERSION=4.41.0
138
- HHVM_VERSION=4.42.0
149
- HHVM_VERSION=4.43.0
1510
- HHVM_VERSION=4.44.0
11+
- HHVM_VERSION=4.45.0
12+
- HHVM_VERSION=4.46.0
13+
- HHVM_VERSION=4.47.0
14+
- HHVM_VERSION=4.48.0
15+
- HHVM_VERSION=4.49.0
16+
- HHVM_VERSION=4.50.0
1617
- HHVM_VERSION=latest
1718
install:
1819
- docker pull hhvm/hhvm:$HHVM_VERSION

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@
1818
}
1919
],
2020
"require": {
21-
"hhvm": "^4.35",
21+
"hhvm": "^4.41",
2222
"hhvm/hsl": "^4.0",
2323
"hhvm/hsl-experimental": "^4.37",
2424
"hhvm/hhvm-autoload": "^3.0",
25-
"facebook/hack-http-request-response-interfaces": "^0.2",
26-
"nazg/http-server-request-handler": "^0.5"
25+
"facebook/hack-http-request-response-interfaces": "^0.3",
26+
"nazg/http-server-request-handler": "^0.6"
2727
},
2828
"require-dev": {
2929
"hhvm/hacktest": "^2.0",
3030
"facebook/fbexpect": "^2.7",
3131
"hhvm/hhast": "^4.0",
32-
"ytake/hungrr": "^0.9"
32+
"ytake/hungrr": "^0.10"
3333
},
3434
"autoload": {
3535
"psr-4": {

src/AsyncRequestHandleExecutor.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Nazg\HttpExecutor;
1717

1818
use type Facebook\Experimental\Http\Message\ServerRequestInterface;
1919
use type Nazg\Http\Server\AsyncRequestHandlerInterface;
20-
use namespace HH\Lib\Experimental\IO;
20+
use namespace HH\Lib\IO;
2121

2222
class AsyncRequestHandleExecutor {
2323

src/Emitter/EmitterInterface.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
namespace Nazg\HttpExecutor\Emitter;
1717

18-
use type HH\Lib\Experimental\IO\ReadHandle;
18+
use type HH\Lib\IO\ReadHandle;
1919
use type Facebook\Experimental\Http\Message\ResponseInterface;
2020

2121
interface EmitterInterface {

src/Emitter/EmitterStack.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace Nazg\HttpExecutor\Emitter;
1717

1818
use type SplStack;
19-
use type HH\Lib\Experimental\IO\ReadHandle;
19+
use type HH\Lib\IO\ReadHandle;
2020
use type Facebook\Experimental\Http\Message\ResponseInterface;
2121

2222
class EmitterStack extends SplStack<EmitterInterface> implements EmitterInterface {

src/Emitter/SapiEmitter.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
namespace Nazg\HttpExecutor\Emitter;
1717

18-
use type HH\Lib\Experimental\IO\ReadHandle;
18+
use type HH\Lib\IO\ReadHandle;
1919
use type Facebook\Experimental\Http\Message\ResponseInterface;
2020

2121
class SapiEmitter implements EmitterInterface {

src/RequestHandleExecutor.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Nazg\HttpExecutor;
1717

1818
use type Facebook\Experimental\Http\Message\ServerRequestInterface;
1919
use type Nazg\Http\Server\RequestHandlerInterface;
20-
use namespace HH\Lib\Experimental\IO;
20+
use namespace HH\Lib\IO;
2121

2222
class RequestHandleExecutor {
2323

tests/AsyncRequestHandleExecutorTest.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use type Ytake\Hungrr\ServerRequestFactory;
22
use type Nazg\HttpExecutor\AsyncRequestHandleExecutor;
33
use type Nazg\HttpExecutor\Emitter\EmitterStack;
44
use type Facebook\HackTest\HackTest;
5-
use namespace HH\Lib\Experimental\IO;
5+
use namespace HH\Lib\IO;
66

77
use function Facebook\FBExpect\expect;
88
use function ob_start;

tests/EmitterStackTest.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use type Ytake\Hungrr\{Response, StatusCode};
22
use type Ytake\Hungrr\Response\TextResponse;
33
use type Nazg\HttpExecutor\Emitter\{EmitterStack, SapiEmitter};
44
use type Facebook\HackTest\HackTest;
5-
use namespace HH\Lib\Experimental\IO;
5+
use namespace HH\Lib\IO;
66

77
use function Facebook\FBExpect\expect;
88
use function ob_start;

tests/MockAsyncRequestHandler.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use type Facebook\Experimental\Http\Message\{
44
ServerRequestInterface,
55
};
66
use type Ytake\Hungrr\{Response, StatusCode};
7-
use namespace HH\Lib\Experimental\IO;
7+
use namespace HH\Lib\IO;
88
use function json_encode;
99

1010
final class MockAsyncRequestHandler implements AsyncRequestHandlerInterface {

0 commit comments

Comments
 (0)