1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 02:07:37 +01:00
psalm/src/functions.php

13 lines
265 B
PHP
Raw Normal View History

<?php
namespace Psalm;
use Webmozart\PathUtil\Path;
/**
* @deprecated Use {@see Webmozart\PathUtil\Path::isAbsolute}. No longer used by Psalm, going to be removed in Psalm 5
*/
2021-10-04 00:03:06 +02:00
function isAbsolutePath(string $path): bool
{
return Path::isAbsolute($path);
}