phpstorm-inspect
phpstorm-inspect copied to clipboard
inspect.sh does not require inspectionProfileFilepath to exist
and this tool requires, be symmetric
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.
because it's not required, i intend to run it using docker image.