Skip to content

Commit

Permalink
Fix #935: Upgrade to League Container 3.x. (Robo 3.x version) (#985)
Browse files Browse the repository at this point in the history
* Fix #935: Upgrade to League Container 3.x

* League\Container\ContainerAwareTrait::getContainer() uses execeptions now.

* Use Psr\Container\ContainerInterface.

* Restored return types on Robo::createContainer() / Robo::createDefaultContainer() and param type on Robo::finalizeContainer().

* Reverted changes to Robo::createContainer() and Robo::createDefaultContainer() return types.

Co-authored-by: Dane Powell <git@danepowell.com>
  • Loading branch information
joeparsons and danepowell committed Sep 14, 2020
1 parent afd1dfe commit 0de9f7b
Show file tree
Hide file tree
Showing 9 changed files with 141 additions and 189 deletions.
2 changes: 1 addition & 1 deletion .scenarios.lock/symfony4/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"consolidation/annotated-command": "^4.2.1",
"consolidation/output-formatters": "^4.1.1",
"consolidation/self-update": "^1.2",
"league/container": "^2.4.1"
"league/container": "^3.3.1"
},
"require-dev": {
"g1a/composer-test-scenarios": "^3",
Expand Down
83 changes: 29 additions & 54 deletions .scenarios.lock/symfony4/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 22 additions & 23 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,25 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

DEPENDENCY LICENSES:

Name Version License
consolidation/annotated-command 4.2.1 MIT
consolidation/config 2.0.0 MIT
consolidation/log 2.0.1 MIT
consolidation/output-formatters 4.1.1 MIT
consolidation/self-update 1.2.0 MIT
container-interop/container-interop 1.2.0 MIT
dflydev/dot-access-data v1.1.0 MIT
grasmash/expander 1.0.0 MIT
league/container 2.4.1 MIT
psr/container 1.0.0 MIT
psr/log 1.1.3 MIT
symfony/console v4.4.12 MIT
symfony/event-dispatcher v4.4.12 MIT
symfony/event-dispatcher-contracts v1.1.9 MIT
symfony/filesystem v4.4.12 MIT
symfony/finder v4.4.12 MIT
symfony/polyfill-ctype v1.18.1 MIT
symfony/polyfill-mbstring v1.18.1 MIT
symfony/polyfill-php73 v1.18.1 MIT
symfony/polyfill-php80 v1.18.1 MIT
symfony/process v4.4.12 MIT
symfony/service-contracts v1.1.9 MIT
Name Version License
consolidation/annotated-command 4.2.1 MIT
consolidation/config 2.0.0 MIT
consolidation/log 2.0.1 MIT
consolidation/output-formatters 4.1.1 MIT
consolidation/self-update 1.2.0 MIT
dflydev/dot-access-data v1.1.0 MIT
grasmash/expander 1.0.0 MIT
league/container 3.3.1 MIT
psr/container 1.0.0 MIT
psr/log 1.1.3 MIT
symfony/console v4.4.13 MIT
symfony/event-dispatcher v4.4.13 MIT
symfony/event-dispatcher-contracts v1.1.9 MIT
symfony/filesystem v4.4.13 MIT
symfony/finder v4.4.13 MIT
symfony/polyfill-ctype v1.18.1 MIT
symfony/polyfill-mbstring v1.18.1 MIT
symfony/polyfill-php73 v1.18.1 MIT
symfony/polyfill-php80 v1.18.1 MIT
symfony/process v4.4.13 MIT
symfony/service-contracts v1.1.9 MIT
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"consolidation/annotated-command": "^4.2.1",
"consolidation/output-formatters": "^4.1.1",
"consolidation/self-update": "^1.2",
"league/container": "^2.4.1",
"league/container": "^3.3.1",
"symfony/console": "^4.4.11|^5",
"symfony/event-dispatcher": "^4.4.11|^5",
"symfony/filesystem": "^4.4.11|^5",
Expand Down

0 comments on commit 0de9f7b

Please sign in to comment.