simplify file type detection, fix phpdoc
simplify file type detection, fix phpdoc

Rheinschafe/gitlist,NeilBryant/gitlist,NeilBryant/gitlist,tassoevan/gitlist,fredericksilva/gitlist,jadwigo/gitlist,klaussilveira/gitlist,jadwigo/gitlist,Halasson-simatupang/gitlist,jannae/gitlist,mhthies/gitlist,garygreen/gitlist,DannyvdSluijs/gitlist,jannae/gitlist,klaussilveira/gitlist,Rheinschafe/gitlist,Halasson-simatupang/gitlist,fredericksilva/gitlist,DannyvdSluijs/gitlist,yeriomin/gitlist,jannae/gitlist,danielgtaylor/gitlist,fredericksilva/gitlist,thedancomplex/gitlist,gencer/gitlist,mhthies/gitlist,thedancomplex/gitlist,hubdotcom/gitlist,hubdotcom/gitlist,yeriomin/gitlist,mhthies/gitlist,gencer/gitlist,NeilBryant/gitlist,garygreen/gitlist,Halasson-simatupang/gitlist,thedancomplex/gitlist,tassoevan/gitlist,garygreen/gitlist,yeriomin/gitlist,jadwigo/gitlist,hubdotcom/gitlist,Rheinschafe/gitlist,DannyvdSluijs/gitlist,tassoevan/gitlist,danielgtaylor/gitlist,gencer/gitlist