GitLab CI shows the following PHPStan issues.

  Line   src/Plugin/DisplayFieldsField/FieldReference.php                       
 ------ ----------------------------------------------------------------------- 
  64     Variable $display_settings on left side of ?? always exists and is     
         not nullable.                                                          
  134    Variable $field_display_settings on left side of ?? always exists and  
         is not nullable.                                                       

 
 
The null coalescing operator should not be used for values that cannot be null.

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

apaderno created an issue. See original summary.

avpaderno’s picture

Issue summary: View changes

avpaderno’s picture

Status: Active » Needs review

  • apaderno committed 17f9558d on 9.1.x
    Issue #3431257: Do not use the null coalescing operator when not...
avpaderno’s picture

Status: Needs review » Fixed
avpaderno’s picture

Status: Fixed » Closed (fixed)

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