Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DependencyInjection] Added tests to cover the possibility of having scalars as services #32432

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

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Jul 8, 2019

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #32411
License MIT
Doc PR N/A

Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tests would be nice as well :) Wrong PR sorry

@nicolas-grekas
Copy link
Member

Can you add a test case that involves a dumped container please?

@derrabus derrabus force-pushed the bugfix/scalar-service-test branch from ba81df3 to 60939d9 Compare July 8, 2019 14:11
@derrabus
Copy link
Member Author

derrabus commented Jul 8, 2019

Done.

@derrabus derrabus changed the title Added tests to cover the possibility of having scalars as services [DependencyInjection] Added tests to cover the possibility of having scalars as services Jul 8, 2019
@derrabus
Copy link
Member Author

derrabus commented Jul 8, 2019

Status: Needs Review

@derrabus
Copy link
Member Author

derrabus commented Jul 8, 2019

Travis failures are unrelated.

@fabpot
Copy link
Member

fabpot commented Jul 9, 2019

Thank you @derrabus.

@fabpot fabpot merged commit 60939d9 into symfony:3.4 Jul 9, 2019
fabpot added a commit that referenced this pull request Jul 9, 2019
…ty of having scalars as services (derrabus)

This PR was merged into the 3.4 branch.

Discussion
----------

[DependencyInjection] Added tests to cover the possibility of having scalars as services

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32411
| License       | MIT
| Doc PR        | N/A

Commits
-------

60939d9 Added tests to cover the possibility of having scalars as services.
@derrabus derrabus deleted the bugfix/scalar-service-test branch July 9, 2019 19:06
nicolas-grekas added a commit that referenced this pull request Aug 13, 2019
…s-grekas)

This PR was merged into the 4.4 branch.

Discussion
----------

[DI] deprecate support for non-object services

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32411
| License       | MIT
| Doc PR        | -

Follows #32432 /cc @derrabus
Prepares for adding the `?object` return-type on master.

Commits
-------

7c01c4c [DI] deprecate support for non-object services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants