Optimize sprintf() calls for PHP 8.4

This commit is contained in:
Fabien Potencier
2024-06-21 08:16:55 +02:00
parent ca395348cf
commit b63bde3063
59 changed files with 239 additions and 238 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ final class MacroTokenParser extends AbstractTokenParser
$value = $token->getValue();
if ($value != $name) {
throw new SyntaxError(sprintf('Expected endmacro for macro "%s" (but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSourceContext());
throw new SyntaxError(\sprintf('Expected endmacro for macro "%s" (but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSourceContext());
}
}
$this->parser->popLocalScope();