1
0
Fork 0

Fix benchmark on case sensitive filesystems

On case insensitive file systems, such as the defaults for Mac OS/Windows, this works, but it doesn't work for ext4, etc.

The folder being checked out is `validation/frameworks/codeigniter`, this searched for `validation/frameworks/CodeIgniter`

```
[submodule "validation/frameworks/codeigniter"]
    path = validation/frameworks/codeigniter
    url = https://github.com/bcit-ci/codeigniter
```
pull/573/head
Tyson Andre 2018-01-01 10:30:30 -08:00 committed by GitHub
parent 20960a8b9f
commit d0bc2cca0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ use RecursiveIteratorIterator;
$totalSize = 0; $totalSize = 0;
$frameworks = ["drupal", "wordpress", "php-language-server", "tolerant-php-parser", "math-php", "symfony", "CodeIgniter", "cakephp"]; $frameworks = ["drupal", "wordpress", "php-language-server", "tolerant-php-parser", "math-php", "symfony", "codeigniter", "cakephp"];
foreach($frameworks as $framework) { foreach($frameworks as $framework) {
$iterator = new RecursiveDirectoryIterator(__DIR__ . "/validation/frameworks/$framework"); $iterator = new RecursiveDirectoryIterator(__DIR__ . "/validation/frameworks/$framework");