Skip to content

[Bug]: #260

@salirdev

Description

@salirdev

Extension Version

0.1.20

PHP Binary

Local PHP

Operating System

Windows

What happened?

Debug Info

{
"os": "win32",
"arch": "x64",
"php_version": "8.2.12",
"laravel_version": "11.41.0",
"php_command": "php"
}


Translations

Error: VSCODE_LARAVEL_START_OUTPUT
ErrorException

Undefined array key 1

at vendor_laravel_ide\discover-3882913f82005746ab5ab1368f4920b5.php:153
149▕ $searchRange = 2;
150▕
151▕ foreach ($encoded as $index => $keys) {
152▕ // Pretty likely the be on the line that is the index, go happy path first
➜ 153▕ if (strpos($lines[$index + 1], $keys[0]) !== false) {
154▕ $result[$keys[1]] = $index + 2;
155▕ continue;
156▕ }
157▕

1 vendor_laravel_ide\discover-3882913f82005746ab5ab1368f4920b5.php:153
Illuminate\Foundation\Bootstrap\HandleExceptions::Illuminate\Foundation\Bootstrap{closure}("Undefined array key 1", "C:\xampp\htdocs\Laravel\nooj-crm\vendor_laravel_ide\discover-3882913f82005746ab5ab1368f4920b5.php")

2 vendor_laravel_ide\discover-3882913f82005746ab5ab1368f4920b5.php:306
class@anonymous\C:\xampp\htdocs\Laravel\nooj-crm\vendor_laravel_ide\discover-3882913f82005746ab5ab1368f4920b5.php:42$1::linesFromJsonFile(Object(Symfony\Component\Finder\SplFileInfo))

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