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.               
 ------ -------------------------------------------------------------------- 

Issue fork json_field-3450101

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

DamienMcKenna created an issue. See original summary.

ptmkenny’s picture

damienmckenna’s picture

Ok, thank you.

damienmckenna’s picture

Reopening.

ptmkenny’s picture

Title: Coding standards fixes » Coding standards fixes (phpstan)

I'm sorry, I misread the issue and didn't realize it was about phpstan. I'll try to read more carefully next time!

damienmckenna’s picture

No worries.

damienmckenna’s picture

Assigned: damienmckenna » Unassigned

This is almost done but I need to break for a while.

damienmckenna’s picture

Assigned: Unassigned » damienmckenna
damienmckenna’s picture

Status: Active » Fixed

Committed.

damienmckenna’s picture

damienmckenna’s picture

Assigned: damienmckenna » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.