Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 incompatible syntax in RecipientListController #507

Open
smichaelsen opened this issue Aug 6, 2024 · 1 comment
Open

PHP 8.1 incompatible syntax in RecipientListController #507

smichaelsen opened this issue Aug 6, 2024 · 1 comment

Comments

@smichaelsen
Copy link
Contributor

In RecipientListController.php:

protected array $allowedTables = [DmailRecipientEnum::TtAddress->value, DmailRecipientEnum::FeUsers->value],

This line works since PHP 8.2

Here is a minimal example, that shows that this kind of access doesn't work in PHP 8.1: https://onlinephp.io/c/a548f

Since 8.1 is a supported version of TYPO3 v12, I suggest to revert to just using the strings at that place.

@Patta
Copy link
Contributor

Patta commented Oct 15, 2024

I can confirm this issue with php v8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants