mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
9e38933d30
Considering the test-suite tests the code from src paired with tests, not the working directory (or even worse the overall include_path runtime setting) should lead to relative path resolution, but just the relative location to the path of the test itself. Fix by making use of the __DIR__ constant to anchor the relative location turning it into an absolute path.