Skip to content

Commit b6dee2e

Browse files
Merge pull request #67 from Johannestegner/feature/php-84-composer2
PHP 8.4 and composer v2.
2 parents 1be4bcb + 336f32a commit b6dee2e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
php-version: ['8.1', '8.2', '8.3']
16+
php-version: ['8.1', '8.2', '8.3', '8.4']
1717
test-command: ['test']
1818

1919
name: Test PHP ${{ matrix.php-version }}
@@ -23,7 +23,7 @@ jobs:
2323
uses: shivammathur/setup-php@v2
2424
with:
2525
php-version: ${{ matrix.php-version }}
26-
tools: composer:v1
26+
tools: composer:v2
2727
- name: Validate composer.json and composer.lock
2828
run: |
2929
composer --version

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"require": {
3737
"php": ">=8.1",
38-
"psr/clock": "1.0.0"
38+
"psr/clock": "^1.0.0"
3939
},
4040
"require-dev": {
4141
"ext-json": "*",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)