Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/yiisoft/di

PSR-11 compatible DI container and injector
https://github.com/yiisoft/di

Use static closures as micro-optimization

5ae7186673077d143f8cde001bc9a8f1abb81e55 authored over 5 years ago by Alexander Makarov <[email protected]>
Removed bad calls to Reference::to() from tests

eba2902f09271713328fda8e822bd79d50f7a3be authored over 5 years ago by Alexander Makarov <[email protected]>
Added mbstring to composer.json require

905d0badcfa56ce527254d67220804813a4515bc authored over 5 years ago by Alexander Makarov <[email protected]>
Fixed interface incompatibility

ae7f2aab4a47f040018e630bee0ea263b975ccc9 authored over 5 years ago by Alexander Makarov <[email protected]>
Remove unused import, use return of configure() method

a75a0e58f7191005e3ff2d7b5f4d48b7543c1e7c authored over 5 years ago by Alexander Makarov <[email protected]>
Add types

98fdaf95366fe793d486fb274a05a5cac0112825 authored over 5 years ago by Alexander Makarov <[email protected]>
Add missing phpdoc

c3f5737d960aa42d6774d848a43f8725fd660dff authored over 5 years ago by Alexander Makarov <[email protected]>
Added `getWithParams` to allow Factory create with given params

b97ee5bd18c103d1444d9c3c8c1bfe37d3e308e1 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Create FUNDING.yml

b0867d765ca75f68aeacbb4f1c41cd49e71ba73c authored over 5 years ago by Alexander Makarov <[email protected]>
Minor fix

4004fe774099644962852efeb50583b6390f3006 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Update yiisoft/db namespace [ci skip]

413b3042a0c1f748c979dd74caaff39405f7cc0f authored over 5 years ago by Mehdi Achour <[email protected]>
Fixes for interface usage, readme corrections

96ee7409cad441b45c329a0d3aad2d208899aa06 authored over 5 years ago by Alexander Makarov <[email protected]>
Adjusted naming

67e5e484123326f824b95a3b40d7f5d14e7f7d65 authored over 5 years ago by Alexander Makarov <[email protected]>
setAll() -> setMultiple()

6c53662c545dd64eaa0916f491c8745f72e7c7d7 authored over 5 years ago by Alexander Makarov <[email protected]>
Use byte size for byte comparison

13e21a41cc502ec98f48fb3e5d1bcf9ef53d8155 authored over 5 years ago by Alexander Makarov <[email protected]>
Improved comment explaining order of sub-containers

ec370233aa1fc92ae692c2ba5c9a4c000678ce8e authored over 5 years ago by Alexander Makarov <[email protected]>
Adjusted wording in the contextual containers section

06c68ad4937460dab8f978916ddf580b48e6c11d authored over 5 years ago by Alexander Makarov <[email protected]>
Fixed readme statement about interface definition

278e48695ebc972a61b476fee1d2a8c6fd538d93 authored over 5 years ago by Alexander Makarov <[email protected]>
Fix sample [ci skip]

1e83f0bb2113ce51142f6d2eeb138b2c9a9c9627 authored over 5 years ago by Mehdi Achour <[email protected]>
Allow use of just built object in init

Tiny byt very important fix
Prevents infinite loop

1822cb690baa3c3fb7bcd0b83de6cf2e26217216 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Removed phpcs from travis build

e648488e6468d609e5902f10c499b628228070fe authored over 5 years ago by Andrii Vasyliev <[email protected]>
Fixed code style

8f4675f39e7ac3d96a7d2b05ea1982a618d74172 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Removed doubtful `alreadyBuilding()`

7668ba6f8940bf1bd73e99a21ffc6c86e7e0733b authored over 5 years ago by Andrii Vasyliev <[email protected]>
typo

c01ac452ed1e362f044826cc2cca338987c7930d authored over 5 years ago by Andrii Vasyliev <[email protected]>
Fixed phpdocs

486e6af71921a94c37fdaa46d1a0cf477d502549 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Removed unused use statements

bcfa8da0fae3d802e8f383af794eaa7f2a457c82 authored over 5 years ago by Alexander Makarov <[email protected]>
Use "yield from"

6e1c3ccb72534b16ae88a9b4d28e36bc6f9baaab authored over 5 years ago by Alexander Makarov <[email protected]>
typo

75ff36638c9a6f3979282fe6845d1d7c05ff2326 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Allowed any definitions in `__construct()`

ac6bde6653679f451db98dfcaf38034ab5e3fbd5 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Remove debug

756a881e566e146431dcdfdb540dc19f6bb0b5e9 authored over 5 years ago by Alexander Makarov <[email protected]>
Removed unused `AbstractContainer`

f8da6ffd052a1680270ce74482558f2d6d53563b authored over 5 years ago by Andrii Vasyliev <[email protected]>
Fixed minor errors in tests

45b6649e2e889b4d0aa9dd6a6b888dd5206bdeb5 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Finished redoing dependencies to definitions

Redone ClassDefinition and InvalidDefinition
Removed unused and unfininished NamedDependency and...

15f0fca1a950493dd6c7c1297b75faacf009d2df authored over 5 years ago by Andrii Vasyliev <[email protected]>
Apply fixes from StyleCI

7a825528dee2f9cefdc9edbec2e0f22c96f7500b authored over 5 years ago by Alexander Makarov <[email protected]>
Added `ArrayDefinition::getArray()`

28559d9833619c012c9b6653896a1ecdd01c2ce9 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Hard fix for `container` circular reference

24ff0e6d4c5d0a9872d1d666bc656717d2b74e23 authored over 5 years ago by Andrii Vasyliev <[email protected]>
One more big rework in progress

Including but not limited to:
- Renamed `DefinitionInterface` <- DependencyInterface
- Added `No...

450560b70db0d95f3a4c9d4ab753f04754037f47 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Added params to `Definition::resolve()`

4b3a11a2294cea7628e5a7044d824e39fa70795a authored over 5 years ago by Andrii Vasyliev <[email protected]>
Apply fixes from StyleCI

a5f68e2072417c8319ca8fc13fb1bd73aa7c672c authored over 5 years ago by Alexander Makarov <[email protected]>
Fixed cleaning currently `building` array after build

53428e91cf773facc44897331444f7d4fb41c968 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Removed `ensure` from FactoryInterface

b3d2dd6269860004efdf7ff4cb2db0463bfe0740 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Added `__set_state` to Reference

9c3f601e7bef1c31a5003ce7dba883442c4e490a authored over 5 years ago by Andrii Vasyliev <[email protected]>
Apply fixes from StyleCI

c89d940f4d98820f3ed538bfc21770e1215e799b authored over 5 years ago by Alexander Makarov <[email protected]>
Fix file name

192295deb33937151a38a175cf0c7fc9ae118030 authored over 5 years ago by Alexander Makarov <[email protected]>
Apply fixes from StyleCI

50f41980a5e3c24075efa461f262b7f06881cf69 authored over 5 years ago by Alexander Makarov <[email protected]>
Fix spelling

6f45c928da0f1f4bab178994413c2c18bcf672f1 authored over 5 years ago by Alexander Makarov <[email protected]>
Apply fixes from StyleCI

028f231dc3e189b80726edef763d09c67884b089 authored over 5 years ago by Alexander Makarov <[email protected]>
Fixed merge conflicts

1696e610cbcb818a46612a5ca304575fa67e1e70 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Added StyleCI config

2bde70dfac3e4afdc24685712585e488269411e4 authored over 5 years ago by Alexander Makarov <[email protected]>
Merge branch 'reference-private-constructor' of github.com:SAM-IT/di into reference-private-constructor

7cbb662a6c75190d35bbb3257fe75d07ec58fd43 authored over 5 years ago by Sam Mousa <[email protected]>
Small improvements to composite container

11159004a9f5b9fd7b370403d06b0a12d764f377 authored over 5 years ago by Sam Mousa <[email protected]>
Updated `composer.lock`

c76a364315776b1215d6cfade0560fa0684d1d62 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Fixed `AbstractContainer`: create by indirect class name

e3151b70f3718db0f53211ded702b559b6f706aa authored over 5 years ago by Andrii Vasyliev <[email protected]>
Improved `AbstractContainer::bulidWithDefinition` to merge given config and definition

Previously given config was NOT used at all.

fb3de76755f162f6512c2f2eebd106d6ff7432ef authored over 5 years ago by Andrii Vasyliev <[email protected]>
Added getInstances() to return all instances in container

ea2196ec7931c1ebc3bcead0f49d9b313af8df2b authored almost 6 years ago by Fabrizio <[email protected]>
Added PHP 7.3 to travis (#68)

56489c3515201d8604ebb9f974ce26f0c134a140 authored almost 6 years ago by Alexander Makarov <[email protected]>
Trying enable code coverage in Scrutinizer

972fd0fbd31593cc470feb6ee8b2561969f0523f authored almost 6 years ago by Andrii Vasyliev <[email protected]>
Fix travis error on "vendor/bin/phpcs --standard=PSR2 src tests" (#64)

72f94be2a2b7e43f196dba884f4b6bf91e65c65e authored almost 6 years ago by Fabrizio Caldarelli <[email protected]>
Removed resolving `Closure` dependency: fixes #62

37dcddb8935aeb88f12dadcbc86a01da7a80117d authored almost 6 years ago by Andrii Vasyliev <[email protected]>
Added resolving `Closure` dependency

a9dff7f2dbd15c047da05959b40556668ffea833 authored almost 6 years ago by Andrii Vasyliev <[email protected]>
Allowed omit __class in DI definition

23281818167686c9404c099bea6cb67e0b3127d0 authored almost 6 years ago by Andrii Vasyliev <[email protected]>
Update src/resolvers/ClassNameResolver.php

Co-Authored-By: SamMousa <[email protected]>

fcd1d1f876c80082831af50a0ab6cea8d676c0e9 authored almost 6 years ago by Alexander Makarov <[email protected]>
Update src/resolvers/ClassNameResolver.php

Co-Authored-By: SamMousa <[email protected]>

9676be4b162a48cca32d4efc84b96fa81bb80f9b authored almost 6 years ago by Alexander Makarov <[email protected]>
Update src/resolvers/ClassNameResolver.php

Co-Authored-By: SamMousa <[email protected]>

2dcb352bc254556d361f6afc5cd11efa488c5057 authored almost 6 years ago by Alexander Makarov <[email protected]>
Merge branch 'reference-private-constructor' of github.com:SAM-IT/di into reference-private-constructor

32c6704a2f4fcc38a5918287972cb6943f581387 authored almost 6 years ago by Sam Mousa <[email protected]>
Introduced contextual containers

0ed60e05603f2f826740329c2fab75f45043dd47 authored almost 6 years ago by Sam Mousa <[email protected]>
Fixed typo in .travis.yml

548f6f29c61f0ef537170c41764de0d95f1a46e6 authored almost 6 years ago by Alexander Makarov <[email protected]>
Update .gitignore

80e76c659d09f6096b11fb31c86b78360b398b87 authored almost 6 years ago by Alexander Makarov <[email protected]>
Added benchmarks for the composite container

39b1e96f1bd7c5e4b5eaa47841ec16b9a8b28023 authored almost 6 years ago by Sam Mousa <[email protected]>
Removed abstract container, introduced composite container

411db79ff0d26b15f2ded43aa5aa9d2a4c0bcdbf authored almost 6 years ago by Sam Mousa <[email protected]>
Applied PHPCS fixes

5891ec6488e9bf146af44fc32851141322a00abd authored almost 6 years ago by Sam Mousa <[email protected]>
Merge branch 'reference-private-constructor' of github.com:SAM-IT/di into reference-private-constructor

a17ab1e95416461c5d383a0a40dfa1243ae298eb authored almost 6 years ago by Sam Mousa <[email protected]>
Added phpcs config file

47f38e3ade7a44a47275783dc824cd6d65060f0b authored almost 6 years ago by Sam Mousa <[email protected]>
Merge branch 'master' into reference-private-constructor

79236c33f6b20310e44d37dc61659b099c81a547 authored almost 6 years ago by Alexander Makarov <[email protected]>
Refactored definition parsing into a separate class (SRP)

93fe0a02cbd0a992a9da5541f252e92a2d165330 authored almost 6 years ago by Sam Mousa <[email protected]>
Add scrutinizer shields #31

99d3005ffdfddde5cc527c32e9a286324f2eda7e authored almost 6 years ago by Sam Mousa <[email protected]>
Use proper constructor arguments instead of special array key `providers`

e6ff1ff6ba5a48706e4c4e91ab5a89ba6f1bef1f authored almost 6 years ago by Sam Mousa <[email protected]>
Add test folder to scrutinizer config (tests must be PSR2 too)

3dd993aea5a751a3a7afe9a4ef8a831539a031f6 authored almost 6 years ago by Sam Mousa <[email protected]>
Update scrutinizer config to conform with master

8fb792e5db984e76c20b4e63257b85fa0c8e2366 authored almost 6 years ago by Sam Mousa <[email protected]>
Prepare scrutinizer for external code coverage

be1339d32dccd01f4929fcd960bf01c6f72669ad authored almost 6 years ago by Sam Mousa <[email protected]>
Added phpbench; todo: figure out a way to get scrutinizer to not only run but also use these results

5dcb8084d5cddad7a042221789f7f220f35d22b1 authored almost 6 years ago by Sam Mousa <[email protected]>
Merge branch 'reference-private-constructor' of github.com:SAM-IT/di into reference-private-constructor

887eb33854e6e7139cdbea49d74f82554391d789 authored almost 6 years ago by Sam Mousa <[email protected]>
Removed unused `use` statements. Fixed typo in Readme

aa4b54ece1f772099e7db5dfa4596c3433e3a507 authored almost 6 years ago by Sam Mousa <[email protected]>
Merge pull request #1 from samdark/scrutinizer-patch-1

Scrutinizer Auto-Fixes

217a75fc4850412e3eb74918308ce66216fcb423 authored almost 6 years ago by Sam <[email protected]>
Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-...

5551ed5e8c6146d6a308b8eca88f2e826b097289 authored almost 6 years ago by Scrutinizer Auto-Fixer <[email protected]>
Added some more test, one which is failing

cd885874d5dabf8499aad3daeb99bc4420d6a352 authored almost 6 years ago by Sam Mousa <[email protected]>
Big rework, classes for dependencies, interfaces for resolvers

f0259a1e6380d564746120b8467955f079106cc6 authored almost 6 years ago by Sam Mousa <[email protected]>
Create .scrutinizer.yml

a065a5640ca93351e9098f05d7e93ebfafe3cefa authored almost 6 years ago by Alexander Makarov <[email protected]>
Added Scrutinizer

7dd8ad103a70b7fd88038a67a8ac65dbd3fabd0d authored almost 6 years ago by Alexander Makarov <[email protected]>
Reference constructor is now private

97a84bad619cb5f997bc386f408f31dfc2c01437 authored almost 6 years ago by Sam Mousa <[email protected]>
Remove unnecessary check

4dd3681610105ab76b32164ac0bfd45e4b035b2d authored almost 6 years ago by Alexander Makarov <[email protected]>
Better test method usage

74af5a4b691fd311890baf166736e6fcc66ec255 authored almost 6 years ago by Alexander Makarov <[email protected]>
Minor performance enhancements

83cf49fa1e9805ac932c67c87c48cbd8f7512060 authored almost 6 years ago by Alexander Makarov <[email protected]>
Added check for `__config` given in `buildFromConfig()`

c3e92da3fa059b28091339c741e3542392d22174 authored about 6 years ago by Andrii Vasyliev <[email protected]>
Allowed return null in `Reference::getId()`, added TODOs

896b6617e7e15f8ab7c82986502dc329cb2d8f00 authored about 6 years ago by Andrii Vasyliev <[email protected]>
Minor optimization and phpdoc improvemenets

0e01a641faabcae60dbc7e3664491d2a4307559b authored about 6 years ago by Alexander Makarov <[email protected]>
Better exception on failing to instantiate missing dependency

See https://github.com/yiisoft/yii2/pull/16440

88174ee44d03d70fd60a5da1cb3c37d23992099f authored about 6 years ago by Alexander Makarov <[email protected]>
Allowed keys in `__construct()` (was only indexes)

3149e6424a2e4ee28a08a858b7318ddc7be2706c authored about 6 years ago by Andrii Vasyliev <[email protected]>
Fixed `Factory::ensure()` again

4a61acbae0e1a4043e0a51f66dd546b6bef836ba authored about 6 years ago by Andrii Vasyliev <[email protected]>
Fixed regression: returned FactoryInterface on Factory;

351502d835d97ab21b4ffd729feb14981aaf06bc authored about 6 years ago by SilverFire - Dmitry Naumenko <[email protected]>