PHP 클래스 alexia\mar\tests\critical

파일 보기 프로젝트 열기: alexia/php7mar

공개 메소드들

메소드 설명
_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