cs: Enable risky rule random_api_migration.

This commit is contained in:
Pol Dellaiera
2021-11-30 11:55:02 +01:00
parent 91d12c4a96
commit a43784c3a1
13 changed files with 27 additions and 27 deletions

View File

@@ -78,7 +78,7 @@ class DocGeneratorTemplateController extends AbstractController
$fileContent = fopen($tmpfname2, 'r'); // the generated file content
$genDocName = 'doc_' . sprintf('%010d', rand()) . '.docx';
$genDocName = 'doc_' . sprintf('%010d', mt_rand()) . '.docx';
$getUrlGen = $tempUrlGenerator->generate(
'PUT',