updates to fix scrutinizer-ci recommendations