update lock clucknut
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 14s
Build, Push and Deploy / build-and-push (push) Successful in 3m14s
Build, Push and Deploy / deploy-staging (push) Successful in 25s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-04-18 20:32:18 +07:00
parent 4554035227
commit dcaf267458
3359 changed files with 153185 additions and 205489 deletions

View File

@@ -5,10 +5,8 @@
use Safe\Exceptions\ReadlineException;
/**
* This function adds a line to the command line history.
*
* @param string $prompt The line to be added in the history.
* @return bool Always returns TRUE.
* @param string $prompt
* @return bool
*
*/
function readline_add_history(string $prompt): bool
@@ -20,20 +18,9 @@ function readline_add_history(string $prompt): bool
/**
* Sets up a readline callback interface then prints
* prompt and immediately returns.
* Calling this function twice without removing the previous
* callback interface will automatically and conveniently overwrite the old
* interface.
*
* The callback feature is useful when combined with
* stream_select as it allows interleaving of IO and
* user input, unlike readline.
*
* @param string $prompt The prompt message.
* @param callable $callback The callback function takes one parameter; the
* user input returned.
* @return bool Always returns TRUE.
* @param string $prompt
* @param callable $callback
* @return bool
*
*/
function readline_callback_handler_install(string $prompt, callable $callback): bool
@@ -45,9 +32,7 @@ function readline_callback_handler_install(string $prompt, callable $callback):
/**
* This function clears the entire command line history.
*
* @return bool Always returns TRUE.
* @return bool
*
*/
function readline_clear_history(): bool
@@ -59,11 +44,7 @@ function readline_clear_history(): bool
/**
* This function registers a completion function. This is the same kind of
* functionality you'd get if you hit your tab key while using Bash.
*
* @param callable $callback You must supply the name of an existing function which accepts a
* partial command line and returns an array of possible matches.
* @param callable $callback
* @throws ReadlineException
*
*/
@@ -78,9 +59,7 @@ function readline_completion_function(callable $callback): void
/**
* This function reads a command history from a file.
*
* @param null|string $filename Path to the filename containing the command history.
* @param null|string $filename
* @throws ReadlineException
*
*/
@@ -99,9 +78,7 @@ function readline_read_history(?string $filename = null): void
/**
* This function writes the command history to a file.
*
* @param null|string $filename Path to the saved file.
* @param null|string $filename
* @throws ReadlineException
*
*/