Skip to content
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

[ClassLoader] define constant only if it wasn't defined before #12716

Merged
merged 1 commit into from
Nov 29, 2014

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Nov 29, 2014

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

@xabbuh
Copy link
Member Author

xabbuh commented Nov 29, 2014

I actually wasn't able to reproduce the issue reported by @arnaugm and @desarrolla2 in #12372. Nonetheless, to me it seems to be a good idea to define a constant only if it has not been defined before.

@fabpot
Copy link
Member

fabpot commented Nov 29, 2014

Thank you @xabbuh.

@fabpot fabpot merged commit 388229b into symfony:2.3 Nov 29, 2014
fabpot added a commit that referenced this pull request Nov 29, 2014
…fore (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[ClassLoader] define constant only if it wasn't defined before

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

Commits
-------

388229b define constant only if it wasn't defined before
@xabbuh xabbuh deleted the pr-12382-constant-fix branch November 29, 2014 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants