Skip to content

Commit

Permalink
Merge pull request #44 from LibreSign/bump_dependencies
Browse files Browse the repository at this point in the history
Bump dependencies and update the code to be compatible
  • Loading branch information
vitormattos authored Dec 9, 2023
2 parents 844f912 + 4f4a248 commit 447e324
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 433 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.0' , '8.1', '8.2']
php-versions: ['8.0' , '8.1', '8.2', '8.3']

name: php${{ matrix.php-versions }}

steps:
- name: Checkout app
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-php-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
uses: actions/checkout@v4

- name: Set up php
uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0' , '8.1', '8.2']
php-versions: ['8.0' , '8.1', '8.2', '8.3']

name: Psalm check

steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v4

- name: Set up php
uses: shivammathur/setup-php@master
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
]
},
"require": {
"php": ">=7.4",
"guzzlehttp/guzzle": "^7.5",
"php": ">=8.0",
"guzzlehttp/guzzle": "^7.8",
"phpunit/phpunit": "^9.6",
"behat/behat": "^3.12",
"libresign/behat-builtin-extension": "^0.5.0"
"behat/behat": "^3.13",
"libresign/behat-builtin-extension": "^0.6.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
Expand Down
2 changes: 1 addition & 1 deletion src/NextcloudApiContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function theResponseShouldContainTheInitialStateWithTheFollowingValues(st
}
$base64 = $element->getAttribute('value');
$actual = base64_decode($base64);
$actual = $this->parseText((string) $actual);
$actual = $this->parseText($actual);
$expected = $this->parseText((string) $expected);
if ($this->isJson($expected)) {
Assert::assertJsonStringEqualsJsonString($expected, $actual);
Expand Down
Loading

0 comments on commit 447e324

Please sign in to comment.