Use data provider instead of hand-crafted for loops
Use data provider instead of hand-crafted for loops

* reduces scrutinizer complains
* uses PHPUnit functionality

michaelletzgus/nextcloud-server,pmattern/server,bluelml/core,Ardinis/server,IljaN/core,pixelipo/server,xx621998xx/server,IljaN/core,pixelipo/server,lrytz/core,andreas-p/nextcloud-server,pollopolea/core,jbicha/server,sharidas/core,cernbox/core,owncloud/core,Ardinis/server,pixelipo/server,cernbox/core,IljaN/core,endsguy/server,endsguy/server,nextcloud/server,pollopolea/core,pollopolea/core,lrytz/core,nextcloud/server,endsguy/server,owncloud/core,Ardinis/server,whitekiba/server,endsguy/server,pollopolea/core,andreas-p/nextcloud-server,pixelipo/server,michaelletzgus/nextcloud-server,xx621998xx/server,Ardinis/server,jbicha/server,nextcloud/server,pollopolea/core,owncloud/core,whitekiba/server,jbicha/server,IljaN/core,whitekiba/server,IljaN/core,andreas-p/nextcloud-server,pmattern/server,michaelletzgus/nextcloud-server,andreas-p/nextcloud-server,whitekiba/server,lrytz/core,endsguy/server,owncloud/core,bluelml/core,michaelletzgus/nextcloud-server,pmattern/server,bluelml/core,cernbox/core,sharidas/core,pmattern/server,whitekiba/server,cernbox/core,bluelml/core,andreas-p/nextcloud-server,lrytz/core,sharidas/core,sharidas/core,phil-davis/core,xx621998xx/server,xx621998xx/server,bluelml/core,Ardinis/server,pixelipo/server,lrytz/core,xx621998xx/server,nextcloud/server,jbicha/server,cernbox/core,jbicha/server,pmattern/server,owncloud/core,sharidas/core