Code

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