Coding standards fixes (phpstan)

Created on 27 May 2024, 11 months ago
Updated 10 June 2024, 10 months ago

There are two issues reported by phpstan:

 ------ --------------------------------------------------------------------- 
  Line   src/JsonViews.php                                                    
 ------ --------------------------------------------------------------------- 
  22     Call to deprecated function module_load_include():                   
         in drupal:9.4.0 and is removed from drupal:11.0.0.                   
           Use \Drupal::moduleHandler()->loadInclude($module, $type, $name =  
         NULL).                                                               
           Note that including code from uninstalled extensions is no longer  
           supported.                                                         
 ------ --------------------------------------------------------------------- 
 ------ -------------------------------------------------------------------- 
  Line   tests/src/Kernel/JsonItemTest.php                                   
 ------ -------------------------------------------------------------------- 
  380    Method Drupal\Tests\json_field\Kernel\JsonItemTest::fieldSizeMap()  
         should return string but return statement is missing.               
 ------ -------------------------------------------------------------------- 
πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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