S3fsStream.php SelectInterface::escapeLike() expects string, string|null given

Created on 5 August 2025, about 2 months ago

Problem/Motivation

 ------ ------------------------------------------------------------------ 
  Line   src/StreamWrapper/S3fsStream.php                                  
 ------ ------------------------------------------------------------------ 
  1180   Parameter #1 $string of method                                    
         Drupal\Core\Database\Query\SelectInterface::escapeLike() expects  
         string, string|null given.                                        
  1191   Parameter #1 $string of method                                    
         Drupal\Core\Database\Query\SelectInterface::escapeLike() expects  
         string, string|null given.                                        
  1456   Parameter #1 $string of method                                    
         Drupal\Core\Database\Query\SelectInterface::escapeLike() expects  
         string, string|null given.                                        
  1467   Parameter #1 $string of method                                    
         Drupal\Core\Database\Query\SelectInterface::escapeLike() expects  
         string, string|null given.                                        
 ------ ------------------------------------------------------------------ 

Steps to reproduce

https://git.drupalcode.org/issue/s3fs-3533311/-/jobs/6091456
Job against D11.2 with allow 11.2 patch.

Proposed resolution

Resolve PHPStan Warning

Remaining tasks

User interface changes

None Expected

API changes

None expected

Data model changes

None expected

πŸ“Œ Task
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cmlara

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