Skip to content

Conversation

@brianteeman
Copy link
Contributor

Pull Request for Issue # .

Summary of Changes

In PHP 8.4, not passing the $escape parameter emits a deprecation notice. Passing the $escape parameter explicitly avoids the deprecation notice.

Testing Instructions

Using php 8.4 go to action logs and export, Check the export

Actual result BEFORE applying this Pull Request

Deprecation notice
<b>Deprecated</b>: fputcsv(): the $escape parameter must be provided as its default value will change in <b>D:\repos\j6\administrator\components\com_actionlogs\src\Controller\ActionlogsController.php</b> on line <b>113</b><br />

Expected result AFTER applying this Pull Request

No deprecation notice

Reference https://php.watch/versions/8.4/csv-functions-escape-parameter

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

softforge and others added 30 commits April 30, 2025 07:27
Merge pull request joomla#45474 from Bodge-IT/upmerges/2025-05-14
…n XML (joomla#35184)

* Update ModuletagField.php
* Update HeadertagField.php

* Phase 1 convert BRANCH to PSR-12
* Phase 2 convert BRANCH to PSR-12
---------
* Revert "[6.0] Removing CMS Input package (joomla#42890)"

This reverts commit 1be1415.
* Move input classes to compatibility plugin
* Update Compat.php
* cs
* more cs
* Move back to  libraries
* move to if
* path only
---------
Co-authored-by: Quy Ton <quy@nomonkeybiz.com>
* Create backward compatibility 6 plugin
* Moved relevant code from old compat plugin and removed it

considered changes from prs:
joomla#44926
joomla#44240
joomla#44638
joomla#44700
joomla#43209
joomla#43958
joomla#42884

* Add new plugin on install and uninstall old plugin
* Remove compat media folder, add compat6 removed.asset.json
* Fix cs exceptions
* Update ExtensionHelper
* Rename Compat.php to Compat6.php
* Disable compat6 plugin for system tests
* Restore class aliases from compat 5 plugin
* Relocate files from joomla#44925

---------

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Brian Teeman <brian@teeman.net>
Updating code changed in joomla#44090 to latest method
Merge pull request joomla#45511 from Bodge-IT/upmerges/2025-05-21
Merge pull request joomla#45526 from Bodge-IT/upmerges/2025-05-25
Pre -alpha prep.
* Create backward compatibility 6 plugin

* Moved relevant code from old compat plugin and removed it

considered changes from prs:
joomla#44926
joomla#44240
joomla#44638
joomla#44700
joomla#43209
joomla#43958
joomla#42884

* Add new plugin on install and uninstall old plugin

* Remove compat media folder, add compat6 removed.asset.json

* Fix cs exceptions

* Update ExtensionHelper

* Rename Compat.php to Compat6.php

* Disable compat6 plugin for system tests

* Update administrator/language/en-GB/plg_behaviour_compat6.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update plugins/behaviour/compat6/compat6.xml

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update plugins/behaviour/compat6/compat6.xml

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update administrator/language/en-GB/plg_behaviour_compat6.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update administrator/language/en-GB/plg_behaviour_compat6.sys.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update plugins/behaviour/compat6/src/Extension/Compat6.php

* Restore class aliases from compat 5 plugin

* Relocate files from joomla#44925

* Apply language string improvement from review suggestion

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update plugins/behaviour/compat6/src/Extension/Compat6.php

Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>

* Update plugins/behaviour/compat6/compat6.xml

Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>

* Update installation/sql/mysql/base.sql

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>

* Update installation/sql/postgresql/base.sql

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>

* Fix wrong folder in uninstallation of compat (5) plugin.

---------

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Richard Fath <richard.fath@t-online.de>
Co-authored-by: Brian Teeman <brian@teeman.net>
Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com>
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
…la#45462)

* Add deleted files and folders 2025-05-11

* Add deleted files from PR 45480 and update SQL scripts

* Add exceptions to deleted_file_check

* More exceptions for files deleted by plugin uninstallation
obuisard and others added 17 commits October 9, 2025 15:41
* Create tada.txt
* Delete build/media_source/com_guidedtours/images/6_0/cassiopeiacolors.jpg
* Add files via upload
* Delete build/media_source/com_guidedtours/images/6_0/tada.txt
* Add new image file
* Rename cassiopeiacolors.jpg to cassiopeiacolors_old.jpg
* Image with new size
* Delete build/media_source/com_guidedtours/images/6_0/cassiopeiacolors_old.jpg
… tag name instead of the tag id (joomla#46174)

* update sql
* [CMS PR 46174] Update the update SQL scripts and for new installations supports.sql (#21)
* Names quotes for column names
* Remove some tabs
* Use separate lines for closing brackets
* Fix SQL error "operator does not exist"
* Append only once to array
* Update supports.sql for new installations
* Remove wrong unique constraint from "#__ucm_content" table on PostgreSQL

* Rename 6.0.0-2025-10-11.sql to 6.0.0-2025-10-12.sql

* Rename 6.0.0-2025-10-12.sql to 6.0.0-2025-10-10.sql
* Fix version history

* CS

* Fix hardcoded table name

* Add field for new installation

* Update administrator/components/com_admin/sql/updates/postgresql/6.0.0-2025-10-11.sql

* Update administrator/components/com_admin/sql/updates/mysql/6.0.0-2025-10-11.sql

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>

* Prevent data lost when restore from version history created prior to Joomla 6

* Update administrator/components/com_admin/sql/updates/postgresql/6.0.0-2025-10-11.sql

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>

* Add field for new installation

* Make phpstan happy

* Update libraries/src/Versioning/VersionableModelTrait.php

Co-authored-by: Christian Heel <66922325+heelc29@users.noreply.github.com>

* Only store item real data into history

* Revert "Only store item real data into history"

* Avoid random column could not be null when restore from version history

* Mark the history record not created by VersionableModelTrait as legacy

* Fix warning for subform fields on compare view

* Code simplify, thanks Richard

* Move merge data logic to trait to make it easier for third party integration if not call parent::save

* Use new way for saving category version history

* Use new way to store version history for Tags

* Prevent Version plugin save history for for Content, Banner, Contact

* Use right context for category

* Fix current version not detected properly on history view
Merge pull request joomla#46350 from richard67/6.0-dev-upmerge-2025-10-22
* Update create-translation-pull-request-v6.yml
* Language update
@richard67
Copy link
Member

@brianteeman Shouldn't that be fixed in 5.4-dev (and then be merged up into 6.0-dev by RMs)? The issue applies to 5.4-dev, see https://github.com/joomla/joomla-cms/blob/5.4-dev/administrator/components/com_actionlogs/src/Controller/ActionlogsController.php#L113 .

@brianteeman brianteeman changed the base branch from 6.0-dev to 5.4-dev November 8, 2025 10:03
@brianteeman brianteeman closed this Nov 8, 2025
@brianteeman
Copy link
Contributor Author

cant downgrade on a rebase - new pr #46423

@brianteeman brianteeman deleted the escape branch November 8, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.