laravel/pint

--diff option do not compare changes from provided branch

クローズ

#361 opened on 2025/03/11

 (6 件のコメント) (6 件のリアクション) (0 人の担当者)PHP (189 件のフォーク)user submission
help wanted

Repository metrics

Stars
 (3,127 個のスター)
PR merge metrics
 (平均マージ 2d 1h) (30d で 12 merged PRs)

説明

Pint Version

1.21.1

PHP Version

8.3.1

Description

I am experiencing an issue with the --diff option.

Despite the fix provided in https://github.com/laravel/pint/releases/tag/v1.21.0, the issue is still producing and provide this :

Image

I tried to run command in local environment and in a github action, same effect. removing the option preset does not change the output.

Steps To Reproduce

pint --diff=main --preset laravel

コントリビューターガイド