Skip to content

How to ignore errors in vendor files? #135

@CicerBro

Description

@CicerBro

PHPantom version

Latest Master

Installation method

Built from source

Operating system

macOS aarch64 (Apple Silicon)

Editor

VS Code

Bug description

In VSCode/Cursor whenever I browse a file in the vendor folder for some package, it often throws errors in the problems tab. That ok I guess, but they stay there whenever I close said file again.

That last behaviour might be VSCode/Cursor related, but how can I have PHPantom now throw errors and warnings for the vendor folder?

Image

Steps to reproduce

N/A

Error output or panic trace


.phpantom.toml

[formatting]
php-cs-fixer = ""

[phpcs]
command = ""

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions