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

Move JErrorPage to namespace #14231

Merged
merged 5 commits into from
Mar 27, 2017
Merged

Conversation

laoneo
Copy link
Member

@laoneo laoneo commented Feb 24, 2017

Move JErrorPage class to namespace. Additionally some doc blocks are changed to be inline with rest.

@zero-24 zero-24 added this to the Joomla 3.8.0 milestone Feb 24, 2017
@mbabker
Copy link
Contributor

mbabker commented Feb 24, 2017

I know so far this has been just a straight "move to namespace" effort, but with this one class, can we take the opportunity to rename it to something more logical? Joomla\Cms\ExceptionHandler perhaps?

It really isn't an error page renderer (even though that's what it is doing), it's the default global exception handler.

@laoneo
Copy link
Member Author

laoneo commented Feb 24, 2017

That's the reason why I do a pr per folder that we can do some cleanup during the move.

What about moving it to Joomla\Cms\Exception\ExceptionHandler? When we will have some more global exceptions then we can put them all into that folder. Even JException.

@mbabker
Copy link
Contributor

mbabker commented Feb 24, 2017

I don't care if it's in a subnamespace, I just prefer the class name to not be ErrorPage 😄

@laoneo
Copy link
Member Author

laoneo commented Feb 24, 2017

Done

@wilsonge wilsonge merged commit 612ba99 into joomla:3.8-dev Mar 27, 2017
@laoneo laoneo deleted the j3/namespace/error branch March 27, 2017 09:26
@mbabker mbabker added this to Known Issue in [4.0] Namespacing Apr 19, 2017
@mbabker mbabker moved this from Known Issue to Completed in [4.0] Namespacing Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

6 participants