phpro / grumphp

A PHP code-quality tool
MIT License
4.14k stars 429 forks source link

Bugfix/git absolute path #1003

Closed bart-jaskulski closed 2 years ago

bart-jaskulski commented 2 years ago
Q A
Branch master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Documented? no
Fixed tickets #936

This is a follow up to PR which has been stalled: https://github.com/phpro/grumphp/pull/936

I've fixed behavior for git worktree environment as described in the attached PR according to @veewee advices about keeping the code in GitRepositoryDirLocator and adding some tests for this.

veewee commented 2 years ago

Looks awesome 👍 Thanks for helping out.