fix phpmd errors on composer script