Skip to content

[Bug]: Pint runs but makes no changes #468

@arwinvdv

Description

@arwinvdv

Extension Version

1.2.1

PHP Binary

Herd

Operating System

macOS

What happened?

When saving a PHP file with intentionally “wrong” formatting, the status bar shows "Running Pint on current file" but the file is not modified. The Output → Laravel channel shows only activation/Herd PHP detection lines— no Pint command output and no errors—so there’s no way to diagnose what Pint did.

Is there a way to debug this? For example, to see the exact Pint command being run, which config is picked up, and whether Pint simply found no changes or silently failed?

When I just run in the terminal vendor/bin/pint it works.

Settings.json:

{
  "editor.formatOnSave": true,
  "[php]": { "editor.defaultFormatter": "laravel.vscode-laravel" }
}

Pint version: v1.25.0

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