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

Classes from global namespace incorrectly prefixed #135

Closed
theofidry opened this issue Dec 29, 2017 · 0 comments
Closed

Classes from global namespace incorrectly prefixed #135

theofidry opened this issue Dec 29, 2017 · 0 comments

Comments

@theofidry
Copy link
Member

Given the following class:

<?php

class AppKernel
{
}

which is whitelisted (hence should be prefixed), the prefixed code won't change i.e. the namespace with the prefix added is missing:

<?php

namespace PhpScoperPefix; // <- this is missing

class AppKernel
{
}
theofidry pushed a commit that referenced this issue Jan 8, 2018
When prefixing classes from the global namespace, the namespace statement may be missing.

Closes #135.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant