mirror of
https://github.com/Intervention/image.git
synced 2025-01-16 19:58:14 +01:00
Bumps the PHPUnit version to support PHP 7.4 and fixes test
This commit is contained in:
parent
d435098e6e
commit
f9a78a2ea4
@ -17,7 +17,7 @@
|
||||
"guzzlehttp/psr7": "~1.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8 || ^5.7",
|
||||
"phpunit/phpunit": "^4.8 || ^5.7 || ^7.5.15",
|
||||
"mockery/mockery": "~0.9.2"
|
||||
},
|
||||
"suggest": {
|
||||
|
@ -19,7 +19,7 @@ class FileTest extends TestCase
|
||||
public function testBasePath()
|
||||
{
|
||||
$file = new File;
|
||||
$this->assertNull(null, $file->basePath());
|
||||
$this->assertNull(null, $file->basePath() ?: '');
|
||||
|
||||
$file->dirname = 'foo';
|
||||
$file->basename = 'bar';
|
||||
|
Loading…
x
Reference in New Issue
Block a user