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

Skip to content

[DI] Uncomment code #23244

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
Jun 21, 2017
Merged

[DI] Uncomment code #23244

merged 1 commit into from
Jun 21, 2017

Conversation

ogizanagi
Copy link
Contributor

@ogizanagi ogizanagi commented Jun 21, 2017

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

I was about fixing all other occurrences of commented code and func_get/num_arg(s) as BC layer usages at once, but the following PRs will already cover it:

So it only remains DI ones.

@@ -699,19 +686,8 @@ public function prependExtensionConfig($name, array $config)
* Set to "true" when you want to use the current ContainerBuilder
* directly, keep to "false" when the container is dumped instead.
*/
public function compile(/*$resolveEnvPlaceholders = false*/)
public function compile($resolveEnvPlaceholders = false)
Copy link
Member

Choose a reason for hiding this comment

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

should also have the bool typehint, as it is a new explicit argument in 4.0, as done in other methods

@xabbuh xabbuh added this to the 4.0 milestone Jun 21, 2017
@fabpot
Copy link
Member

fabpot commented Jun 21, 2017

Thank you @ogizanagi.

@fabpot fabpot merged commit 03f33b5 into symfony:master Jun 21, 2017
fabpot added a commit that referenced this pull request Jun 21, 2017
This PR was merged into the 4.0-dev branch.

Discussion
----------

[DI] Uncomment code

| Q             | A
| ------------- | ---
| Branch?       | master <!-- see comment below -->
| Bug fix?      | no
| New feature?  | no <!-- don't forget updating src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets | N/A <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | N/A

I was about fixing all [other occurrences of commented code and `func_get/num_arg(s)`](https://github.com/symfony/symfony/search?utf8=%E2%9C%93&q=func_num_args&type=) as BC layer usages at once, but the following PRs will already cover it:

- HttpFoundation: #22863
- Serializer: #23241
- Process: #22836
- DotEnv: #23242

So it only remains DI ones.

Commits
-------

03f33b5 [DI] Uncomment code
@ogizanagi ogizanagi deleted the uncomment_code branch June 21, 2017 14:10
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.

6 participants