Task #95738
closedMake HtmlParser compatible with PHP 8
100%
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.
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
Updated by Sybille Peters about 3 years ago
François, can you add how to test this?
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
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
Updated by Wouter Wolters about 3 years ago
- Has duplicate Bug #95833: HtmlParser throws exception in PHP 8.0 added
Updated by Andreas Kienast about 3 years ago
- Has duplicate Bug #95880: Fix "undefined array key" warnings in HtmlParser with PHP 8 added
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
Updated by Anonymous about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 22702bd6fc334a91b53e4e01ddcfc5ce6d1958be.