PHP 8.0: Deprecate required parameters after optional parameters

Created on 10 July 2024, 4 months ago
Updated 11 July 2024, 4 months ago

When running this plugin on a site with PHP 8, I get the following PHP Deprecated warning:

Optional parameter $input declared before required parameter $form_state is implicitly treated as a required parameter in /sites/all/modules/commerce_file/includes/commerce_file.field.inc on line 462

This is due to a PHP 8 deprecation: PHP 8.0: Deprecate required parameters after optional parameters in function/method signatures

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hargobind Austin, Texas

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

Comments & Activities

Production build 0.71.5 2024