Skip to content

Rector processing errors in laravel. #6607

@soilSpoon

Description

@soilSpoon

Bug Report

Subject Details
Rector version v0.11.42 (2e7256b)

Description

When using Eloquent in a Laravel project, an error occurs when trying to get information from another model based on its own values.

image

In the image above, it looks like this is where you call databasePath.

Also throws errors when parsing code that uses Auth::guard.
image

I don't know where the config on line 707.

These situations can be tested here.

This issue may be related to #3902.

Suggestion

I hope that the rules included in SetList are not affected by the php version or are automatically ignored according to the php version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions