Files
php-uuid/tests/phpstan-bootstrap.php
T
Ben Ramsey 0d7b8c2b7a Update coding style to include PSR-12, among other options
This also includes heavy use of slevomat/coding-standard to apply
various checks to the code, based on maintainer (me) preference.
2020-01-18 12:13:55 -06:00

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