phpro / grumphp

A PHP code-quality tool
MIT License
4.13k stars 430 forks source link

#876 Update twigcs.md #877

Closed MPParsley closed 3 years ago

MPParsley commented 3 years ago

Fixes #876

Add to the documentation that the path should exist or be accessible.

In FriendsOfTwig\Twigcs\Config\ConfigResolver:

                        if (!file_exists($absolutePath)) {
                            throw new InvalidConfigurationException(sprintf('The path "%s" is not readable.', $path));
                        }
veewee commented 3 years ago

Thanks for clarifying!