Skip to content

Conversation

bnf
Copy link
Member

@bnf bnf commented Oct 9, 2024

This PR is an alternative to #32.
It drops support for PHP <7.1 in order to support PHP 8.4 deprecation free without requiring arguments to be removed or added.
(Changing arguments caused issues in previous changes, because old and new code is mixed during composer update withing one process)

bnf added 3 commits October 9, 2024 14:15
This is in preparation for PHP 8.4 support
(deprecated implicitly nullable parameters).
Defaulting to null without being nullable (?Foo) is deprecated for typed
parameters in PHP 8.4, therefore nullable is now specified explicitly.
This change requires at least PHP 7.1 (which has been made a minimum
with the parent commit).

Additional the call to str_getcsv is adapted to set all optional
arguments as the defaults will change in PHP >= 9 and PHP 8.4
deprecated the omission of the optional arguments.

Fixes TYPO3#31
Also drop prophecy workarounds since PHP 8.2 compatibility
has been enabled upstream.
@bnf
Copy link
Member Author

bnf commented Oct 9, 2024

Run in TYPO3 testing infrastructure: https://git.typo3.org/typo3/CI/cms/-/jobs/3846652

@helhum helhum merged commit cf2aeba into TYPO3:main Oct 11, 2024
9 checks passed
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.

4 participants