phpstorm-inspect icon indicating copy to clipboard operation
phpstorm-inspect copied to clipboard

inspect.sh does not require inspectionProfileFilepath to exist

Open glensc opened this issue 7 years ago • 2 comments

and this tool requires, be symmetric

glensc avatar Sep 09 '17 19:09 glensc

Hi @glensc,

thank you for the PR. Why do you want to run inspection without resolvable path to the inspection profile? What is the use-case?

The whole point of the realpathWithCheck() is to assure the path is resolvable. If no check is needed I would use $inspectionProfileFilepath = realpath($argv[4]) ?: $argv[4]; without changing the function.

PetrHeinz avatar Sep 11 '17 07:09 PetrHeinz

because it's not required, i intend to run it using docker image.

glensc avatar Sep 11 '17 09:09 glensc