Fix PHP 8.2 warnings

Created on 20 September 2023, about 1 year ago
Updated 25 January 2024, 10 months ago

Problem/Motivation

After migrating to PHP 8.2, the module generates the following warning
Deprecated function: Creation of dynamic property Drupal\views_arg_order_sort\Plugin\views\sort\ArgOrderSort::$sort_values is deprecated

Steps to reproduce

1. Migrate to PHP 8.2
2. Install and configure the module
3. Load a page where the module is enabled

Proposed resolution

Declare the sort_values property as an array at the beginning of the class.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇴Colombia yovanny.gomez.oyola

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024