Skip to content

Releases: codenamephp/platform.di

5.2.0

05 Dec 16:40
Compare
Choose a tag to compare

What’s Changed

5.1.1

14 Nov 20:24
Compare
Choose a tag to compare

What’s Changed

5.1.0

07 Nov 21:21
Compare
Choose a tag to compare

What’s Changed

5.0.0

15 Aug 19:56
ce718bd
Compare
Choose a tag to compare

What’s Changed

  • Rework of dependency system and introduction of TopoGraph sort (#32) @bastianschwarz
  • Update dealerdirect/phpcodesniffer-composer-installer requirement from ^0.5 || ^0.6 to ^0.5 || ^0.6 || ^0.7 (#30) @dependabot-preview

Bugfix

08 Mar 13:29
6591fb1
Compare
Choose a tag to compare

Full Changelog

Fixed bugs:

  • ContainerBuilder uses wrong class #27

Updated codesniffer installer

08 Mar 11:11
0ba6a15
Compare
Choose a tag to compare

Update dealerdirect/phpcodesniffer-composer-installer requirement from ^0.5 to ^0.5 || ^0.6

Added MetaProvider interface

07 Mar 23:10
Compare
Choose a tag to compare

Added

  • Added new \de\codenamephp\platform\di\definitionsProvider\iMetaProvider interface to add multiple providers with a single class

Strict typing, composition and QA

07 Mar 12:14
Compare
Choose a tag to compare

Added

  • Added psalm as QA tool
  • Added phive to install QA tools
  • Added \de\codenamephp\platform\di\iContainerBuilder interface

Changed

  • Switched from Jenkins (which wasn't operational in a few years) to travis
  • Updated PHPComp
  • Added strict type declaration to all files
  • Added type hints and return type hints to all methods
  • ContainerBuilder was changed from inheritance to composition
  • Made classes final

Update to php-di 6

19 Aug 12:50
Compare
Choose a tag to compare

Changed

  • Dependency to php-di is now ^6 which requires PHP7 @bastianschwarz
  • Replaced Interop\Container\ContainerInterface with \Psr\Container\ContainerInterface in \de\codenamephp\platform\di\iContainer @bastianschwarz
  • Changed constructor of \de\codenamephp\platform\di\Container to expect an instance of \DI\Definition\Source\MutableDefinitionSource and
    \Psr\Container\ContainerInterface as the parent constructor was changed @bastianschwarz
  • All parameters of \de\codenamephp\platform\di\Container::__construct are now optional same as the parent constructor @bastianschwarz
  • The type of the first parameter $name of \de\codenamephp\platform\di\Container::set is now enforced via type hint @bastianschwarz

Trait and dependency fix

19 Aug 11:53
Compare
Choose a tag to compare
  • Added trait for the container @bastianschwarz
  • Added \de\codenamephp\platform\di\definitionsProvider\dependency\Wrapper and enabled dependency check for classes that do not implement
    the \de\codenamephp\platform\di\definitionsProvider\dependency\iDependency interface @bastianschwarz