Skip to content

Commit

Permalink
check all version_compare
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Mar 4, 2014
1 parent 192ef6e commit 00fa6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ZendTest/Validator/File/IsImageTest.php
Expand Up @@ -29,7 +29,7 @@ protected function getMagicMime()
}

// Ubuntu has backported the changes in 12.04 to PHP 5.3.10.
if (strpos(PHP_VERSION, 'ubuntu') !== false && version_compare(PHP_VERSION, '5.3.10', '>=')) {
if (strpos(PHP_VERSION, 'ubuntu') !== false) {
return __DIR__ . '/_files/magic.lte.5.3.10.mime';
}

Expand Down

0 comments on commit 00fa6d5

Please sign in to comment.