PHP Класс alexia\mar\tests\critical

Показать файл Открыть проект

Открытые методы

Метод Описание
_deprecatedFunctions ( $line ) : boolean Functions deprecated and removed.
_duplicateFunctionParameter ( $line ) : boolean Functions can no longer define parameters with the same name more than once.
_newOperatorWithReference ( $line ) : boolean New objects cannot be assigned by reference
_oldClassConstructors ( $line )
_reservedNames ( $line ) : boolean New class names that are reserved for internal PHP classes.
_variableInterpolation ( $line ) : boolean Find cases of "$$variable" that need curly braces added.
getTests ( ) : array Get all tests for this test type.

Описание методов

_deprecatedFunctions() публичный Метод

Functions deprecated and removed.
public _deprecatedFunctions ( $line ) : boolean
Результат boolean Line matches test.

_duplicateFunctionParameter() публичный Метод

Functions can no longer define parameters with the same name more than once.
public _duplicateFunctionParameter ( $line ) : boolean
Результат boolean Line matches test.

_newOperatorWithReference() публичный Метод

New objects cannot be assigned by reference
public _newOperatorWithReference ( $line ) : boolean
Результат boolean Line matches test.

_oldClassConstructors() публичный Метод

public _oldClassConstructors ( $line )

_reservedNames() публичный Метод

New class names that are reserved for internal PHP classes.
public _reservedNames ( $line ) : boolean
Результат boolean Line matches test.

_variableInterpolation() публичный Метод

Find cases of "$$variable" that need curly braces added.
public _variableInterpolation ( $line ) : boolean
Результат boolean Line matches test.

getTests() публичный Метод

Get all tests for this test type.
public getTests ( ) : array
Результат array Tests