laravel/pint

--diff option do not compare changes from provided branch

已关闭

#361 创建于 2025年3月11日

 (6 条评论) (6 个反应) (0 位负责人)PHP (189 个派生)user submission
help wanted

仓库指标

星标
 (3,127 个星标)
PR 合并指标
 (平均合并 2天 1小时) (30 天内合并 12 个 PR)

描述

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

贡献者指南