? PHP 8.x Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
20 Feb 2022

Summary of Changes

fix php 8.1 deprecations

Testing Instructions

apply joomla-framework/input#37
set error reporting to development
php 8.1
browse front / backend

Actual result BEFORE applying this Pull Request

  • PHP Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /joomla-cms/libraries/vendor/joomla/input/src/Input.php on line 41

  • PHP Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /joomla-cms/libraries/vendor/joomla/input/src/Input.php on line 170

  • PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/libraries/src/Uri/Uri.php on line 143

  • PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/administrator/includes/helper.php on line 31

  • PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /joomla-cms/libraries/src/Language/Text.php on line 98

  • PHP Deprecated: PDO::quote(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/libraries/joomla/database/driver/pdomysql.php on line 472

  • PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/libraries/src/Application/CMSApplication.php on line 180

  • PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/administrator/components/com_content/models/article.php on line 326

  • PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/libraries/src/Editor/Editor.php on line 368

  • PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/layouts/joomla/form/field/url.php on line 72

  • PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /joomla-cms/libraries/legacy/form/field/componentlayout.php on line 68

  • PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/libraries/src/Application/CMSApplication.php on line 170

  • PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /joomla-cms/administrator/components/com_categories/helpers/categories.php on line 36

  • PHP Deprecated: Function strftime() is deprecated in /joomla-cms/libraries/joomla/form/fields/calendar.php on line 252

  • PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/libraries/src/Layout/BaseLayout.php on line 119

  • PHP Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/administrator/components/com_fields/models/group.php on line 314

  • PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /joomla-cms/administrator/components/com_fields/helpers/fields.php on line 37

  • PHP Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/libraries/src/MVC/Model/ListModel.php on line 616

  • PHP Deprecated: ConfigControllerDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /joomla-cms/components/com_config/controller/display.php on line 17

  • PHP Deprecated: ConfigControllerApplicationDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /joomla-cms/administrator/components/com_config/controller/application/display.php on line 18

  • PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/components/com_config/controller/display.php on line 82

  • PHP Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /joomla-cms/libraries/src/Language/Language.php on line 1172

  • PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /joomla-cms/libraries/legacy/form/field/modulelayout.php on line 69

  • PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /joomla-cms/administrator/components/com_users/models/level.php on line 161

  • PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /shared/httpd/git/joomla-cms/libraries/src/Filesystem/Path.php on line 225

Expected result AFTER applying this Pull Request

no more previous deprecations

Votes

# of Users Experiencing Issue
2/2
Average Importance Score
3.50

avatar alikon alikon - open - 20 Feb 2022
avatar alikon alikon - change - 20 Feb 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Feb 2022
Category Administration com_categories com_content com_fields com_users Front End com_config Layout Libraries External Library Composer Change
avatar alikon alikon - change - 20 Feb 2022
Labels Added: Composer Dependency Changed ?
avatar alikon alikon - change - 20 Feb 2022
The description was changed
avatar alikon alikon - edited - 20 Feb 2022
289da0b 20 Feb 2022 avatar alikon dep81
avatar alikon alikon - change - 20 Feb 2022
Labels Added: ?
avatar alikon alikon - change - 20 Feb 2022
The description was changed
avatar alikon alikon - edited - 20 Feb 2022
avatar alikon alikon - change - 7 Mar 2022
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 7 Mar 2022
Category Administration com_categories com_content com_fields com_users Front End com_config Layout Libraries External Library Composer Change Administration com_categories com_content com_fields com_users Front End com_config Layout Libraries
avatar alikon alikon - change - 7 Mar 2022
The description was changed
avatar alikon alikon - edited - 7 Mar 2022
avatar alikon alikon - change - 21 Mar 2022
Labels Added: PHP 8.x
Removed: Composer Dependency Changed ? ?
avatar alikon alikon - reopen - 21 Mar 2022
avatar alikon
alikon - comment - 21 Mar 2022

looking forward for a better pr

avatar alikon alikon - close - 21 Mar 2022
avatar alikon alikon - change - 21 Mar 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-03-21 20:18:11
Closed_By alikon

Add a Comment

Login with GitHub to post a comment