-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[3.9] Namespace filesystem #18565
Conversation
This reverts commit 221a636.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be FilesystemPatcher
?
There was a problem hiding this comment.
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;
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Closing this, i ll open a new one soon with wrappers |
Or just add the files again and commit them to the branch then you should be good to go, no need to close it. |
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 |
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. |
Its done here: #18584 |
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