Problem/Motivation
php8.2 compatibility issue
Steps to reproduce
Deprecated function: Creation of dynamic property Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant::$pattern is deprecated in Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant->getPattern() (line 227 of modules/contrib/panels/src/Plugin/DisplayVariant/PanelsDisplayVariant.php).
Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant->getPattern() (Line: 123)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3376992-php8.2-compatibility.patch | 588 bytes | connbi |
Comments
Comment #2
connbi commentedComment #3
joseph.olstadThis looks good to me, compared with the current automated test results, the above patch actually fixes a fail compared to head 8.1 tests.
Comment #5
joseph.olstadThe patch improves test results
RTBC!
Thank you!
Comment #6
joelpittetThank you both @joseph.olstad and @bijiaxing
Comment #9
subir_ghoshTha patch works. Thank you.