Patch for fixing following errors generated by phpcs while checking for PHP 8 compatibility issues.
FILE: /var/www/docroot/sites/all/modules/contrib/date/date_popup/date_popup.module
---------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------
270 | WARNING | Declaring a required parameter after an optional one is deprecated since PHP 8.0.
| | Parameter $input is optional, while parameter $form_state is required.
---------------------------------------------------------------------------------------------------
FILE: /var/www/docroot/sites/all/modules/contrib/date/date_repeat_field/date_repeat_field.module
---------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------
442 | WARNING | Declaring a required parameter after an optional one is deprecated since PHP 8.0.
| | Parameter $rrule is optional, while parameter $field is required.
442 | WARNING | Declaring a required parameter after an optional one is deprecated since PHP 8.0.
| | Parameter $rrule is optional, while parameter $item is required.
---------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | php8-compatibility-3271049.patch | 1.31 KB | sudheeshps |
Comments
Comment #2
sudheeshps commentedUpdated patch
Comment #3
joseph.olstadComment #4
damienmckennaComment #6
damienmckennaCommitted. Thank you.
Comment #7
damienmckennaNeeds to be committed to the 7.x-3.x branch too.
Comment #8
damienmckennaComment #9
joseph.olstadw00t!
Thanks so much @DamienMcKenna
so many great contributors on Drupal.org just want to say thanks. Jacob Rockowitz has done a lot of great work as well but I think you're maybe one of the best of all time!
really nice to get these PHP 8.0 and PHP 8.1 fixes in while we still can.