PHP 클래스 Tests\Simple\CodeSmell\Cast

파일 보기 프로젝트 열기: ovr/phpsa

공개 메소드들

메소드 설명
testAssignCastBooleanFalse ( ) : boolean | integer
testCastBooleanFalse ( ) : boolean
testCastBooleanFromEqualStaticCondition ( ) : boolean
testCastBooleanTrue ( ) : boolean
testCastFloatFromBooleanFalse ( ) : float
testCastFloatFromBooleanTrue ( ) : float
testCastFloatFromEmptyString ( ) : float
testCastFloatFromFloat ( ) : float
testCastFloatFromInt ( ) : float
testCastFloatFromString ( ) : float
testCastIntFromBooleanFalse ( ) : integer
testCastIntFromBooleanTrue ( ) : integer
testCastIntFromEmptyString ( ) : integer
testCastIntFromFloat ( ) : integer
testCastIntFromInt ( ) : integer
testCastIntFromString ( ) : integer
testCastStringFromBooleanFalse ( ) : string
testCastStringFromBooleanTrue ( ) : string
testCastStringFromEmptyString ( ) : string
testCastStringFromFloat ( ) : string
testCastStringFromInt ( ) : string
testCastStringFromString ( ) : string
testCastUnsetFromBooleanFalse ( ) : null
testCastUnsetFromBooleanTrue ( ) : null
testCastUnsetFromNull ( ) : null

메소드 상세

testAssignCastBooleanFalse() 공개 메소드

testCastBooleanFalse() 공개 메소드

public testCastBooleanFalse ( ) : boolean
리턴 boolean

testCastBooleanFromEqualStaticCondition() 공개 메소드

testCastBooleanTrue() 공개 메소드

public testCastBooleanTrue ( ) : boolean
리턴 boolean

testCastFloatFromBooleanFalse() 공개 메소드

testCastFloatFromBooleanTrue() 공개 메소드

testCastFloatFromEmptyString() 공개 메소드

testCastFloatFromFloat() 공개 메소드

public testCastFloatFromFloat ( ) : float
리턴 float

testCastFloatFromInt() 공개 메소드

public testCastFloatFromInt ( ) : float
리턴 float

testCastFloatFromString() 공개 메소드

public testCastFloatFromString ( ) : float
리턴 float

testCastIntFromBooleanFalse() 공개 메소드

testCastIntFromBooleanTrue() 공개 메소드

testCastIntFromEmptyString() 공개 메소드

testCastIntFromFloat() 공개 메소드

public testCastIntFromFloat ( ) : integer
리턴 integer

testCastIntFromInt() 공개 메소드

public testCastIntFromInt ( ) : integer
리턴 integer

testCastIntFromString() 공개 메소드

public testCastIntFromString ( ) : integer
리턴 integer

testCastStringFromBooleanFalse() 공개 메소드

testCastStringFromBooleanTrue() 공개 메소드

testCastStringFromEmptyString() 공개 메소드

testCastStringFromFloat() 공개 메소드

public testCastStringFromFloat ( ) : string
리턴 string

testCastStringFromInt() 공개 메소드

public testCastStringFromInt ( ) : string
리턴 string

testCastStringFromString() 공개 메소드

public testCastStringFromString ( ) : string
리턴 string

testCastUnsetFromBooleanFalse() 공개 메소드

testCastUnsetFromBooleanTrue() 공개 메소드

public testCastUnsetFromBooleanTrue ( ) : null
리턴 null

testCastUnsetFromNull() 공개 메소드

public testCastUnsetFromNull ( ) : null
리턴 null