Composer Dependency Changed PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar tkuschel
tkuschel
8 Sep 2024

Pull Request for Issue #44028 .

Updated composer files, b/c of fixed phpseclib/bcmath_compat#6

Summary of Changes

phpseclib/bcmath_compat from 2.0.2 to 2.0.3

The following 3 packages have also been updated as a side effect as expected:
maximebf/debugbar v1.22.3 to v1.22.4
friendsofphp/php-cs-fixer v3.59.3 to v3.64.0
phpstan/phpstan 1.12.0 to 1.12.2

Actual result BEFORE applying this Pull Request

bcmath_compat:
The exception ArgumentCountError gives wrong given parameter length. see phpseclib/bcmath_compat#6
for more details.

Expected result AFTER applying this Pull Request

Fixed

Link to documentations

  • [X ] No documentation changes for docs.joomla.org needed
  • [X ] No documentation changes for manual.joomla.org needed
avatar tkuschel tkuschel - open - 8 Sep 2024
avatar tkuschel tkuschel - change - 8 Sep 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2024
Category External Library Composer Change
avatar tkuschel
tkuschel - comment - 8 Sep 2024

What did I do wrong here that the build test "continuous-integration/dron/pr with phpcs failed?
Is it correct that all files that are in the log file of the cs-fixer must be adjusted; so here in this case it is the sprintf which should be written as \sprintf, according to the phpcs.

avatar tkuschel tkuschel - change - 8 Sep 2024
Title
UPD composer files, phpseclib/bcmath_compat 2.0.3
[5.2] UPD composer files, phpseclib/bcmath_compat 2.0.3
avatar tkuschel tkuschel - edited - 8 Sep 2024
avatar richard67
richard67 - comment - 8 Sep 2024

What did I do wrong here that the build test "continuous-integration/dron/pr with phpcs failed? Is it correct that all files that are in the log file of the cs-fixer must be adjusted; so here in this case it is the sprintf which should be written as \sprintf, according to the phpcs.

@tkuschel If you check the changes in the composer.lock file from your PR, you will see that it doesn't only update the phpseclib/bcmath_compat dependency but also others, including the code style checker. I think that's the reason why it complains about unrelated files now. Maybe you have run a composer update (without any option) instead of composer update phpseclib/bcmath_compat for updating just that dependency?

avatar tkuschel tkuschel - change - 8 Sep 2024
Labels Added: Composer Dependency Changed PR-5.2-dev
avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2024
Category External Library Composer Change Administration com_admin com_fields com_finder com_joomlaupdate com_menus com_newsfeeds com_users Repository Front End External Library Composer Change Libraries
avatar tkuschel
tkuschel - comment - 8 Sep 2024

Thank you for the detailed description, I have corrected this.

avatar brianteeman
brianteeman - comment - 8 Sep 2024

It would have been better if you did what @richard67 said and ONLY updated bcmath with this PR.

Other changes such as phpcs and changing the sprintf should be in their own pull requests.

avatar tkuschel
tkuschel - comment - 8 Sep 2024

Other changes such as phpcs and changing the sprintf should be in their own pull requests.

That's a good point. I will pick this apart. I didn't imagine that the composer update would cause such work :-) See #44037

avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2024
Category External Library Composer Change Administration com_admin com_fields com_finder com_joomlaupdate com_menus com_newsfeeds com_users Repository Front End Libraries External Library Composer Change
avatar tkuschel tkuschel - change - 8 Sep 2024
The description was changed
avatar tkuschel tkuschel - edited - 8 Sep 2024
avatar richard67
richard67 - comment - 8 Sep 2024

@tkuschel You haven't reverted yet the unrelated changes of other dependencies.

avatar richard67 richard67 - change - 8 Sep 2024
The description was changed
avatar richard67 richard67 - edited - 8 Sep 2024
avatar tkuschel
tkuschel - comment - 8 Sep 2024

@tkuschel You haven't reverted yet the unrelated changes of other dependencies.

Had no time, now it looks good. I had dependencies with other local branches.

avatar Hackwar Hackwar - change - 11 Sep 2024
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-09-11 17:21:28
Closed_By Hackwar
avatar Hackwar Hackwar - close - 11 Sep 2024
avatar Hackwar Hackwar - merge - 11 Sep 2024
avatar Hackwar
Hackwar - comment - 11 Sep 2024

Thank you for your contribution @tkuschel!

Add a Comment

Login with GitHub to post a comment