Skip to content

Commit 2243fd4

Browse files
qa: Update workflows, bump deps, run tests on PHP 8.2 (#9)
1 parent 6e497a7 commit 2243fd4

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

.github/workflows/coding-standards.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: "Checkout"
15-
uses: "actions/checkout@v2"
15+
uses: "actions/checkout@v3"
1616

1717
- name: "Setup PHP"
1818
uses: "shivammathur/setup-php@v2"

.github/workflows/phpmd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: "Checkout"
15-
uses: "actions/checkout@v2"
15+
uses: "actions/checkout@v3"
1616

1717
- name: "Setup PHP"
1818
uses: "shivammathur/setup-php@v2"

.github/workflows/phpunit.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ jobs:
1818
- "7.4"
1919
- "8.0"
2020
- "8.1"
21+
- "8.2"
2122

2223
steps:
2324
- name: "Checkout"
24-
uses: "actions/checkout@v2"
25+
uses: "actions/checkout@v3"
2526

2627
- name: "Install PHP"
2728
uses: "shivammathur/setup-php@v2"

.github/workflows/test-flight.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: "Checkout"
15-
uses: "actions/checkout@v2"
15+
uses: "actions/checkout@v3"
1616

1717
- name: "Setup PHP"
1818
uses: "shivammathur/setup-php@v2"

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"require": {
2222
"php": ">=7.2",
23-
"php-mock/php-mock-integration": "^2",
23+
"php-mock/php-mock-integration": "^2.2.1",
2424
"phpspec/prophecy": "^1.12.1"
2525
},
2626
"require-dev": {

tests/PHPProphetTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace phpmock\prophecy;
44

5-
use phpmock\AbstractMockTest;
5+
use phpmock\AbstractMockTestCase;
66
use Prophecy\Argument;
77

88
/**
@@ -13,7 +13,7 @@
1313
* @license http://www.wtfpl.net/txt/copying/ WTFPL
1414
* @see PHPProphet
1515
*/
16-
final class PHPProphetTest extends AbstractMockTest
16+
final class PHPProphetTest extends AbstractMockTestCase
1717
{
1818
/**
1919
* @var PHPProphet The SUT.

0 commit comments

Comments
 (0)