eckinox / eckinox-cs

A very opinionated CS and linting setup for PHP projects.
MIT License
2 stars 0 forks source link

Check if pre-commit symlink is valid #8

Closed EmilePerron closed 2 years ago

EmilePerron commented 2 years ago

If the symlink points to a file that doesn't exist anymore (ex.: you renamed the parent directory), the pre-commit hook won't be updated. But it should!

https://github.com/eckinox/eckinox-cs/blob/819739e6f0e6560d674700b8db89f4f7374d22d7/src/ReplicationHandler.php#L93