Skip to content

Commit 92fd9ba

Browse files
zebraf1Naktibalda
authored andcommitted
Require phpunit 6.5 or greater so we don't need shim.php to set legacy class name aliases which are included in phpunit/php-mock-objects (6.5.0 ~ 7.2.0) or in phpunit/phpunit (since 7.2.0)
1 parent bf8c790 commit 92fd9ba

File tree

5 files changed

+2
-46
lines changed

5 files changed

+2
-46
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 5.6
54
- 7
65
- 7.1
76
- 7.2

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
}
1111
},
1212
"require": {
13-
"codeception/phpunit-wrapper": ">6.0.15 <6.1.0 | ^6.6.1 | ^7.7.1 | ^8.0.3"
13+
"codeception/phpunit-wrapper": "^6.6.1 | ^7.7.1 | ^8.0.3",
14+
"phpunit/phpunit": ">=6.5 <9.0"
1415
}
1516
}

src/Stub.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22
namespace Codeception;
33

4-
require_once __DIR__ . DIRECTORY_SEPARATOR . 'shim.php';
5-
64
use Codeception\Stub\ConsecutiveMap;
75
use Codeception\Stub\StubMarshaler;
86
use PHPUnit\Framework\MockObject\Generator;

src/Stub/Expected.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Codeception\Stub;
44

5-
require_once __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'shim.php';
6-
75
use PHPUnit\Framework\MockObject\Matcher\InvokedAtLeastOnce;
86
use PHPUnit\Framework\MockObject\Matcher\InvokedCount;
97

src/shim.php

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)