Skip to content

Commit

Permalink
bumb phpunit version
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Feb 10, 2020
1 parent 3c5e45d commit 7fc664a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ dist: trusty
sudo: required
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4

addons:
apt:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"icewind/streams": ">=0.2.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"phpunit/phpunit": "^7.0",
"friendsofphp/php-cs-fixer": "^2.13"
},
"autoload" : {
Expand Down
2 changes: 1 addition & 1 deletion tests/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Icewind\SMB\IFileInfo;
use Icewind\SMB\Wrapped\FileInfo;

class ParserTest extends \PHPUnit_Framework_TestCase {
class ParserTest extends \PHPUnit\Framework\TestCase {
public function modeProvider() {
return [
['D', IFileInfo::MODE_DIRECTORY],
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Icewind\SMB\Test;

abstract class TestCase extends \PHPUnit_Framework_TestCase {
abstract class TestCase extends \PHPUnit\Framework\TestCase {
protected function requireBackendEnv($backend) {
if (getenv('BACKEND') and getenv('BACKEND') !== $backend) {
$this->markTestSkipped('Skipping tests for ' . $backend . ' backend');
Expand Down

0 comments on commit 7fc664a

Please sign in to comment.