Skip to content

OpenSearch fix for: passing null is deprecated#38431

Merged
wilsonge merged 1 commit intojoomla:4.2-devfrom
Fedik:php8-opsearch
Aug 31, 2022
Merged

OpenSearch fix for: passing null is deprecated#38431
wilsonge merged 1 commit intojoomla:4.2-devfrom
Fedik:php8-opsearch

Conversation

@Fedik
Copy link
Copy Markdown
Member

@Fedik Fedik commented Aug 10, 2022

Pull Request for Issue #38427 .

Summary of Changes

Fix PHP 8 deprecation warning: Passing null to parameter ($string) of type string is deprecated

Testing Instructions

Use php 8+, error_reporting maximum
Apply patch.
Open smart search page. Add ?format=opensearch to URL, and open.
Inspect the result.

Actual result BEFORE applying this Pull Request

deprecation warning

Expected result AFTER applying this Pull Request

no deprecation warning

Documentation Changes Required

no

@Fedik Fedik added the PHP 8.x PHP 8.x deprecated issues label Aug 10, 2022
@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on c3636c1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38431.

1 similar comment
@Quy
Copy link
Copy Markdown
Contributor

Quy commented Aug 10, 2022

I have tested this item ✅ successfully on c3636c1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38431.

@Quy Quy added RTC This Pull Request is Ready To Commit and removed PHP 8.x PHP 8.x deprecated issues labels Aug 10, 2022
@Quy
Copy link
Copy Markdown
Contributor

Quy commented Aug 10, 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38431.

@wilsonge wilsonge merged commit d059269 into joomla:4.2-dev Aug 31, 2022
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 31, 2022
@wilsonge
Copy link
Copy Markdown
Contributor

Thanks!

@wilsonge wilsonge added this to the Joomla! 4.2.1 milestone Aug 31, 2022
@Fedik Fedik deleted the php8-opsearch branch August 31, 2022 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants