Skip to content

Commit 44deb6b

Browse files
committed
Fix another 8.5 deprecation
1 parent 402cc3f commit 44deb6b

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
],
103103
"hoa/compiler": [
104104
"patches/HoaException.patch",
105+
"patches/HoaParser.patch",
105106
"patches/Invocation.patch",
106107
"patches/Rule.patch",
107108
"patches/Lexer.patch",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

patches/HoaParser.patch

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- Llk/Parser.php 2017-08-08 09:44:07
2+
+++ Llk/Parser.php 2025-09-08 12:20:08
3+
@@ -169,7 +169,7 @@
4+
$this->_trace = [];
5+
$this->_todo = [];
6+
7+
- if (false === array_key_exists($rule, $this->_rules)) {
8+
+ if (false === array_key_exists($rule ?? '', $this->_rules)) {
9+
$rule = $this->getRootRule();
10+
}
11+

0 commit comments

Comments
 (0)