Skip to content

Commit 0b0f12f

Browse files
committed
updated for HHVM4.0
1 parent 0fe05e8 commit 0b0f12f

File tree

7 files changed

+28
-21
lines changed

7 files changed

+28
-21
lines changed

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
# Auto detect text files and perform LF normalization
22
* text=auto
3+
4+
/.gitattributes export-ignore
5+
/.gitignore export-ignore
6+
/.travis.yml export-ignore
7+
/.travis.sh export-ignore
8+
/composer.lock export-ignore
9+
/tests/ export-ignore
10+
/.hhconfig export-ignore
11+
hhast-lint.json export-ignore

.hhconfig

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
assume_php=false
1+
assume_php = false
22
enable_experimental_tc_features = no_fallback_in_namespaces
3-
safe_array=true
4-
safe_vector_array=true
3+
ignored_paths = [ "vendor/.+/tests/.+" ]
4+
safe_array = true
5+
safe_vector_array = true
6+
disallow_assign_by_ref = false
7+
unsafe_rx = false

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) 2018 Yuuki Takezawa
3+
Copyright (c) 2018-2019 Yuuki Takezawa
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

composer.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@
2020
}
2121
],
2222
"require": {
23-
"hhvm": ">=3.30.0",
24-
"hhvm/hhvm-autoload": "^1.7",
25-
"hhvm/hsl-experimental": "^3.30.0",
26-
"facebook/hack-http-request-response-interfaces": "^0.1"
23+
"hhvm": "^4.0",
24+
"hhvm/hsl": "^4.0",
25+
"hhvm/hsl-experimental": "^4.0",
26+
"hhvm/hhvm-autoload": "^2.0.0",
27+
"facebook/hack-http-request-response-interfaces": "^0.2"
2728
},
2829
"require-dev": {
29-
"hhvm/hhast": "^3.30.0"
30+
"hhvm/hacktest": "^1.4",
31+
"facebook/fbexpect": "^2.5.2",
32+
"hhvm/hhast": "^4.0.0"
3033
},
3134
"autoload": {
3235
"psr-4": {

hhast-lint.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
2-
"roots": [
3-
"src/"
4-
],
5-
"namespaceAliases": {
6-
"HHAST": "Facebook\\HHAST\\Linters"
7-
}
2+
"roots": ["src/", "tests/"],
3+
"builtinLinters": "all"
84
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<?hh // strict
2-
31
/**
42
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
@@ -12,7 +10,7 @@
1210
* This software consists of voluntary contributions made by many individuals
1311
* and is licensed under the MIT license.
1412
*
15-
* Copyright (c) 2018 Yuuki Takezawa
13+
* Copyright (c) 2018-2019 Yuuki Takezawa
1614
*
1715
*/
1816
namespace Nazg\Http\Server;
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<?hh // strict
2-
31
/**
42
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
@@ -12,7 +10,7 @@
1210
* This software consists of voluntary contributions made by many individuals
1311
* and is licensed under the MIT license.
1412
*
15-
* Copyright (c) 2018 Yuuki Takezawa
13+
* Copyright (c) 2018-2019 Yuuki Takezawa
1614
*
1715
*/
1816
namespace Nazg\Http\Server;

0 commit comments

Comments
 (0)