Skip to content

Support PSR Container v2 & drop service-provider dependency #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: 0.3.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [[*next-version*]] - YYYY-MM-DD
### Changed
- Dropped `container-interop/service-provider` as a dependency and ported `ServiceProviderInterface` into this package.

## [0.3.0-alpha2] - 2021-08-23
### Fixed
Expand Down
11 changes: 8 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"minimum-stability": "dev",
"require": {
"php": "^7.1 | ^8.0",
"psr/container": "^1.0",
"container-interop/service-provider": "^0.4"
"psr/container": "^1.0 | ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0 | ^8.0 | ^9.0",
Expand All @@ -23,7 +22,8 @@
},
"autoload": {
"psr-4": {
"Dhii\\Modular\\Module\\": "src"
"Dhii\\Modular\\Module\\": "src",
"Interop\\Container\\": "inc/service-provider"
}
},
"autoload-dev": {
Expand All @@ -39,5 +39,10 @@
"branch-alias": {
"dev-develop": "0.3.x-dev"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
Loading