make PHP Mess Detector like this code