-
-
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
[4.4] Update FtpClient.php #41111
[4.4] Update FtpClient.php #41111
Conversation
PHP 8.1
@stell Will this still work on PHP versions older than 8.1? If not, the PR cannot be used for 4.3 or 4.4 and has to be made for 5.0, i.e. the base branch needs to be changed to 5.0-dev. With Joomla 4.3 and 4.4 we still have to support older PHP versions, with Joomla 5 the minimum required PHP version will be 8.1. |
removed comments
Removed spaces
fixed boolean checks
@richard67 Checking boolean works for FTP Buffer (< 8.1) and FTP\Connection(> 8.0) as far i can see. |
It' something for j4.4 but please check if is_resource or object and instance of the ftp class. |
I have tested this item ✅ successfully on 0d75fae This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41111. |
PHP 8.1
Pull Request for Issue #40438.
Summary of Changes
Existing code that relied on is_resource function now needs to account for the new FTP\Connection class objects in PHP 8.1.
Testing Instructions
see #40438.
Actual result BEFORE applying this Pull Request
fail
Expected result AFTER applying this Pull Request
works
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed