Skip to content

Commit

Permalink
qa: Update workflows, bump deps, run tests on PHP 8.2 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbundyra committed Feb 14, 2023
1 parent 6e497a7 commit 2243fd4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
- "7.4"
- "8.0"
- "8.1"
- "8.2"

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-flight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"require": {
"php": ">=7.2",
"php-mock/php-mock-integration": "^2",
"php-mock/php-mock-integration": "^2.2.1",
"phpspec/prophecy": "^1.12.1"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions tests/PHPProphetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace phpmock\prophecy;

use phpmock\AbstractMockTest;
use phpmock\AbstractMockTestCase;
use Prophecy\Argument;

/**
Expand All @@ -13,7 +13,7 @@
* @license http://www.wtfpl.net/txt/copying/ WTFPL
* @see PHPProphet
*/
final class PHPProphetTest extends AbstractMockTest
final class PHPProphetTest extends AbstractMockTestCase
{
/**
* @var PHPProphet The SUT.
Expand Down

0 comments on commit 2243fd4

Please sign in to comment.