Skip to content

Formatting no longer works on macOS #58

@zepfietje

Description

@zepfietje

Describe the bug

When using "Format document using Laravel Pint", "Format Document", or "Format On Save", PHP files are no longer formatted using the extension. Running ./vendor/bin/pint manually works just fine. I noticed this issue in the last couple weeks. Managed to fix it briefly by uninstall and reinstall the extension (IIRC), but it's back to broken again.

To Reproduce

Steps to reproduce the behavior:

  1. Install the extension.
  2. Open a poorly formatted PHP file in a Laravel project.
  3. Call "Formaat document using Laravel Pint" from the VS Code command palette.
  4. Watch as nothing happens.

Expected behavior

I expect the extension to format the file using Laravel Pint.

Screenshots

Environment:

  • Operating system: macOS
  • IDE / version: VSCode 1.86.2
  • Extension version: 1.1.8
  • Extension's config: "laravel-pint.enable": true,

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions