Replace currentworkingdir in phpstan.neon?
There are two predefined parameters usable to expand in config parameters that represent paths:
rootDir - root directory where PHPStan resides (i.e. vendor/phpstan/phpstan in Composer installation)
currentWorkingDirectory - current working directory where PHPStan was executed
These are no longer very useful as all relative paths in config parameters are resolved based on the directory of the config file is in, resulting in a short and concise notation.
Thus, you don't need currentworkingdir. You can write the path relative to the path the .neon file is in, it does not matter where phpstan is executed.
Updated by Gerrit Code Review 5 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72709