8000 PHP CS Fixer: enable `@PHP8x1Migration:risky` by keradus · Pull Request #63198 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
drop random_api_migration, as it's part of PHP8x1Migration:risky
  • Loading branch information
keradus committed Jan 28, 2026
commit 770a0c706d9b72152a5dfde201daeb59980eb5c2
8 changes: 0 additions & 8 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@
],
'declare_strict_types' => false, // part of PHP?x?Migration:risky, awaits https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9384
'php_unit_attributes' => true,
'random_api_migration' => [ // PHP migration awaits
'replacements' => [
'mt_getrandmax' => 'getrandmax',
'mt_rand' => 'random_int',
'mt_srand' => 'srand',
'rand' => 'random_int',
],
],
'void_return' => false, // part of PHP?x?Migration:risky, usage to be concluded
])
->setRuleCustomisationPolicy(new class implements PhpCsFixer\Config\RuleCustomisationPolicyInterface {
Expand Down
0