Don't use count() in a loop.
Don't use count() in a loop.

Use do while so the count does not happen in a loop statement. This
makes the code linter happier.

burriko/cakephp,ionas/cakephp,kumamidori/cakephp,justinyost/cakephp,tgr0ss/cakephp,dkarvounaris/cakephp,bravo-kernel/cakephp,khoimt/cakephp-study,tgr0ss/cakephp,tenkoma/cakephp,cakephp-fr/cakephp,bravo-kernel/cakephp,michaelze/cakephp,cakephp/cakephp,kumamidori/cakephp,mvdriel/cakephp,eryw/cakephp,CakeDC/cakephp,berrygoudswaard/cakephp,ndm2/cakephp,ADmad/cakephp,timhoeppner/cakephp,nrother/cakephp,davidyell/cakephp,eryw/cakephp,jerems02/cakephp,gmponos/cakephp,akintoey/cakephp,dakota/cakephp,CVO-Technologies/cakephp,adopico/cakephp,pbaire/cakephp,tenkoma/cakephp,ndm2/cakephp,ADmad/cakephp,CakeDC/cakephp,cakephp/cakephp,eboominathan/cakephp,burriko/cakephp,et304383/passbolt_api,web-player/cakephp,davidyell/cakephp,dkarvounaris/cakephp,dakota/cakephp,jeffblack360/cakephp,khoimt/cakephp-study,Balachan27/cakephp,CVO-Technologies/cakephp,mvdriel/cakephp,justinyost/cakephp,adopico/cakephp,berrygoudswaard/cakephp,et304383/passbolt_api,cakephp-fr/cakephp,thinkingmedia/cakephp,dakota/cakephp,garethellis36/cakephp,Balachan27/cakephp,bravo-kernel/cakephp,ndm2/cakephp,jeffblack360/cakephp,web-player/cakephp,kumamidori/cakephp,tisu2tisu/cakephp,davidyell/cakephp,michaelze/cakephp,thinkingmedia/cakephp,petteyg/cakephp,et304383/passbolt_api,ADmad/cakephp,burriko/cakephp,cakephp/cakephp,tenkoma/cakephp,Balachan27/cakephp,nrother/cakephp,garethellis36/cakephp,web-player/cakephp,ionas/cakephp,tisu2tisu/cakephp,yinhe007/cakephp,HavokInspiration/cakephp,jerems02/cakephp,eboominathan/cakephp,Phillaf/cakephp,HavokInspiration/cakephp,adopico/cakephp,thinkingmedia/cakephp,cakephp/cakephp,berrygoudswaard/cakephp,erikfig/cakephp,et304383/passbolt_api,timhoeppner/cakephp,et304383/passbolt_api,elboletaire/cakephp,justinyost/cakephp,tisu2tisu/cakephp,garethellis36/cakephp,yinhe007/cakephp,dkarvounaris/cakephp,gmponos/cakephp,cakephp-fr/cakephp,jjj117/cakephp,jerems02/cakephp,dakota/cakephp,jjj117/cakephp,mvdriel/cakephp,garethellis36/cakephp,elboletaire/cakephp,CakeDC/cakephp,erikfig/cakephp,Phillaf/cakephp,yinhe007/cakephp,eryw/cakephp,CakeDC/cakephp,petteyg/cakephp,Phillaf/cakephp,CVO-Technologies/cakephp,akintoey/cakephp,pbaire/cakephp,tgr0ss/cakephp,petteyg/cakephp,elboletaire/cakephp,jeffblack360/cakephp,nrother/cakephp,HavokInspiration/cakephp,pbaire/cakephp,akintoey/cakephp,jjj117/cakephp,erikfig/cakephp,ndm2/cakephp,tenkoma/cakephp,timhoeppner/cakephp,mvdriel/cakephp,petteyg/cakephp,ionas/cakephp,gmponos/cakephp,eboominathan/cakephp,ADmad/cakephp,michaelze/cakephp,khoimt/cakephp-study