Skip to content

Commit

Permalink
Automatically regenerate the files
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Nov 18, 2024
1 parent eb514b8 commit 16c0076
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 48 deletions.
2 changes: 0 additions & 2 deletions generated/functionsList.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@
'header_register_callback',
'hex2bin',
'highlight_file',
'highlight_string',
'hrtime',
'ibase_add_user',
'ibase_backup',
Expand Down Expand Up @@ -468,7 +467,6 @@
'libxml_get_last_error',
'libxml_set_external_entity_loader',
'link',
'long2ip',
'lstat',
'lzf_compress',
'lzf_decompress',
Expand Down
23 changes: 0 additions & 23 deletions generated/misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,29 +69,6 @@ function highlight_file(string $filename, bool $return = false)
}


/**
*
*
* @param string $string The PHP code to be highlighted. This should include the opening tag.
* @param bool $return Set this parameter to TRUE to make this function return the
* highlighted code.
* @return string|bool If return is set to TRUE, returns the highlighted
* code as a string instead of printing it out. Otherwise, it will return
* TRUE on success, FALSE on failure.
* @throws MiscException
*
*/
function highlight_string(string $string, bool $return = false)
{
error_clear_last();
$safeResult = \highlight_string($string, $return);
if ($safeResult === false) {
throw MiscException::createFromPhpError();
}
return $safeResult;
}


/**
*
*
Expand Down
21 changes: 0 additions & 21 deletions generated/network.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,27 +430,6 @@ function inet_ntop(string $ip): string
}


/**
* The function long2ip generates an Internet address
* in dotted format (i.e.: aaa.bbb.ccc.ddd) from the long integer
* representation.
*
* @param int $ip A proper address representation in long integer.
* @return string Returns the Internet IP address as a string.
* @throws NetworkException
*
*/
function long2ip(int $ip): string
{
error_clear_last();
$safeResult = \long2ip($ip);
if ($safeResult === false) {
throw NetworkException::createFromPhpError();
}
return $safeResult;
}


/**
* Returns an enumeration of network interfaces (adapters) on the local machine.
*
Expand Down
2 changes: 0 additions & 2 deletions rector-migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@
'header_register_callback' => 'Safe\header_register_callback',
'hex2bin' => 'Safe\hex2bin',
'highlight_file' => 'Safe\highlight_file',
'highlight_string' => 'Safe\highlight_string',
'hrtime' => 'Safe\hrtime',
'ibase_add_user' => 'Safe\ibase_add_user',
'ibase_backup' => 'Safe\ibase_backup',
Expand Down Expand Up @@ -475,7 +474,6 @@
'libxml_get_last_error' => 'Safe\libxml_get_last_error',
'libxml_set_external_entity_loader' => 'Safe\libxml_set_external_entity_loader',
'link' => 'Safe\link',
'long2ip' => 'Safe\long2ip',
'lstat' => 'Safe\lstat',
'lzf_compress' => 'Safe\lzf_compress',
'lzf_decompress' => 'Safe\lzf_decompress',
Expand Down

0 comments on commit 16c0076

Please sign in to comment.