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

[3.9] Namespace filesystem #18565

Closed
wants to merge 5 commits into from

Conversation

fastslack
Copy link
Contributor

Filesystem namespace

Summary of Changes

Moved all libraries names to use namespace

Testing Instructions

Use as usual, all should work fine.

Expected result

No errors

This reverts commit 221a636.
@laoneo
Copy link
Member

laoneo commented Nov 14, 2017

Thank you very much. The wrappers can't be deleted on Joomla 3.9, after this one gets merged, we can then delete them in the 4.0 branch as we did with the other wrappers. I guess for the rest we can slowly migrate the code then to the framework filesystem package internally.


/**
* A Unified Diff Format Patcher class
*
* @link http://sourceforge.net/projects/phppatcher/ This has been derived from the PhpPatcher version 0.1.1 written by Giuseppe Mazzotta
* @since 12.1
*/
class JFilesystemPatcher
class Patcher
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be FilesystemPatcher?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm i dont know, i think the correct way to call this is use Joomla\CMS\Filesystem\Patcher; and not use Joomla\CMS\Filesystem\FilesystemPatcher;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont mean the use statement. I meant the class name. You've used class Patcher ans it should be class FileSystemPatcher

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's fine as is

@fastslack
Copy link
Contributor Author

Closing this, i ll open a new one soon with wrappers

@fastslack fastslack closed this Nov 16, 2017
@laoneo
Copy link
Member

laoneo commented Nov 16, 2017

Or just add the files again and commit them to the branch then you should be good to go, no need to close it.

@fastslack
Copy link
Contributor Author

fastslack commented Nov 16, 2017

But if i add the files i ll lose all git logs, also i need to change others files that point to wrappers. Dont worry i can do it fast using the patches

@laoneo
Copy link
Member

laoneo commented Nov 16, 2017

Not sure if your really loose the logs. Which files have been using the wrappers. Probably you can leave them as we are going to remove the wrappers in 4 anyway.

@fastslack
Copy link
Contributor Author

Its done here: #18584

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.

5 participants