Update php codestyle

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-12-28 13:05:54 +01:00
parent 1eabb3ee2a
commit 7cc9cf26ef
13 changed files with 27 additions and 27 deletions

View File

@@ -389,7 +389,7 @@ trait BasicStructure {
* @BeforeSuite
*/
public static function addFilesToSkeleton() {
for ($i=0; $i<5; $i++) {
for ($i = 0; $i < 5; $i++) {
file_put_contents("../../core/skeleton/" . "textfile" . "$i" . ".txt", "Nextcloud test text file\n");
}
if (!file_exists("../../core/skeleton/FOLDER")) {
@@ -409,7 +409,7 @@ trait BasicStructure {
* @AfterSuite
*/
public static function removeFilesFromSkeleton() {
for ($i=0; $i<5; $i++) {
for ($i = 0; $i < 5; $i++) {
self::removeFile("../../core/skeleton/", "textfile" . "$i" . ".txt");
}
if (is_dir("../../core/skeleton/FOLDER")) {