We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd5268a commit 5f1e50bCopy full SHA for 5f1e50b
.php-cs-fixer.dist.php
@@ -28,6 +28,7 @@
28
'php_unit_set_up_tear_down_visibility' => true,
29
'php_unit_test_annotation' => false,
30
'php_unit_test_case_static_method_calls' => true,
31
+ 'random_api_migration' => true,
32
'static_lambda' => true,
33
'ternary_to_null_coalescing' => true,
34
])
tests/Gedmo/Tree/Fixture/User.php
@@ -67,7 +67,7 @@ public function generateString($length = 8)
67
$num = strlen($set);
68
$ret = '';
69
for ($i = 0; $i < $length; ++$i) {
70
- $ret .= $set[rand(0, $num - 1)];
+ $ret .= $set[mt_rand(0, $num - 1)];
71
}
72
73
return $ret;
0 commit comments