Skip to content

[Bug]: Undefined property: Microsoft\PhpParser\Node\ArrayElement::$memberName #278

Closed
laravel/vs-code-php-parser-cli
#12
@mo7zayed-f

Description

@mo7zayed-f

Extension Version

1.0.0

PHP Binary

Herd

Operating System

macOS

What happened?

I get this error only when I view vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php file when the extension is running, I didn't check other files but it may happen there as well

2025-02-26 14:36:15.764 [info] Stopped
2025-02-26 14:36:16.999 [info] Checking herd PHP installation: herd which-php
2025-02-26 14:36:16.999 [info] Using herd PHP installation: /Users/mo7zayed/Library/Application Support/Herd/bin/php
2025-02-26 14:36:16.999 [info] Activating Laravel Extension...
2025-02-26 14:36:16.999 [info] Started
2025-02-26 14:36:44.234 [error] 
In MemberAccessExpressionParser.php line 44:
                                                                          
  Undefined property: Microsoft\PhpParser\Node\ArrayElement::$memberName

Mimimal Code Sample

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions