Skip to content

Commit 6746b71

Browse files
committed
upgrade laminas-diactoros to v3
1 parent 330f270 commit 6746b71

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: CI
2-
on: [push, pull_request]
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
37
jobs:
48
run:
59
strategy:
@@ -11,18 +15,23 @@ jobs:
1115
- php: '8.2'
1216
- php: '8.3'
1317
- php: '8.4'
18+
1419
runs-on: ubuntu-latest
1520
steps:
1621
- name: Checkout
1722
uses: actions/checkout@v4
23+
1824
- name: Set up PHP
1925
uses: shivammathur/setup-php@v2
2026
with:
2127
php-version: "${{ matrix.php }}"
28+
2229
- name: Install dependencies
2330
run: composer self-update && composer install && composer dump-autoload
31+
2432
- name: Run tests and collect coverage
2533
run: vendor/bin/phpunit --coverage-clover coverage.xml .
34+
2635
- name: Upload coverage to Codecov
2736
uses: codecov/codecov-action@v4-beta
2837
env:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"php": ">=7.4",
3030
"ext-json": "*",
3131
"ext-mbstring": "*",
32-
"laminas/laminas-diactoros": "^2",
32+
"laminas/laminas-diactoros": "^3",
3333
"miladrahimi/phpcontainer": "^5"
3434
},
3535
"require-dev": {

0 commit comments

Comments
 (0)