Fixed possible bug in checking PHP syntax in plugins files