mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
bumb phpunit version
This commit is contained in:
parent
3c5e45dc54
commit
7fc664a327
4 changed files with 4 additions and 5 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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" : {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Icewind\SMB\Test;
|
|||
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],
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue