Fix PHPCS
Fix 2 PMD
PIM-3238: Create family interface
PIM-3238: Use FamilyInterface in mapping