Skip to content

Commit 627b6cc

Browse files
xepozzvjik
andauthored
Add psr/http-factory dependency and composer require checker (#54)
Co-authored-by: Sergei Predvoditelev <[email protected]>
1 parent 3a89b47 commit 627b6cc

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
on:
2+
pull_request:
3+
paths-ignore:
4+
- 'docs/**'
5+
- 'README.md'
6+
- 'CHANGELOG.md'
7+
- '.gitignore'
8+
- '.gitattributes'
9+
- 'infection.json.dist'
10+
- 'phpunit.xml.dist'
11+
- 'psalm.xml'
12+
13+
push:
14+
paths-ignore:
15+
- 'docs/**'
16+
- 'README.md'
17+
- 'CHANGELOG.md'
18+
- '.gitignore'
19+
- '.gitattributes'
20+
- 'infection.json.dist'
21+
- 'phpunit.xml.dist'
22+
- 'psalm.xml'
23+
24+
name: Composer require checker
25+
26+
jobs:
27+
composer-require-checker:
28+
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
29+
with:
30+
os: >-
31+
['ubuntu-latest']
32+
php: >-
33+
['8.0', '8.1', '8.2']

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- New #66: Add debug collector for `yiisoft/yii-debug` (@xepozz)
66
- Chg #47: Update `yiisoft/http` dependency (@devanych)
77
- Chg #53: Bump required PHP version to 8.0 (@rustamwin)
8+
- Bug #54: Add missed `psr/http-factory` dependency (@vjik)
89

910
## 3.0.1 February 10, 2021
1011

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818
},
1919
"require": {
2020
"php": "^8.0",
21+
"psr/http-factory": "^1.0",
2122
"psr/http-message": "^1.0",
2223
"psr/http-server-handler": "^1.0",
2324
"psr/http-server-middleware": "^1.0",
2425
"yiisoft/http": "^1.2",
2526
"yiisoft/strings": "^2.0"
2627
},
2728
"require-dev": {
29+
"maglnet/composer-require-checker": "^4.2",
2830
"nyholm/psr7": "^1.3",
2931
"phpunit/phpunit": "^9.5",
3032
"rector/rector": "^0.17",

0 commit comments

Comments
 (0)