Fix PHPCS
Fix 2 PMD
PIM-3238: Create family interface
Use AttributeInterface