Skip to content

Commit

Permalink
Provide both parameters, single param usage is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Feb 21, 2024
1 parent 7b554ec commit c99db0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Galach/Tokenizer/TokenExtractorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function testFullExtractTermTokenThrowsException()
$reflectedProperty = $reflectedClass->getProperty('expressionTypeMap');
$reflectedProperty->setAccessible(true);
$reflectedProperty->setValue(
null,
[
'/(?<lexeme>foobar)/' => Tokenizer::TOKEN_TERM,
]
Expand All @@ -63,6 +64,7 @@ public function testTextExtractTermTokenThrowsException()
$reflectedProperty = $reflectedClass->getProperty('expressionTypeMap');
$reflectedProperty->setAccessible(true);
$reflectedProperty->setValue(
null,
[
'/(?<lexeme>foobar)/' => Tokenizer::TOKEN_TERM,
]
Expand Down

0 comments on commit c99db0b

Please sign in to comment.