Documentation

ModeTest extends TestCase
in package

FinalYes

Mode coverage test

Table of Contents

Methods

testGetLengthBitsForVersionBreakpoints()  : void
testGetLengthBitsForVersionInvalidModeException()  : void
testGetLengthBitsForVersionInvalidVersionException()  : void
versionProvider()  : array<string|int, mixed>
version breakpoints for numeric mode

Methods

testGetLengthBitsForVersionBreakpoints()

public testGetLengthBitsForVersionBreakpoints(int $version, int $expected) : void
Parameters
$version : int
$expected : int
Attributes
#[DataProvider]
'versionProvider'

testGetLengthBitsForVersionInvalidModeException()

public testGetLengthBitsForVersionInvalidModeException() : void

testGetLengthBitsForVersionInvalidVersionException()

public testGetLengthBitsForVersionInvalidVersionException() : void

versionProvider()

version breakpoints for numeric mode

public static versionProvider() : array<string|int, mixed>
Tags
phpstan-return

array<int, array{0: int, 1: int}>

Return values
array<string|int, mixed>

        
On this page

Search results