Project

General

Profile

Actions

Task #95738

closed

Make HtmlParser compatible with PHP 8

Added by Francois Suter about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Start date:
2021-10-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
medium
Sprint Focus:

Description

Class \TYPO3\CMS\Core\Html\HtmlParser generates a lot of undefined key warnings when running with PHP 8. It needs to be cleaned up.

This is made rather difficult by the lack of documentation and complete parsing scenario.


Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #95833: HtmlParser throws exception in PHP 8.0Closed2021-10-31

Actions
Has duplicate TYPO3 Core - Bug #95880: Fix "undefined array key" warnings in HtmlParser with PHP 8Closed2021-11-05

Actions
Actions #1

Updated by Gerrit Code Review about 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71941

Actions #2

Updated by Sybille Peters about 3 years ago

François, can you add how to test this?

Actions #3

Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71941

Actions #4

Updated by Stefan Bürk about 3 years ago

François, may you provide some examples ?

  • to verify manually
  • eventually to use and add as tests
Actions #5

Updated by Wouter Wolters about 3 years ago

  • Has duplicate Bug #95833: HtmlParser throws exception in PHP 8.0 added
Actions #6

Updated by Andreas Kienast about 3 years ago

  • Has duplicate Bug #95880: Fix "undefined array key" warnings in HtmlParser with PHP 8 added
Actions #7

Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71941

Actions #8

Updated by Anonymous about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF