Skip to content

Commit

Permalink
Merge pull request #38 from bobbrodie/2.0.x
Browse files Browse the repository at this point in the history
SP-995 Update Dependencies
  • Loading branch information
bobbrodie authored Jul 18, 2024
2 parents 37cb378 + 0e4cfb6 commit 75f8c7d
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 46 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ jobs:
php-version: ['8.1', '8.2', '8.3']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: php-actions/composer@v5
with:
php_version: ${{ matrix.php-version }}
args: --ignore-platform-reqs
- uses: php-actions/phpunit@v3
- uses: php-actions/phpunit@v4
with:
configuration: phpunit.xml
php_version: ${{ matrix.php-version }}
php_extensions: bcmath gmp xdebug
version: 10.5.20
version: 10.5.27
env:
XDEBUG_MODE: coverage
phpcs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: php-actions/composer@v5
with:
php_version: 8.1
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"ext-iconv": "*"
},
"require-dev": {
"phpunit/phpunit": "10.5.20"
"phpunit/phpunit": "10.5.27"
},
"suggest": {
"ext-gmp": "Required to use this package with GMP instead of BCMath"
Expand Down
78 changes: 39 additions & 39 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function testInstanceOf(): void
public function testPersist(): void
{
$encryptedFilesystemStorage = $this->createClassObject();
$keyInterface = $this->getMockBuilder(Key::class)->setMockClassName('KeyMock')->getMock();
$keyInterface = $this->getMockBuilder(Key::class)->setMockClassName('KeyMock2')->getMock();
$keyInterface->method('getId')->willReturn(__DIR__ . '/test11.txt');
self::assertFileExists(__DIR__ . '/test11.txt');
self::assertSame(null, $encryptedFilesystemStorage->persist($keyInterface));
Expand Down
2 changes: 1 addition & 1 deletion test/unit/BitPayKeyUtils/Storage/FilesystemStorageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function testInstanceOf(): void
public function testPersist(): void
{
$filesystemStorage = $this->createClassObject();
$keyInterface = $this->getMockBuilder(Key::class)->setMockClassName('KeyMock')->getMock();
$keyInterface = $this->getMockBuilder(Key::class)->setMockClassName('KeyMock1')->getMock();
$keyInterface->method('getId')->willReturn(__DIR__ . '/test1.txt');
self::assertFileExists(__DIR__ . '/test1.txt');
@chmod(__DIR__ . 'test1.txt', 0777);
Expand Down

0 comments on commit 75f8c7d

Please sign in to comment.