-
Notifications
You must be signed in to change notification settings - Fork 40
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
[BUGFIX] Compatibility with PHP 8.4 #165
[BUGFIX] Compatibility with PHP 8.4 #165
Conversation
Sorry for the changed whitespaces in |
2c92fcb
to
31b0acb
Compare
/** | ||
* Build and return instance of TcaDatabaseRecord based on TYPO3 version | ||
*/ | ||
protected function getTcaDatabaseRecordInstance(): TcaDatabaseRecord |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the introduction of a new function is necessary as obsolete constructor arguments are simply ignored.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed it and always pass the constructor argument directly
9d81e2a
to
15335a9
Compare
8dfad27
to
0afa379
Compare
I have no idea, why there are two cancelled GitHub actions 🤷♂️ |
9b2299d
to
e1ac18d
Compare
As of PHP 8.4 implicitly declaring function parameters nullable is deprecated. Explicitly nullable types have been available since PHP 7.1 See: https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated
…reate constructor argument
e1ac18d
to
3e46ac6
Compare
Based on #163 but with adapted tests