Skip to content
Snippets Groups Projects
Commit cd399d1a authored by Larry Garfield's avatar Larry Garfield Committed by Christian Kuhn
Browse files

[TASK] Resolve fatal errors in unit tests under PHP 8.1

PHP 8.1 now includes types on built in class's properties, which means
redeclaring them without types breaks. Let's not do that.

This patch resolves all hard-fatals in unit tests, but not all errors.

Resolves: #95155
Releases: master
Change-Id: Ied1b8c3c9f35692f0fe2a793972f06cb3ef79d7f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70972


Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent d0740464
Branches
Tags
No related merge requests found
......@@ -27,13 +27,6 @@ class CsvStreamFilter extends \php_user_filter
{
protected const NAME = 'csv.typo3';
/**
* @var array contains 'sequence' key for stream filter
* @private
* @internal
*/
public $params = [];
/**
* Implicitly handles stream filter when writing CSV data - example:
*
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment