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

Support PHP 8.4 #110

Merged
merged 4 commits into from
Sep 5, 2024
Merged

Support PHP 8.4 #110

merged 4 commits into from
Sep 5, 2024

Conversation

lolli42
Copy link
Contributor

@lolli42 lolli42 commented Aug 12, 2024

Resolves: #109

foo(string $bar = null) is deprecated, use
foo(?string $bar = null) instead.
PHP 5.6 and 7.0 are so old that the don't support
the '?' nullable parameter. Do support PH> 8.4,
these versions have to be dropped now.
reviewtypo3org pushed a commit to TYPO3/typo3 that referenced this pull request Aug 12, 2024
Activate PHP 8.4 functional tests in pre-merge
and a nightly combination.

Similar to unit tests with #104578, we patch
another library: enshrined/svg-sanitize. A
patch is pending [1], but not yet merged nor
released. Codewise its trivial.

Some tests need a minor adaption since XML
files are created slightly differently with
PHP 8.4, the change aligns the fixtures to
deal with this.

[1] darylldoyle/svg-sanitizer#110

Resolves: #104604
Related: #104578
Releases: main
Change-Id: I5d99275aa14d56c35894b270a7f111a50fd56ab7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85592
Reviewed-by: Garvin Hicking <gh@faktor-e.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Garvin Hicking <gh@faktor-e.de>
TYPO3IncTeam pushed a commit to TYPO3-CMS/core that referenced this pull request Aug 12, 2024
Activate PHP 8.4 functional tests in pre-merge
and a nightly combination.

Similar to unit tests with #104578, we patch
another library: enshrined/svg-sanitize. A
patch is pending [1], but not yet merged nor
released. Codewise its trivial.

Some tests need a minor adaption since XML
files are created slightly differently with
PHP 8.4, the change aligns the fixtures to
deal with this.

[1] darylldoyle/svg-sanitizer#110

Resolves: #104604
Related: #104578
Releases: main
Change-Id: I5d99275aa14d56c35894b270a7f111a50fd56ab7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85592
Reviewed-by: Garvin Hicking <gh@faktor-e.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Garvin Hicking <gh@faktor-e.de>
@lolli42
Copy link
Contributor Author

lolli42 commented Aug 30, 2024

Friendly ping.

@darylldoyle darylldoyle merged commit 068d9fc into darylldoyle:master Sep 5, 2024
10 checks passed
@darylldoyle
Copy link
Owner

Thank you for this @lolli42

@lolli42 lolli42 deleted the lolli-1 branch September 9, 2024 11:53
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.

Support PHP 8.4
2 participants