Fix phpcs and default roles logging