Problem/Motivation

11.2 phpstan shows the following:

 ------ -------------------------------------------------------------------------- 
  Line   tests/src/Functional/KeyChangeTest.php                                    
 ------ -------------------------------------------------------------------------- 
  158    Access to an undefined property                                           
         Drupal\Core\Field\FieldItemListInterface::$encryption_profile.            
         🪪 property.notFound                                                      
         💡 Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  
  159    Access to an undefined property                                           
         Drupal\Core\Field\FieldItemListInterface::$encryption_profile.            
         🪪 property.notFound                                                      
         💡 Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  
  160    Access to an undefined property                                           
         Drupal\Core\Field\FieldItemListInterface::$encryption_profile.            
         🪪 property.notFound                                                      
         💡 Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  
  185    Access to an undefined property                                           
         Drupal\Core\Field\FieldItemListInterface::$encryption_profile.            
         🪪 property.notFound                                                      
         💡 Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  
  186    Access to an undefined property                                           
         Drupal\Core\Field\FieldItemListInterface::$encryption_profile.            
         🪪 property.notFound                                                      
         💡 Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  
  187    Access to an undefined property                                           
         Drupal\Core\Field\FieldItemListInterface::$encryption_profile.            
         🪪 property.notFound                                                      
         💡 Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  
  225    Access to an undefined property                                           
         Drupal\Core\Field\FieldItemListInterface::$encryption_profile.            
         🪪 property.notFound                                                      
         💡 Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  
  226    Access to an undefined property                                           
         Drupal\Core\Field\FieldItemListInterface::$encryption_profile.            
         🪪 property.notFound                                                      
         💡 Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  
  227    Access to an undefined property                                           
         Drupal\Core\Field\FieldItemListInterface::$encryption_profile.            
         🪪 property.notFound                                                      
         💡 Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  
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

ptmkenny created an issue. See original summary.

ptmkenny’s picture

  • ptmkenny committed ceb7fb12 on 4.x
    Issue #3524426 by ptmkenny: 11.2: Fix phpstan access to an undefined...
ptmkenny’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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