1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Switched rand() to mt_rand()

This commit is contained in:
Filippo Tessarotto 2013-01-30 10:44:07 +01:00
parent 710f91c1e3
commit 470adc47df
6 changed files with 7 additions and 7 deletions

View file

@ -31,7 +31,7 @@ class VcsRepositoryTest extends \PHPUnit_Framework_TestCase
protected function initialize()
{
$oldCwd = getcwd();
self::$gitRepo = sys_get_temp_dir() . '/composer-git-'.rand().'/';
self::$gitRepo = sys_get_temp_dir() . '/composer-git-'.mt_rand().'/';
$locator = new ExecutableFinder();
if (!$locator->find('git')) {