print PHP74 compatibility concerns

Created on 18 November 2021, about 3 years ago
Updated 2 June 2024, 8 months ago

Problem/Motivation

I am upgrading PHP71 to PHP74 or PHP80. So I am running PHP_CodeSniffer-3.6.1 and PHPCompatibility-9.3.5 to test for issues.

Steps to reproduce

Install PHP_CodeSniffer-3.6.1 and PHPCompatibility-9.3.5. Run the test.

Proposed resolution

/print/print_pdf/lib_handlers/print_pdf_dompdf/print_pdf_dompdf.pages.inc 137 15 error Function recode_string() is removed since PHP 7.4; Use the iconv or mbstring extension instead

/print/print_pdf/lib_handlers/print_pdf_dompdf/print_pdf_dompdf.pages.inc 137 15 error Extension 'recode' is removed since PHP 7.4; Use iconv or mbstring instead

/print/print_pdf/lib_handlers/print_pdf_tcpdf/print_pdf_tcpdf.pages.inc 67 43 warning Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States webservant316

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

Merge Requests

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