-
|
Is there any way that paths in my config file be relative to the folder provided when I run PHPStan? I want to run PHPStan for multiple projects, using the same config file. I have the following folder structure: and I run I would like the paths that I set in my config file to be relative to the CLI parameter "project-1". So if I say, for example, for Is there any way to achieve that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You can try |
Beta Was this translation helpful? Give feedback.
-
|
I achieved that by using an environmental variable, and using that in my config file, like this: But we need #14222 to be resolved, to be able to use environmental variables in folder paths with the with optional folder mark. |
Beta Was this translation helpful? Give feedback.
I achieved that by using an environmental variable, and using that in my config file, like this:
But we need #14222 to be resolved, to be able to use environmental variables in folder paths with the with optional folder mark.