Documentation

PhpUnitDedicateAssertInternalTypeFixer extends AbstractPhpUnitFixer
in package
implements ConfigurationDefinitionFixerInterface

Tags
author

Filippo Tessarotto zoeslam@gmail.com

Interfaces, Classes and Traits

ConfigurationDefinitionFixerInterface

Table of Contents

$typeToDedicatedAssertMap  : array<string|int, mixed>
getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isRisky()  : mixed
{@inheritdoc}
applyPhpUnitClassFix()  : mixed
{@inheritdoc}
createConfigurationDefinition()  : mixed
{@inheritdoc}

Properties

$typeToDedicatedAssertMap

private array<string|int, mixed> $typeToDedicatedAssertMap = ['array' => 'assertIsArray', 'boolean' => 'assertIsBool', 'bool' => 'assertIsBool', 'double' => 'assertIsFloat', 'float' => 'assertIsFloat', 'integer' => 'assertIsInt', 'int' => 'assertIsInt', 'null' => 'assertNull', 'numeric' => 'assertIsNumeric', 'object' => 'assertIsObject', 'real' => 'assertIsFloat', 'resource' => 'assertIsResource', 'string' => 'assertIsString', 'scalar' => 'assertIsScalar', 'callable' => 'assertIsCallable', 'iterable' => 'assertIsIterable']

Methods

applyPhpUnitClassFix()

{@inheritdoc}

protected applyPhpUnitClassFix(Tokens $tokens, mixed $startIndex, mixed $endIndex) : mixed
Parameters
$tokens : Tokens
$startIndex : mixed
$endIndex : mixed
Return values
mixed

Search results