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:
parent
710f91c1e3
commit
470adc47df
6 changed files with 7 additions and 7 deletions
|
@ -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')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue