Ecosyste.ms: OpenCollective

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

github.com/yiisoft/factory

Object factory that is able to resolve dependencies from PSR-11 container
https://github.com/yiisoft/factory

Adopt to psalm level 1 + Cleanup (#72)

6b728fcc099e167e84d7fb4885a867e8e4180168 authored over 3 years ago by Sergei Predvoditelev <[email protected]>
Fix Psalm errors

d1af07ecf0f46164a12ab08e3092ca25188e2c30 authored over 3 years ago by Sergei Predvoditelev <[email protected]>
Add tag parsing and tag definition

201c8d0268900e7b38445e1f264c1f97942674c6 authored over 3 years ago by Andrii Vasyliev <[email protected]>
Improve error message for incorrect type in class definition

a05b28f1fc4992ac4b362d496cf54d9d1fe346f5 authored almost 4 years ago by Alexander Makarov <[email protected]>
Adjust dependabot strategy

d209f734e561e2d88899c8c7964a6a953c0916dd authored almost 4 years ago by Alexander Makarov <[email protected]>
Batch add test-watch script and use testdox style for test script

0b28c89a30ae0ac4f66229a56e7d941b1ee3c3fd authored almost 4 years ago by Dmitriy Derepko <[email protected]>
Batch add spatie/phpunit-watcher

56543581f959da7de68754f27ba7d55aa1d764fb authored almost 4 years ago by Dmitriy Derepko <[email protected]>
Adjust StyleCI rules

937a26fcd3e74c9852d755c65d0c4052af8c14b3 authored almost 4 years ago by Alexander Makarov <[email protected]>
Update StyleCI config

90b4d566e5adb5ba912182c2e5fde56430b7abee authored almost 4 years ago by Alexander Makarov <[email protected]>
Fix detection of classes when "self" keyword is used as type-hint

533366f10bd0571d843a23b92a4fe52c635926eb authored almost 4 years ago by Alexander Makarov <[email protected]>
Update StyleCI config + fixes

d4add0f75dd4323ad6d348bf644d362c538aa8ae authored almost 4 years ago by Alexander Makarov <[email protected]>
Update .gitattributes

de1343a41ebbdd5b80108127c012c499e429d08a authored almost 4 years ago by Alexander Makarov <[email protected]>
Update scrutinizer.yml and composer.json. (#65)

3b46163fc6ca5a46e1f43a17c102d6ed461b6c01 authored almost 4 years ago by Wilmer Arambula <[email protected]>
Improve StyleCI config

4fb2997093dd29ba21cbb5e1f6fb7477cb708386 authored almost 4 years ago by Alexander Makarov <[email protected]>
Update Scrutinizer config

c7d97149cf926eaae56b847ae9b96f75b66ed4a3 authored almost 4 years ago by Alexander Makarov <[email protected]>
Update dependabot config

e7959c67a6b2f9c2c9aca69fe7025610b120ede8 authored almost 4 years ago by Alexander Makarov <[email protected]>
Add composer test command

2791d1b2e1fd5d6e1dfa562e2aca34d91a64316e authored almost 4 years ago by Dmitriy Derepko <[email protected]>
Adjust LICENSE (#63)

c726d7517f99a9a961743a4e2c3e8406bcc24d02 authored almost 4 years ago by Anton Samoylenko <[email protected]>
Update dev dependencies, pipelines and Scrutinizer

cb0a1d2aad5bf182410553ad30efb0cf4aaa2492 authored almost 4 years ago by Wilmer Arambula <[email protected]>
Remove ast extension from GitHub action

40971c14a93190532a9fdbea7f53cfcec21b2b42 authored almost 4 years ago by Anton Samoylenko <[email protected]>
Fix callable arrays in constructor (#59)

31f73a5026eae25e023abbe00aaabec327d12b76 authored almost 4 years ago by Alexander Makarov <[email protected]>
Delete duplicated unit testing section in README (#58)

ab44c24ee523a797341cf229af919f56475af282 authored almost 4 years ago by Anton Samoylenko <[email protected]>
Add resolve references and closures given in array config in properties and in method calls (#57)

6eec84303d25a2b7f36e2604a44058e6fef5df7e authored almost 4 years ago by Andrii Vasyliev <[email protected]>
Update static analysis instruction in README (#56)

ce801957127099de5a706b2e933dc3913dedb6a5 authored almost 4 years ago by Anton Samoylenko <[email protected]>
Switch to Psalm and fix issues (#54)

8de50edcf4739c7f6108c1b662c3b76a054e57b6 authored about 4 years ago by Andrii Vasyliev <[email protected]>
Allow array based callable definition to non-static method (#51)

E.g. `'engine' => [EngineFactory::class, 'createMethod']`
Both EngineFactory constructor and `c...

3633ed54601c98e975962b962eabc688b77af21a authored about 4 years ago by Andrii Vasyliev <[email protected]>
Fix resolver to be more restrictive for callables (#53)

b954d1bd60c0fdc5071cb657a216846bea154d05 authored about 4 years ago by Andrii Vasyliev <[email protected]>
Use stable injector

fb8a625bcf745c02e141002d00704134937405f2 authored about 4 years ago by Alexander Makarov <[email protected]>
Make `yiisoft/injector` required (#50)

76b415278d1b08faa402d0c9e4a23e483374334e authored about 4 years ago by Andrii Vasyliev <[email protected]>
Add union types support (#48)

b5d0c3d1b21ff450bf05d94b573377d8231110a7 authored about 4 years ago by Alexander Makarov <[email protected]>
Fix code style (#49)

Order use statements

db49f9195c142ebb0798ad8931497acc72af6c8e authored about 4 years ago by Andrii Vasyliev <[email protected]>
Fix constructor parameters injecting (#46)

* Fix constructor parameters injecting

- constructor with default values is called properly
...

9dff6cd0e8142dd1337f5976ae12c7703af33c37 authored about 4 years ago by Andrii Vasyliev <[email protected]>
test: Improvement of names (#43)

Renaming for clearer code reading.

5e934500a1dbb6fae4fa6a68da4804be66611a18 authored about 4 years ago by Evgeniy Tkachenko <[email protected]>
Allow any definition in constructor arguments (#42)

* Allow any definition in constructor arguments

* Allow closure with wrapping in CallableDefi...

eaad1b40541f7ca6d042c98d3509503de5f9436f authored about 4 years ago by Andrii Vasyliev <[email protected]>
Add reusable `DefinitionResolver` (#40)

* Rename resolver to extractor

`resolve` name is used for `Definition` to instance resolving
...

2172fa64cbf0e27881efac4b6ec9e8819702f7f4 authored about 4 years ago by Andrii Vasyliev <[email protected]>
Rename resolver to extractor (#39)

`resolve` name is used for `Definition` to instance resolving

539d3e7c6435e86a110223145110dde07c6204fe authored about 4 years ago by Andrii Vasyliev <[email protected]>
Refactor definition normalize/validate to be in one place (#38)

3a280d07f9773a29bf7e724d48a0b6c2e6bc7806 authored about 4 years ago by Andrii Vasyliev <[email protected]>
Add automatic arguments injection in `CallableDefinition` (#35)

This PR adds use of `Injector` to enable more complex callable definitions
with automatic resol...

30deca9273cc3257b769d0980e029df969cafedd authored about 4 years ago by Andrii Vasyliev <[email protected]>
Cleanup

426f6e95d0554be45d194a74602c6bbae05cdc81 authored about 4 years ago by Alexander Makarov <[email protected]>
Make Factory container property private, add tests (#36)

9076e17b5a9dd49cb01bb6980e3499dc6ef9fdc7 authored about 4 years ago by yiiliveext <[email protected]>
Merge pull request #33 from yiisoft/dependabot/github_actions/actions/cache-v2.1.1

Bump actions/cache from v2.1.0 to v2.1.1

cfe928af368bd30c0e79f6e25f3332ad2b85e253 authored about 4 years ago by Rustam Mamadaminov <[email protected]>
Bump actions/cache from v2.1.0 to v2.1.1

Bumps [actions/cache](https://github.com/actions/cache) from v2.1.0 to v2.1.1.
- [Release notes]...

ccc04355e861ea43b94518060ab0925bbfc4333a authored about 4 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Specify version in scrutinizer config

5b2d21487cb8b4912eade1fbf263bb6de04ed253 authored about 4 years ago by Alexander Makarov <[email protected]>
Update actions/cache requirement to v2.1.0 (#32)

Updates the requirements on [actions/cache](https://github.com/actions/cache) to permit the late...

085378262ccbe606994405d578e5c945d6405f01 authored about 4 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Remove schema from phpunit config

91f35366ebcb55317b6959638d42c2458f4b218c authored about 4 years ago by Alexander Makarov <[email protected]>
Enhancements (#29)

* Add github actions.
* Fix PHP 8.0.
* Fix method to() with ReferenceInterface::class.
* Fix ...

520919edb2f373414b862b12fab8d7d975407379 authored about 4 years ago by Wilmer Arambula <[email protected]>
Update dependencies

c27642aa604c9e28737d0379eefd1bd19e6bb040 authored about 4 years ago by Alexander Makarov <[email protected]>
Apply fixes from StyleCI

b3510c785120e703342120d2fb64f7972890168d authored about 4 years ago by Alexander Makarov <[email protected]>
Fix #30: DynamicReference incompatible with ReferenceInterface (#31)

9378aae203906484e40952d1572a3ec1e1e2ab32 authored about 4 years ago by Sergei Predvoditelev <[email protected]>
Update repository meta-files

606e811dd9576d2e3fafdf6637f184478f2facf1 authored about 4 years ago by Alexander Makarov <[email protected]>
Update Scrutinizer config

84b9b08273404f0a898494e0f8e7e9099781dfcc authored about 4 years ago by Alexander Makarov <[email protected]>
Add resolve references in array recursively (#27)

We need to go deeper...

fbe3c4df31f8c5b803488c528e320a15dc71b2c4 authored over 4 years ago by Andrii Vasyliev <[email protected]>
Revert "Remove unnecessary `ValueDefinition` wrapping (#26)"

This reverts commit 7fed0b1f857759b165d318a144d840a5ff4366df.

935d8916000813a62c7a29acb13dba0b811b20f2 authored over 4 years ago by Alexander Makarov <[email protected]>
Remove unnecessary `ValueDefinition` wrapping (#26)

Looks like something obsolete - resolving works fine without it.
Tests pass in both di and fact...

7fed0b1f857759b165d318a144d840a5ff4366df authored over 4 years ago by Andrii Vasyliev <[email protected]>
Fix defintion resolving

4fc28868ebb663321c8f09ffb7a2eab8b0c22e6b authored over 4 years ago by Alexander Makarov <[email protected]>
Add resolve references in array (#25)

70fe06c8cac22504d314a5ef1b1d4046eb00b67c authored over 4 years ago by Andrii Vasyliev <[email protected]>
Add support immutable classes (#24)

bd742a72b4709fb5b8da722a0009204c35d089e8 authored over 4 years ago by Wilmer Arambula <[email protected]>
Update .phpstorm.meta.php (#23)

72f90eade2cc2ae794a93054eabeda9a82b520d8 authored over 4 years ago by Dmitriy Derepko <[email protected]>
Add support for named and explicitly positioned __construct() parameters (#21)

f3261222c2ff07c4377dd8a21988d59f07bb9908 authored over 4 years ago by yiiliveext <[email protected]>
Disallow DefinitionInterface objects in definition config (#20)

9f029a40060be7ef0efad43e86e9d1dad539923c authored over 4 years ago by yiiliveext <[email protected]>
Remove params from definitions (#17)

74cb5c4ced80e51dc9e87eabeab82531393834b3 authored over 4 years ago by yiiliveext <[email protected]>
Remove inheritdoc (#16)

2b105c113ceb483f348fecd85829202dc14f5fac authored over 4 years ago by Anton Samoylenko <[email protected]>
Fix tests (#15)

fee0a297c01bf909840194d22f68b5ab98777e95 authored over 4 years ago by Alexander Makarov <[email protected]>
Revert "Throw exception if there's no default value instead of returning null"

9469ac4e424c7ca28a19c0c801893dbee89e9c8e authored over 4 years ago by Alexander Makarov <[email protected]>
Apply fixes from StyleCI

473d9f0ff2d22b8c0212b53f0cebc5149746fca8 authored over 4 years ago by Alexander Makarov <[email protected]>
Throw exception if there's no default value instead of returning null

If argument has no default value now resolver will throw exception instead of returning null val...

23f21a1e3c3158cdb92b605ec23f34b08f2306cd authored over 4 years ago by Dmitriy Derepko <[email protected]>
Correct assertion arguments order

11ac92291a6842807517b1ad4519d1842e74e550 authored over 4 years ago by Alexander Makarov <[email protected]>
Fix #8: Add test ensuring that factory should not try to resolve dependencies by itself

cec5fdb85e77effcff002681a6e33380d0a707ec authored over 4 years ago by Alexander Makarov <[email protected]>
Defined desired behavior better in tests, fixed implementation (#10)

Co-authored-by: Andrii Vasyliev <[email protected]>

3cc7b33da860183200e3a2c5b7cac0fb625edc85 authored over 4 years ago by Alexander Makarov <[email protected]>
Apply fixes from StyleCI (#11)

67f81d00c2dd34aad80c8d035269b87a15d26be4 authored over 4 years ago by Alexander Makarov <[email protected]>
Add PhpStorm meta for better code completion in IDE

b1f37c290df454b95d4814ef823825db62d3a0b4 authored over 4 years ago by Alexander Makarov <[email protected]>
Switch StyleCI to PSR-12

6614d39101bc2817dbb9de165a65adef3656f9ad authored over 4 years ago by Alexander Makarov <[email protected]>
Fix phpdoc [skip ci]

d3a35e3cbf3e52a22ee2f411a151e16115215973 authored over 4 years ago by Alexander Makarov <[email protected]>
Migrate Travis from .org to .com

fe91b50b87fc289f06374caad6a333868899e082 authored almost 5 years ago by Alexander Makarov <[email protected]>
Update PHP, PHPUnit and Travis config

69d9ca02eb3fbb1b26d2402d64d9ac104d2528dc authored almost 5 years ago by Alexander Makarov <[email protected]>
Add editorconfig, add github as a way to contribute financially

d8e882d00799f883f8a10696d472f3f01aec0fd6 authored almost 5 years ago by Alexander Makarov <[email protected]>
Add Slack notifications config

e64447e60545c2e699a31ec52feab8c0208b58f4 authored almost 5 years ago by Alexander Makarov <[email protected]>
Add sort-packages to composer.json

6df71feba76fb73938f3f34402176ec082bf6506 authored almost 5 years ago by Alexander Makarov <[email protected]>
-m

b50eb5ef81b3cbe9fff99d78ed48803e9a93a5f1 authored almost 5 years ago by Alexander Makarov <[email protected]>
rename functions from getNumer to getNumber

d351a51724641e3862d39e7ebeaf01b6647af335 authored about 5 years ago by Denis Warsow <[email protected]>
Fixed work with trivial definition

4b3cede36c12ca994aa2dfb22d81f1f2f420bd5c authored over 5 years ago by Andrii Vasyliev <[email protected]>
Cleanup

6c2f810431d299b42582893c2ab47f0de2d92e74 authored over 5 years ago by Alexander Makarov <[email protected]>
Adjust names, cleanup

d0a1b7d594bee94f9caf7a108d12dd441fafd94a authored over 5 years ago by Alexander Makarov <[email protected]>
Updated test

be27addc102c79c1f20508f94447b50f099703d1 authored over 5 years ago by Alexander Makarov <[email protected]>
Add "Interface" suffix to interfaces

d2c3e66bf931ffb77031b6e93e582446105b4601 authored over 5 years ago by Alexander Makarov <[email protected]>
Remove __set_state()

5b85e0154f5077c3cb9e62d32e04a54bb91c3982 authored over 5 years ago by Alexander Makarov <[email protected]>
Update dependencies

21a611215e5d5971f784c50196fa23f556c3e965 authored over 5 years ago by Alexander Makarov <[email protected]>
Update templates and configs from template

58f3420a1e46d4bf256cd744bac14dfeee1feaee authored over 5 years ago by Alexander Makarov <[email protected]>
Moved in exceptions from di package

f33582fd4db8303db045d46deeebe8a9bf6fd668 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Added tests over Yiisoft DI container

d40936e4767cdfd063a71ed6b85c9f1e0decd40e authored over 5 years ago by Andrii Vasyliev <[email protected]>
Added basic functionality and tests

94927fa61495dc2d57f5d0902aae114fa0020d0c authored over 5 years ago by Andrii Vasyliev <[email protected]>
Initial commit

3c3df8e991998d1dceb8564761cd823f21ff0649 authored over 5 years ago by Alexander Makarov <[email protected]>