Update TestMessenger

Created on 13 August 2024, about 1 month ago
Updated 27 August 2024, 20 days ago

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.    
πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Tests

Created by

πŸ‡ΊπŸ‡ΈUnited States TR Cascadia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024