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

[6.0] FilesystemHelper #44705

Open
brianteeman opened this issue Jan 9, 2025 · 0 comments
Open

[6.0] FilesystemHelper #44705

brianteeman opened this issue Jan 9, 2025 · 0 comments

Comments

@brianteeman
Copy link
Contributor

brianteeman commented Jan 9, 2025

The filesystemhelper is marked as deprecated

* File system helper
*
* Holds support functions for the filesystem, particularly the stream
*
* @since 1.7.0
* @deprecated 4.4 will be removed in 6.0
* Use Joomla\Filesystem\Helper instead.

However the function fileUploadMaxSize is not marked as deprecated AND is not present in Joomla\Filesystem\Helper

/**
* Calculates the maximum upload file size and returns string with unit or the size in bytes
*
* Call it with JFilesystemHelper::fileUploadMaxSize();
*
* @param bool $unitOutput This parameter determines whether the return value should be a string with a unit
*
* @return float|string The maximum upload size of files with the appropriate unit or in bytes
*
* @since 3.4
*/
public static function fileUploadMaxSize($unitOutput = true)

@brianteeman brianteeman changed the title FilesystemHelper [6.0] FilesystemHelper Jan 10, 2025
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

2 participants