Skip to content

Conversation

lolli42
Copy link
Member

@lolli42 lolli42 commented Oct 20, 2021

We need phpunit 8 to run PHP 8.0 and 8.1.

To stay compatible, we need to have a small hack
for setUp() and tearDown() - their signature must
have :void, which is not supported in low PHP versions.
We rename to custom methods and use @before / @after
annotation instead.

Another small hack is needed for phpunit exception
expectations.

We need phpunit 8 to run PHP 8.0 and 8.1.

To stay compatible, we need to have a small hack
for setUp() and tearDown() - their signature must
have :void, which is not supported in low PHP versions.
We rename to custom methods and use @before / @after
annotation instead.

Another small hack is needed for phpunit exception
expectations.
@helhum helhum merged commit b5c1fdc into TYPO3:master Oct 20, 2021
@lolli42 lolli42 deleted the lolli-2 branch October 20, 2021 15:39
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

Successfully merging this pull request may close these issues.

2 participants