Skip to content

Commit 904796b

Browse files
committed
Drop the Hoa packages
Nothing reads through them anymore: the shape pipeline walks its own tree, the ignoreErrors validator goes through the parser, and the grammar file and the sixteen patches that kept the abandoned compiler packages alive go away with the requirements. The PHPRegex parser itself ships as php-regex/regex-parser-php74, generated to run on the hosts PHP 7.4-8.0.
1 parent 94c1258 commit 904796b

20 files changed

Lines changed: 82 additions & 1535 deletions

‎composer.json‎

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
"composer/semver": "^3.4",
2323
"fidry/cpu-core-counter": "^1.2",
2424
"guzzlehttp/guzzle": "^7.9",
25-
"hoa/compiler": "3.17.08.08",
26-
"hoa/exception": "^1.0",
27-
"hoa/file": "1.17.07.11",
2825
"jetbrains/phpstorm-stubs": "dev-master#e4f5f6c3de39f3bab3e9f3fca4b8cdb8b061e681",
2926
"nette/bootstrap": "^3.0",
3027
"nette/di": "^3.1.10",
@@ -37,6 +34,7 @@
3734
"ondrejmirtes/better-reflection": "6.73.0.6",
3835
"ondrejmirtes/composer-attribute-collector": "^1.2.0",
3936
"ondrejmirtes/php-merge": "^4.1",
37+
"php-regex/regex-parser-php74": "2.x-dev",
4038
"phpstan/php-8-stubs": "0.4.39",
4139
"phpstan/phpdoc-parser": "2.3.6",
4240
"react/child-process": "^0.7",
@@ -102,36 +100,6 @@
102100
"composer/ca-bundle": [
103101
"patches/cloudflare-ca.patch"
104102
],
105-
"hoa/exception": [
106-
"patches/Idle.patch"
107-
],
108-
"hoa/file": [
109-
"patches/File.patch",
110-
"patches/Read.patch"
111-
],
112-
"hoa/iterator": [
113-
"patches/Buffer.patch",
114-
"patches/Lookahead.patch"
115-
],
116-
"hoa/compiler": [
117-
"patches/HoaException.patch",
118-
"patches/HoaParser.patch",
119-
"patches/Invocation.patch",
120-
"patches/Rule.patch",
121-
"patches/Lexer.patch",
122-
"patches/TreeNode.patch"
123-
],
124-
"hoa/consistency": [
125-
"patches/Consistency.patch",
126-
"patches/Prelude.patch"
127-
],
128-
"hoa/protocol": [
129-
"patches/Node.patch",
130-
"patches/Wrapper.patch"
131-
],
132-
"hoa/stream": [
133-
"patches/Stream.patch"
134-
],
135103
"jetbrains/phpstorm-stubs": [
136104
"patches/ReflectionProperty.patch",
137105
"patches/SessionHandler.patch",
@@ -174,5 +142,10 @@
174142
"prefer-stable": true,
175143
"bin": [
176144
"bin/phpstan"
177-
]
145+
],
146+
"repositories": [{
147+
"name": "phpregex",
148+
"type": "vcs",
149+
"url": "https://github.com/php-regex/regex-parser-php74"
150+
}]
178151
}

0 commit comments

Comments
 (0)