8000 Remove namespace hacks from autoloaders · Issue #8007 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Remove namespace hacks from autoloaders #8007

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

Closed
ghost opened this issue May 10, 2013 · 1 comment
Closed

Remove namespace hacks from autoloaders #8007

ghost opened this issue May 10, 2013 · 1 comment

Comments

@ghost
Copy link
ghost commented May 10, 2013

PHP < 5.3.2 have a bug where autoloaders may receive a \ as the first character of a class name. There is a hack to trap this in the class loaders. The issue was fixed since PHP 5.3.2 which is the minimum requirement so this hack should be removed.

https://bugs.php.net/bug.php?id=50731

@fabpot
Copy link
Member
fabpot commented May 10, 2013

Looks like a no-brainer to me.

fabpot added a commit that referenced this issue May 16, 2013
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #8052).

Discussion
----------

remove check for PHP bug #50731

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

Commits
-------

28534a6 remove check for PHP bug #50731
@fabpot fabpot closed this as completed May 16, 2013
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

No branches or pull requests

1 participant
0