File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 13
13
strategy :
14
14
matrix :
15
15
php-version :
16
+ - ' 8.2'
16
17
- ' 8.1'
17
18
- ' 8.0'
18
19
- ' 7.4'
31
32
- ' 0.8.0'
32
33
33
34
exclude :
35
+ # PHP 8.2 Exclusions
36
+ - php-version : ' 8.2'
37
+ mockery-version : ' 1.3.0'
38
+ - php-version : ' 8.2'
39
+ mockery-version : ' 1.2.0'
40
+ - php-version : ' 8.2'
41
+ mockery-version : ' 1.1.0'
42
+ - php-version : ' 8.2'
43
+ mockery-version : ' 1.0.0'
44
+ - php-version : ' 8.2'
45
+ mockery-version : ' 0.9.0'
46
+ - php-version : ' 8.2'
47
+ mockery-version : ' 0.8.0'
48
+
34
49
# PHP 8.1 Exclusions
35
50
- php-version : ' 8.1'
36
51
mockery-version : ' 1.3.0'
86
101
name : Mockery ${{ matrix.mockery-version }} on PHP ${{ matrix.php-version }}
87
102
steps :
88
103
- name : Checkout
89
- uses : actions/checkout@v2
90
- with :
91
- ref : ${{ github.head_ref }}
104
+ uses : actions/checkout@v3
92
105
93
106
- name : Install PHP
94
107
uses : shivammathur/setup-php@v2
@@ -103,7 +116,7 @@ jobs:
103
116
run : vendor/bin/phpunit
104
117
105
118
- name : Test Flight
106
- if : matrix.php-version != '8.1'
119
+ if : matrix.php-version != '8.1' && matrix.php-version != '8.2'
107
120
run : |
108
121
vendor/bin/test-flight README.md
109
122
vendor/bin/test-flight classes/
Original file line number Diff line number Diff line change 19
19
"require" : {
20
20
"php" : " >=5.6" ,
21
21
"mockery/mockery" : " ^1" ,
22
- "php-mock/php-mock-integration" : " ^2"
22
+ "php-mock/php-mock-integration" : " ^2.2.1 "
23
23
},
24
24
"require-dev" : {
25
25
"phpunit/phpunit" : " ^4|^5|^8"
Original file line number Diff line number Diff line change 2
2
3
3
namespace phpmock \mockery ;
4
4
5
- use phpmock \AbstractMockTest ;
5
+ use phpmock \AbstractMockTestCase ;
6
6
use Mockery ;
7
7
use Mockery \MockInterface ;
8
8
14
14
* @license http://www.wtfpl.net/txt/copying/ WTFPL
15
15
* @see PHPMockery
16
16
*/
17
- class PHPMockeryTest extends AbstractMockTest
17
+ class PHPMockeryTest extends AbstractMockTestCase
18
18
{
19
19
20
20
protected function disableMocks ()
You can’t perform that action at this time.
0 commit comments