- last update
over 1 year ago 21 pass - Issue created by @roderik
- Status changed to RTBC
over 1 year ago 3:55pm 2 October 2023 - Status changed to Fixed
over 1 year ago 3:58pm 2 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Current 'inheritance tree' of method definitions:
protected function setUp() {
in D9,protected function setUp(): void {
in D10.protected/public function setUp() {
protected/public function setUp(): void {
As you extend a class, you can add a return type declaration. (Proof; point 2 and 3 + the fact that tests work in D9.)
But you cannot remove it.
Run tests in D10. See crashes.
Add return type in TestBase + UnitTestBase. Tests will work on D10, and should also still work on D9.
Fixed
4.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.