Skip to content

Commit

Permalink
Automatically regenerate the files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharhamel committed Feb 8, 2024
1 parent 3a6e43b commit 26eb8ab
Show file tree
Hide file tree
Showing 81 changed files with 1,953 additions and 2,326 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace Safe\Exceptions;

class GmpException extends \ErrorException implements SafeExceptionInterface
class RnpException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
Expand Down
1 change: 1 addition & 0 deletions generated/apache.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,4 @@ function virtual(string $uri): void
throw ApacheException::createFromPhpError();
}
}

1 change: 1 addition & 0 deletions generated/apcu.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ function apcu_sma_info(bool $limited = false): array
}
return $safeResult;
}

18 changes: 0 additions & 18 deletions generated/array.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,3 @@ function array_walk_recursive(&$array, callable $callback, $arg = null): void
}
}


/**
* This function shuffles (randomizes the order of the elements in) an array.
* It uses a pseudo random number generator that is not suitable for
* cryptographic purposes.
*
* @param array $array The array.
* @throws ArrayException
*
*/
function shuffle(array &$array): void
{
error_clear_last();
$safeResult = \shuffle($array);
if ($safeResult === false) {
throw ArrayException::createFromPhpError();
}
}
1 change: 1 addition & 0 deletions generated/bzip2.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,4 @@ function bzwrite($bz, string $data, int $length = null): int
}
return $safeResult;
}

1 change: 1 addition & 0 deletions generated/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ function unixtojd(int $timestamp = null): int
}
return $safeResult;
}

4 changes: 3 additions & 1 deletion generated/classobj.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
*
* @param string $class The original class.
* @param string $alias The alias name for the class.
* @param bool $autoload Whether to autoload if the original class is not found.
* @param bool $autoload Whether to autoload
* if the original class is not found.
* @throws ClassobjException
*
*/
Expand All @@ -23,3 +24,4 @@ function class_alias(string $class, string $alias, bool $autoload = true): void
throw ClassobjException::createFromPhpError();
}
}

1 change: 1 addition & 0 deletions generated/com.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,4 @@ function variant_round($value, int $decimals)
}
return $safeResult;
}

1 change: 1 addition & 0 deletions generated/cubrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -2036,3 +2036,4 @@ function cubrid_set_query_timeout($req_identifier, int $timeout): void
throw CubridException::createFromPhpError();
}
}

0 comments on commit 26eb8ab

Please sign in to comment.