- Issue created by @tr
- Status changed to Fixed
7 months ago 7:28pm 13 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.
This test-only class causes some warnings in the current version of phpstan and with strict type checking turned on:
------ -----------------------------------------------------------------------
Line tests/src/Unit/TestMessenger.php
------ -----------------------------------------------------------------------
25 Method Drupal\Tests\rules\Unit\TestMessenger::addMessage() should
return $this(Drupal\Tests\rules\Unit\TestMessenger) but return
statement is missing.
65 Method Drupal\Tests\rules\Unit\TestMessenger::messagesByType() should
return array<Drupal\Component\Render\MarkupInterface|string> but
return statement is missing.
81 Method Drupal\Tests\rules\Unit\TestMessenger::deleteByType() should
return array<Drupal\Component\Render\MarkupInterface|string> but
return statement is missing.
Fixed
4.0
Tests
Automatically closed - issue fixed for 2 weeks with no activity.