Skip to content

Commit

Permalink
Explicitly add transitive dependencies and add checker to CI
Browse files Browse the repository at this point in the history
Co-authored-by: Sergei Predvoditelev <[email protected]>
  • Loading branch information
xepozz and vjik authored Oct 19, 2023
1 parent 74e8652 commit eba7b75
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'

push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'

name: Composer require checker

jobs:
composer-require-checker:
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['7.4', '8.0', '8.1', '8.2']
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## 2.0.1 under development

- no changes in this release.
- Bug #36: Explicitly add transitive dependencies `yiisoft/strings`, `psr/http-server-handler`
and `ext-hash` (@vjik, @xepozz)

## 2.0.0 February 14, 2023

Expand Down
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,20 @@
},
"require": {
"php": "^7.4|^8.0",
"ext-hash": "*",
"psr/http-factory": "^1.0",
"psr/http-factory-implementation": "1.0",
"psr/http-message": "^1.0",
"psr/http-message-implementation": "1.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"yiisoft/http": "^1.2",
"yiisoft/security": "^1.0",
"yiisoft/session": "^1.0|^2.0"
"yiisoft/session": "^1.0|^2.0",
"yiisoft/strings": "^2.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^3.8|^4.2",
"nyholm/psr7": "^1.3",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.18.5",
Expand Down

0 comments on commit eba7b75

Please sign in to comment.