laravel/pint

--diff option do not compare changes from provided branch

Fermée

#361 ouverte le 11 mars 2025

 (6 commentaires) (6 réactions) (0 personne assignée)PHP (189 forks)user submission
help wanted

Métriques du dépôt

Stars
 (3 127 étoiles)
Métriques de merge PR
 (Merge moyen 2j 1h) (12 PRs mergées en 30 j)

Description

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

Guide contributeur