Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DI] Cast ids to string, as done on 3.4 #25284

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 2 commits into from
Dec 4, 2017

Conversation

nicolas-grekas
Copy link
Member

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

As reported on slack, we're now missing cast-to-string.
This PR puts them explicitly at the places where 3.4 has a call to the removed "normalizeId" method.

2017-12-03 09-25-38

@abellion
Copy link
Contributor

abellion commented Dec 3, 2017

Why not type hinting the arguments as string ?

@nicolas-grekas
Copy link
Member Author

Because that'd be a BC break.

@sroze
Copy link
Contributor

sroze commented Dec 3, 2017

We definitely need tests for this one.

@nicolas-grekas
Copy link
Member Author

Thank you @sroze.

@nicolas-grekas nicolas-grekas merged commit 11c6b38 into symfony:4.0 Dec 4, 2017
nicolas-grekas added a commit that referenced this pull request Dec 4, 2017
…roze)

This PR was merged into the 4.0 branch.

Discussion
----------

[DI] Cast ids to string, as done on 3.4

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

As reported on slack, we're now missing cast-to-string.
This PR puts them explicitly at the places where 3.4 has a call to the removed "normalizeId" method.

![2017-12-03 09-25-38](https://user-images.githubusercontent.com/243674/33524777-29f5c716-d823-11e7-8ca3-806e83595f5a.png)

Commits
-------

11c6b38 Ensure services & aliases can be referred to with `__toString`able objects
483dd13 [DI] Cast ids to string, as done on 3.4
@nicolas-grekas nicolas-grekas deleted the di-cast branch December 4, 2017 10:39
@fabpot fabpot mentioned this pull request Dec 5, 2017
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.

7 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.