Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A PhpEnumType::convertToPHPValue() 0 15 4 4 1 0 0
A PhpEnumTypeTest::enumTypesAreProperlyCustomizedWhenRegistered() 0 11 1 ? 1 0 0
A Type\PhpEnumType::registerEnumType() 0 11 3 3 1 0 0
A WithCastingMethods::castValueIn() 0 1 1 ? 1 0 0
A PhpEnumTypeTest::provideValues() 0 6 1 ? 1 0 0
A PhpEnumTypeTest::convertToPHPValueWithNullReturnsNull() 0 3 1 ? 1 0 0
A PhpEnumType::convertToDatabaseValue() 0 6 3 3 1 0 0
A PhpEnumTypeTest::convertToPHPValueWithCastingMethodProperlyCastsIt() 0 8 1 ? 1 0 0
A WithIntegerValues::castValueIn() 0 1 1 ? 1 0 0
A PhpEnumTypeTest::usingChildCustomEnumTypeRegisteredValueIsCorrect() 0 6 1 ? 1 0 0
A PhpEnumTypeTest::enumTypesAreProperlyRegistered() 0 7 1 ? 1 0 0
A PhpEnumType::registerEnumTypes() 0 3 3 3 1 0 0
A PhpEnumTypeTest::convertToPHPValueWithValidValueReturnsParsedData() 0 7 1 ? 1 0 0
A MyCustomEnumType::getSQLDeclaration() 0 5 1 ? 1 0 0
A PhpEnumTypeTest::convertToDatabaseValueWithCastingMethodProperlyCastsIt() 0 3 1 ? 1 0 0