mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Tom Klingenberg
9e38933d30
Resolve require_once command_functions.php (#3961)
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.
…
…
…
Psalm
Psalm is a static analysis tool for finding errors in PHP applications, built on top of PHP Parser.
It's able to find a large number of issues, but it can also be configured to only care about a small subset of those.
Try a live demo, or install it in your project by following the Quickstart Guide below.
Psalm documentation
Documentation is available on Psalm’s website, generated from the docs folder.
To get started, check out the installation guide
Interested in contributing?
Have a look at CONTRIBUTING.md.
Acknowledgements
The engineering team @vimeo for encouragement and patience, especially @nbeliard, @erunion and @nickyr.
Languages
PHP
100%