From 7df22a19f62de7ecdaf30f763c881d3318b7ef95 Mon Sep 17 00:00:00 2001 From: SerafimArts Date: Mon, 15 Apr 2024 01:04:26 +0000 Subject: [PATCH] Actualize php-cs-fixer and simplify rector rules --- src/ParserConfigsTrait.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/ParserConfigsTrait.php b/src/ParserConfigsTrait.php index 7dc26a8..493f5a8 100644 --- a/src/ParserConfigsTrait.php +++ b/src/ParserConfigsTrait.php @@ -62,13 +62,10 @@ trait ParserConfigsTrait */ protected function bootParserConfigsTrait(array $options): void { - $this - ->completeAt($options[Config::CONFIG_EOI] ?? $this->eoi) + $this->completeAt($options[Config::CONFIG_EOI] ?? $this->eoi) ->withBuffer($options[Config::CONFIG_BUFFER] ?? $this->buffer) ->eachStepThrough($options[Config::CONFIG_STEP_REDUCER] ?? null) - ->possibleTokensSearching($options[Config::CONFIG_POSSIBLE_TOKENS_SEARCHING] ?? false) - ->allowTrailingTokens($options[Config::CONFIG_ALLOW_TRAILING_TOKENS] ?? false) - ; + ->allowTrailingTokens($options[Config::CONFIG_ALLOW_TRAILING_TOKENS] ?? false); } /**