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

Skip to content

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