[web-downloads] main: Fix indentation in ListBuildsController

From: Date: Thu, 02 Apr 2026 01:28:15 +0000
Subject: [web-downloads] main: Fix indentation in ListBuildsController
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-33638@lists.php.net to get a copy of this message
Author: Shivam Mathur (shivammathur) Date: 2026-04-02T06:33:39+05:30 Commit: https://github.com/php/web-downloads/commit/994d65969f6d66ff44820a6e2d93007f806f4a2f Raw diff: https://github.com/php/web-downloads/commit/994d65969f6d66ff44820a6e2d93007f806f4a2f.diff Fix indentation in ListBuildsController Changed paths: M src/Http/Controllers/ListBuildsController.php Diff: diff --git a/src/Http/Controllers/ListBuildsController.php b/src/Http/Controllers/ListBuildsController.php index 3be3732..a7c3e1f 100644 --- a/src/Http/Controllers/ListBuildsController.php +++ b/src/Http/Controllers/ListBuildsController.php @@ -36,10 +36,10 @@ private function collectBuilds(string $root): array { $entries = []; - $normalizedRoot = rtrim($root, DIRECTORY_SEPARATOR); + $normalizedRoot = rtrim($root, DIRECTORY_SEPARATOR); - $iterator = new RecursiveIteratorIterator( - new RecursiveDirectoryIterator($normalizedRoot, FilesystemIterator::SKIP_DOTS), + $iterator = new RecursiveIteratorIterator( + new RecursiveDirectoryIterator($normalizedRoot, FilesystemIterator::SKIP_DOTS), RecursiveIteratorIterator::LEAVES_ONLY ); @@ -48,7 +48,7 @@ private function collectBuilds(string $root): array continue; } - $relativePath = substr($fileInfo->getPathname(), strlen($normalizedRoot) + 1); + $relativePath = substr($fileInfo->getPathname(), strlen($normalizedRoot) + 1); $entries[] = [ 'path' => $relativePath,

« previous php.webmaster (#33638) next »