Reduce code duplication between DI extensions
Sync `composer.json` files content
Reduce code duplication in DI extensions
Merge pull request #436 from stloyd/bugfix/cs

[WIP] Fix some random CS issues.
Reduce code duplication in DI extensions.