Composer Dependency Changed PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar tkuschel
tkuschel
8 Sep 2024

Preparation for an update of friendsofphp/php-cs-fixer v3.59.3 to v3.64.0
A compiler optimization has been added for sprintf in PHP 8.4.
Note: php 7.x, and older php 8.x is not affected by this.

Summary of Changes

Replace all sprintf with \sprintf ,
namespace { instead of

namespace
{

Testing Instructions

unit test with friendsofphp/php-cs-fixer v3.64.0

Actual result BEFORE applying this Pull Request

A test with friendsofphp/php-cs-fixer v3.64.0 fails,

Expected result AFTER applying this Pull Request

A test with friendsofphp/php-cs-fixer v3.64.0 passes.

Link to documentations

  • No documentation changes for docs.joomla.org needed
  • 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 Administration com_admin com_fields com_finder com_joomlaupdate com_menus com_newsfeeds com_users Repository Front End External Library Composer Change Libraries
avatar laoneo
laoneo - comment - 9 Sep 2024

Thanks, can you ad the rule to the cs config file as this should be controlled as well
https://cs.symfony.com/doc/rules/function_notation/native_function_invocation.html

avatar tkuschel
tkuschel - comment - 9 Sep 2024

Hi @laoneo, I never did that cs config file before. I would have to work for it first, with little time budget. Maybe you can show me how to do it.

avatar laoneo
laoneo - comment - 10 Sep 2024

Its already there, in the root of the Repository

avatar laoneo
laoneo - comment - 11 Sep 2024

Just realized that we have that already from #41427. So we are all good here. Sorry for the noise.

avatar Hackwar Hackwar - change - 11 Sep 2024
Labels Added: Composer Dependency Changed PR-5.2-dev
avatar Hackwar Hackwar - change - 11 Sep 2024
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-09-11 18:58:51
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