bumb phpunit version

This commit is contained in:
Robin Appelman 2020-02-10 16:09:11 +01:00
commit 7fc664a327
4 changed files with 4 additions and 5 deletions

View file

@ -2,11 +2,10 @@ dist: trusty
sudo: required sudo: required
language: php language: php
php: php:
- 5.6
- 7.0
- 7.1 - 7.1
- 7.2 - 7.2
- 7.3 - 7.3
- 7.4
addons: addons:
apt: apt:

View file

@ -13,7 +13,7 @@
"icewind/streams": ">=0.2.0" "icewind/streams": ">=0.2.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7", "phpunit/phpunit": "^7.0",
"friendsofphp/php-cs-fixer": "^2.13" "friendsofphp/php-cs-fixer": "^2.13"
}, },
"autoload" : { "autoload" : {

View file

@ -10,7 +10,7 @@ namespace Icewind\SMB\Test;
use Icewind\SMB\IFileInfo; use Icewind\SMB\IFileInfo;
use Icewind\SMB\Wrapped\FileInfo; use Icewind\SMB\Wrapped\FileInfo;
class ParserTest extends \PHPUnit_Framework_TestCase { class ParserTest extends \PHPUnit\Framework\TestCase {
public function modeProvider() { public function modeProvider() {
return [ return [
['D', IFileInfo::MODE_DIRECTORY], ['D', IFileInfo::MODE_DIRECTORY],

View file

@ -7,7 +7,7 @@
namespace Icewind\SMB\Test; namespace Icewind\SMB\Test;
abstract class TestCase extends \PHPUnit_Framework_TestCase { abstract class TestCase extends \PHPUnit\Framework\TestCase {
protected function requireBackendEnv($backend) { protected function requireBackendEnv($backend) {
if (getenv('BACKEND') and getenv('BACKEND') !== $backend) { if (getenv('BACKEND') and getenv('BACKEND') !== $backend) {
$this->markTestSkipped('Skipping tests for ' . $backend . ' backend'); $this->markTestSkipped('Skipping tests for ' . $backend . ' backend');