PHP Class alexia\mar\tests\critical

Afficher le fichier Open project: alexia/php7mar

Méthodes publiques

Méthode Description
_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.

Method Details

_deprecatedFunctions() public méthode

Functions deprecated and removed.
public _deprecatedFunctions ( $line ) : boolean
Résultat boolean Line matches test.

_duplicateFunctionParameter() public méthode

Functions can no longer define parameters with the same name more than once.
public _duplicateFunctionParameter ( $line ) : boolean
Résultat boolean Line matches test.

_newOperatorWithReference() public méthode

New objects cannot be assigned by reference
public _newOperatorWithReference ( $line ) : boolean
Résultat boolean Line matches test.

_oldClassConstructors() public méthode

public _oldClassConstructors ( $line )

_reservedNames() public méthode

New class names that are reserved for internal PHP classes.
public _reservedNames ( $line ) : boolean
Résultat boolean Line matches test.

_variableInterpolation() public méthode

Find cases of "$$variable" that need curly braces added.
public _variableInterpolation ( $line ) : boolean
Résultat boolean Line matches test.

getTests() public méthode

Get all tests for this test type.
public getTests ( ) : array
Résultat array Tests