Documentation

RandomApiMigrationFixer extends AbstractFunctionReferenceFixer
in package
implements ConfigurableFixerInterface uses ConfigurableFixerTrait

FinalYes
Tags
author

Vladimir Reznichenko kalessil@gmail.com

implements

ConfigurableFixerInterface<_AutogeneratedInputConfiguration, _AutogeneratedComputedConfiguration>

phpstan-type

_AutogeneratedInputConfiguration array{ replacements?: array<string, string> }

phpstan-type

_AutogeneratedComputedConfiguration array{ replacements: array<string, string> }

Table of Contents

Interfaces

ConfigurableFixerInterface

Properties

$argumentCounts  : array<string, array<int, int>>

Methods

getDefinition()  : FixerDefinitionInterface
Returns the definition of the fixer.
applyFix()  : void
createConfigurationDefinition()  : FixerConfigurationResolverInterface

Properties

$argumentCounts

private static array<string, array<int, int>> $argumentCounts = ['getrandmax' => [0], 'mt_rand' => [1, 2], 'rand' => [0, 2], 'srand' => [0, 1], 'random_int' => [0, 2]]

Methods


        
On this page

Search results