gettext-extractor icon indicating copy to clipboard operation
gettext-extractor copied to clipboard

PHPStan issue about Cannot access property $value on PhpParser\Node\Expr\ArrayItem|null

Open peter279k opened this issue 5 years ago • 0 comments

When running the ./vendor/bin/phpstan analyse command, it will present following message:

------ ---------------------------------------------------------------------- 
  Line   src/Filters/PHPFilter.php                                             
 ------ ---------------------------------------------------------------------- 
  93     Cannot access property $value on PhpParser\Node\Expr\ArrayItem|null.  
  94     Cannot access property $value on PhpParser\Node\Expr\ArrayItem|null.  
 ------ ---------------------------------------------------------------------- 

I think it will be fixed or add setting to ignore above error message on phpstan.neon.dist file.

peter279k avatar Aug 14 '20 18:08 peter279k