mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
0d7b8c2b7a
This also includes heavy use of slevomat/coding-standard to apply various checks to the code, based on maintainer (me) preference.
38 lines
552 B
PHP
38 lines
552 B
PHP
<?php
|
|
|
|
/**
|
|
* PHPStan bootstrap
|
|
*
|
|
* @codingStandardsIgnoreFile
|
|
*/
|
|
|
|
if (!function_exists('uuid_create')) {
|
|
/**
|
|
* @param int $type
|
|
* @return string
|
|
*/
|
|
function uuid_create($type = 0)
|
|
{
|
|
return '';
|
|
}
|
|
}
|
|
|
|
if (!function_exists('uuid_parse')) {
|
|
/**
|
|
* @param string $uuid
|
|
* @return string
|
|
*/
|
|
function uuid_parse($uuid)
|
|
{
|
|
return '';
|
|
}
|
|
}
|
|
|
|
if (!defined('UUID_TYPE_TIME')) {
|
|
define('UUID_TYPE_TIME', 1);
|
|
}
|
|
|
|
if (!defined('UUID_TYPE_RANDOM')) {
|
|
define('UUID_TYPE_RANDOM', 4);
|
|
}
|