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

Skip to content

[FrameworkBundle] Replace kernel.debug with member variable #18139

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
Mar 15, 2016

Conversation

patrick-mcdougle
Copy link
Contributor

Q A
Branch 2.7
Bug fix? no
New feature? no
BC breaks? unlikely
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

While digging around I noticed that someone added debug to the constructor, but didn't replace all the %kernel.debug% strings. This PR is just to improve consistency.

Technically this could cause a BC break if someone was using a compiler pass to alter the argument of the constructor while the other config was relying on %kernel.debug%, but the likelihood of that is probably very low.

@nicolas-grekas
Copy link
Member

LGTM 👍

@fabpot
Copy link
Member

fabpot commented Mar 15, 2016

Thank you @patrick-mcdougle.

@fabpot fabpot merged commit 181f256 into symfony:2.7 Mar 15, 2016
fabpot added a commit that referenced this pull request Mar 15, 2016
…ble (patrick-mcdougle)

This PR was merged into the 2.7 branch.

Discussion
----------

[FrameworkBundle] Replace kernel.debug with member variable

| Q             | A
| ------------- | ---
| Branch        | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | unlikely
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

While digging around I noticed that someone added debug to the constructor, but didn't replace all the `%kernel.debug%` strings. This PR is just to improve consistency.

Technically this could cause a BC break if someone was using a compiler pass to alter the argument of the constructor while the other config was relying on `%kernel.debug%`, but the likelihood of that is probably very low.

Commits
-------

181f256 Use debug member variable
@patrick-mcdougle
Copy link
Contributor Author

Noob question: Does this get merged into the more current branches too? 2.8, 3, master?

@patrick-mcdougle patrick-mcdougle deleted the pmcd-validator-cleanup branch March 15, 2016 16:50
@javiereguiluz
Copy link
Member

@patrick-mcdougle yes! From time to time, maintainers merge branch X changes into branch X+1 until they reach the master branch.

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.

5 participants