Composer Dependency Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
11 Aug 2021

Summary of Changes

Apply PHP 5.3 combat changes to the core code and lessphp + phpmailer

Testing Instructions

make sure the CMS works on php5.3 or do a code review

Actual result BEFORE applying this Pull Request

some errors on php5.3

Expected result AFTER applying this Pull Request

no issues on php 5.3 any more

Documentation Changes Required

none

avatar zero-24 zero-24 - open - 11 Aug 2021
avatar zero-24 zero-24 - change - 11 Aug 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Aug 2021
Category Unit Tests
avatar zero-24 zero-24 - change - 11 Aug 2021
Labels Added: ? ? ?
avatar zero-24 zero-24 - change - 11 Aug 2021
Labels Added: ? ? ?
Removed: ? ? ?
avatar richard67
richard67 - comment - 11 Aug 2021

@zero-24 The PHP 5.3. check did fail, but not due to what you wanna do with this PR, it just failed with the usual, randomly appearing error with connecting to MySQL.

I wrote in the other PR that the issue with the commas had nothing to do with PHP versions. This might be the case for array syntax array(1,2,3,) or in newer PHP versions [1,2,3,], but the calls fixed in the other PR #35091 were not these array calls but normal calls to functions, and there the comma is wrong in any case as far as I know.

So I do not expect any benefit from this PR here except that we have system tests also for 5.3. But I don't think they will be different to 5.4 in their result.

avatar joomla-cms-bot joomla-cms-bot - change - 11 Aug 2021
Category Unit Tests Unit Tests Administration com_joomlaupdate External Library Libraries Composer Change
avatar zero-24 zero-24 - change - 11 Aug 2021
Labels Added: Composer Dependency Changed
avatar zero-24
zero-24 - comment - 11 Aug 2021

This page here has to be reviewed, some are not relevant some are: https://ci.joomla.org/joomla/joomla-cms/46488/1/4

but the calls fixed in the other PR #35091 were not these array calls but normal calls to functions, and there the comma is wrong in any case as far as I know.

Well i did not got any error like the reporter on 7.3ish so it might be legar now i have not checked that.

avatar HLeithner
HLeithner - comment - 11 Aug 2021

You change files directly in the vendor folder which is not allowed.

Please update our forks of lessphp and phpmailer and release a new version

avatar zero-24
zero-24 - comment - 11 Aug 2021

You change files directly in the vendor folder which is not allowed.

Please update our forks of lessphp and phpmailer and release a new version

Yes will do it was only to check that there are no more than the ones i found by than.

avatar zero-24 zero-24 - change - 12 Aug 2021
Labels Added: ? ? ?
Removed: ? ? ?
avatar zero-24 zero-24 - change - 12 Aug 2021
Labels Added: ? ? ?
Removed: ? ? ?
avatar zero-24
zero-24 - comment - 12 Aug 2021

PRs for the backport repos have been done once merged will update them using composer

avatar zero-24 zero-24 - change - 13 Aug 2021
Labels Added: ? ? ?
Removed: ? ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 13 Aug 2021
Category Unit Tests Administration com_joomlaupdate External Library Libraries Composer Change Administration com_joomlaupdate External Library Composer Change Libraries
avatar zero-24 zero-24 - change - 13 Aug 2021
Labels Added: ? ?
Removed: ? ? ?
avatar zero-24 zero-24 - change - 13 Aug 2021
Title
[3.10] Add drone linter step for PHP 5.3
[3.10] Apply PHP 5.3 combat changes to the core code and lessphp + phpmailer
avatar zero-24 zero-24 - edited - 13 Aug 2021
avatar zero-24 zero-24 - change - 13 Aug 2021
The description was changed
avatar zero-24 zero-24 - edited - 13 Aug 2021
avatar zero-24
zero-24 - comment - 13 Aug 2021

I have just removed the drone step for now too and only apply the combat issues here. The drone step has to be checked later again.

avatar HLeithner HLeithner - change - 13 Aug 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-08-13 09:07:54
Closed_By HLeithner
Labels Added: ? ?
Removed: ? ?
avatar HLeithner HLeithner - close - 13 Aug 2021
avatar HLeithner HLeithner - merge - 13 Aug 2021
avatar HLeithner
HLeithner - comment - 13 Aug 2021

Thanks

Add a Comment

Login with GitHub to post a comment