Skip to content

Commit 8067d2c

Browse files
Require hhvm 4.102 or greater
1 parent 2bd0eb6 commit 8067d2c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+346
-120
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
matrix:
1515
os: [ ubuntu ]
1616
hhvm:
17-
- '4.73'
17+
- '4.102'
18+
- '4.128'
1819
- latest
1920
- nightly
2021
runs-on: ${{matrix.os}}-latest
@@ -25,3 +26,4 @@ jobs:
2526
- uses: hhvm/actions/hack-lint-test@master
2627
with:
2728
hhvm: ${{matrix.hhvm}}
29+
skip_lint: ${{ matrix.hhvm != 'latest' }}

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
"description": "HTML elements for sgml-stream in the root namespace.",
44
"license": "MIT",
55
"require": {
6-
"hhvm": "^4.73",
7-
"hhvm/hsl": "^4.41",
8-
"hershel-theodore-layton/sgml-stream": "^0.5"
6+
"hhvm": "^4.102",
7+
"hershel-theodore-layton/sgml-stream": "^0.6"
98
},
109
"require-dev": {
1110
"hhvm/hhvm-autoload": "^3.2",
12-
"hhvm/hhast": "^4.64",
13-
"hhvm/hacktest": "^2.2",
14-
"facebook/fbexpect": "^2.7"
11+
"hhvm/hhast": "^4.102",
12+
"hhvm/hacktest": "^2.3",
13+
"facebook/fbexpect": "^2.8"
1514
},
1615
"scripts": {
1716
"post-install-cmd": [

hhast-lint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"builtinLinters": "all",
77
"extraLinters": [
88
"Facebook\\HHAST\\NoEmptyStatementsLinter",
9-
"Facebook\\HHAST\\FinalOrAbstractClassLinter"
9+
"Facebook\\HHAST\\FinalOrAbstractClassLinter",
10+
"Facebook\\HHAST\\HHClientLinter"
1011
],
1112
"overrides": [
1213
{

src/tags/a/a.hack

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<84338f519b1cfe7464ff71a2c08254d5>>
5+
* @generated SignedSource<<80fbed3f255c0474c75293f41c093145>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -12,6 +12,8 @@ use namespace HTL\SGMLStream;
1212
final xhp class a extends HTMLElementBase {
1313

1414
use SGMLStream\ElementWithOpenAndCloseTags;
15+
16+
const string TAG_NAME = 'a';
1517
attribute
1618
/**
1719
* @see https://html.spec.whatwg.org/multipage/#attr-hyperlink-download

src/tags/a/abbr.hack

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<f71dafad45cbab09eb5bd7afb7d1bd3d>>
5+
* @generated SignedSource<<fc2ad655386cca1927cc61d94e269298>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -13,5 +13,7 @@ final xhp class abbr extends HTMLElementBase {
1313

1414
use SGMLStream\ElementWithOpenAndCloseTags;
1515

16+
const string TAG_NAME = 'abbr';
17+
1618
protected string $tagName = 'abbr';
1719
}

src/tags/a/address.hack

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<5fa06823ecd81139f45d4d0924017bc5>>
5+
* @generated SignedSource<<68a7ba71450e1ca69bb4243537eecd67>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -13,5 +13,7 @@ final xhp class address extends HTMLElementBase {
1313

1414
use SGMLStream\ElementWithOpenAndCloseTags;
1515

16+
const string TAG_NAME = 'address';
17+
1618
protected string $tagName = 'address';
1719
}

src/tags/a/area.hack

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<8e7e6d025c3e7ef2d68ce3458c0b61c5>>
5+
* @generated SignedSource<<09ca72384840067a6c6d9fd1e6ffc343>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -12,6 +12,8 @@ use namespace HTL\SGMLStream;
1212
final xhp class area extends HTMLElementBase {
1313

1414
use SGMLStream\ElementWithOpenAndCloseTags;
15+
16+
const string TAG_NAME = 'area';
1517
attribute
1618
/**
1719
* @see https://html.spec.whatwg.org/multipage/#attr-area-alt

src/tags/a/article.hack

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<9a123384f0955b2c74faf58280755cf9>>
5+
* @generated SignedSource<<f0a27fd15776f540063bb6b894e90380>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -13,5 +13,7 @@ final xhp class article extends HTMLElementBase {
1313

1414
use SGMLStream\ElementWithOpenTagOnly;
1515

16+
const string TAG_NAME = 'article';
17+
1618
protected string $tagName = 'article';
1719
}

src/tags/a/aside.hack

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<1b166326b3ee9fc99906bfb08a390ee4>>
5+
* @generated SignedSource<<54a5d470712883cd11b5e2a1b124a973>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -13,5 +13,7 @@ final xhp class aside extends HTMLElementBase {
1313

1414
use SGMLStream\ElementWithOpenAndCloseTags;
1515

16+
const string TAG_NAME = 'aside';
17+
1618
protected string $tagName = 'aside';
1719
}

src/tags/a/audio.hack

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<8a1f1bb3e183c7bf1b2484199accd38b>>
5+
* @generated SignedSource<<6782ebe6ec76f6a3ae474d522ea07cda>>
66
*/
77
use namespace HTL\{SGMLStream, SGMLStreamInterfaces};
88

@@ -12,6 +12,8 @@ use namespace HTL\{SGMLStream, SGMLStreamInterfaces};
1212
final xhp class audio extends HTMLElementBase {
1313

1414
use SGMLStream\ElementWithOpenAndCloseTags;
15+
16+
const string TAG_NAME = 'audio';
1517
attribute
1618
/**
1719
* @see https://html.spec.whatwg.org/multipage/#attr-media-autoplay

0 commit comments

Comments
 (0)