X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FRandomImageGenerator.php;h=50a59f97e8748b761f8420ce04a7f4b2525c5500;hp=d5c17ee8ba7aedf13b16d6647764b26459bdacf8;hb=767042c3e68adb29513;hpb=1f83b424294a6fd78cb73cf43db3464ca7481774 diff --git a/tests/phpunit/includes/api/RandomImageGenerator.php b/tests/phpunit/includes/api/RandomImageGenerator.php index d5c17ee8ba..50a59f97e8 100644 --- a/tests/phpunit/includes/api/RandomImageGenerator.php +++ b/tests/phpunit/includes/api/RandomImageGenerator.php @@ -87,7 +87,7 @@ class RandomImageGenerator { __DIR__ . '/words.txt' ] as $dictionaryFile ) { - if ( is_file( $dictionaryFile ) and is_readable( $dictionaryFile ) ) { + if ( is_file( $dictionaryFile ) && is_readable( $dictionaryFile ) ) { $this->dictionaryFile = $dictionaryFile; break; }