PIM-918 : fix phpcs
PIM-918 : refactor attribute option processor