Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use same magic.mime for all Travis PHP versions

  • Loading branch information...
commit 26f497d7ebda955cbb6cf617c189335297ae60dc 1 parent 563df04
@weierophinney weierophinney authored
View
3  tests/Zend/Validator/File/IsCompressedTest.php
@@ -40,8 +40,7 @@ class IsCompressedTest extends \PHPUnit_Framework_TestCase
{
protected function getMagicMime()
{
- $travisVersion = getenv('TRAVIS_PHP_VERSION');
- if ($travisVersion === '5.3') {
+ if (false !== getenv('TRAVIS_PHP_VERSION')) {
return __DIR__ . '/_files/magic.lte.5.3.10.mime';
}
View
3  tests/Zend/Validator/File/IsImageTest.php
@@ -40,8 +40,7 @@ class IsImageTest extends \PHPUnit_Framework_TestCase
{
protected function getMagicMime()
{
- $travisVersion = getenv('TRAVIS_PHP_VERSION');
- if ($travisVersion === '5.3') {
+ if (false !== getenv('TRAVIS_PHP_VERSION')) {
return __DIR__ . '/_files/magic.lte.5.3.10.mime';
}
Please sign in to comment.
Something went wrong with that request. Please try again.