Files
php-uuid/tests/phpstan-bootstrap.php
T
Martin Hujer ca2629767d Require phpstan and correct issues found up to level 2
* issues found by phpstan L0
* issues found by phpstan L1
* issues found by phpstan L2 in src/
* issues found by phpstan L2 in tests/
2020-01-18 12:13:08 -06:00

32 lines
489 B
PHP

<?php
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);
}