Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for #157 #172

Merged
merged 1 commit into from
Oct 2, 2020
Merged

Add test for #157 #172

merged 1 commit into from
Oct 2, 2020

Conversation

hiqsol
Copy link
Member

@hiqsol hiqsol commented Sep 30, 2020

Added check for constructor with default values is called properly.

Q A
Is bugfix?
New feature?
Breaks BC?
Fixed issues #157

hiqsol added a commit to hiqsol/factory that referenced this pull request Oct 1, 2020
- constructor with default values is called properly
- skip excessive parameters
- pass all arguments if parameter is variadic

Fixes:

- yiisoft/di#157
- yiisoft/di#172
- yiisoft/di#173
hiqsol added a commit to hiqsol/factory that referenced this pull request Oct 2, 2020
- constructor with default values is called properly
- throw error on excessive named parameters
- pass all arguments if parameter is variadic

Fixes:

- yiisoft/di#157
- yiisoft/di#172
- yiisoft/di#173
hiqsol added a commit to hiqsol/factory that referenced this pull request Oct 2, 2020
- constructor with default values is called properly
- throw error on excessive named parameters
- pass all arguments if parameter is variadic

Fixes:

- yiisoft/di#157
- yiisoft/di#172
- yiisoft/di#173
samdark added a commit to yiisoft/factory that referenced this pull request Oct 2, 2020
* Fix constructor parameters injecting

- constructor with default values is called properly
- pass all arguments if parameter is variadic

Fixes:

- yiisoft/di#157
- yiisoft/di#172
- yiisoft/di#173

Co-authored-by: Alexander Makarov <[email protected]>
@samdark samdark merged commit 2af8247 into yiisoft:master Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants