Skip to content

Releases: codenamephp/platform.di

5.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 16:40

What’s Changed

5.1.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 20:24

What’s Changed

5.1.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 21:21

What’s Changed

5.0.0

Choose a tag to compare

@github-actions github-actions released this 15 Aug 19:56
ce718bd

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

Choose a tag to compare

@bastianschwarz bastianschwarz released this 08 Mar 13:29
6591fb1

Full Changelog

Fixed bugs:

  • ContainerBuilder uses wrong class #27

Updated codesniffer installer

Choose a tag to compare

@bastianschwarz bastianschwarz released this 08 Mar 11:11
0ba6a15

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

Added MetaProvider interface

Choose a tag to compare

@bastianschwarz bastianschwarz released this 07 Mar 23:10

Added

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

Strict typing, composition and QA

Choose a tag to compare

@bastianschwarz bastianschwarz released this 07 Mar 12:14

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

Choose a tag to compare

@bastianschwarz bastianschwarz released this 19 Aug 12:50

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

Choose a tag to compare

@bastianschwarz bastianschwarz released this 19 Aug 11:53
  • 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