Closed davidcim closed 7 years ago
My Environment (version of the project, operating system, or hardware)
My phpda.yml:
phpda.yml
Not important
When I run this command:
$ phpda analyze ./phpdaConfig.yml
Actual behavior:
I get this error:
[InvalidArgumentException] Configfile "./phpdaConfig.yml" is not readable
Expected behavior:
It should work no matter whether I use a relative path or an absolute path.
Currently it works only if I use an absolute path like this one:
$ phpda analyze ~/www/testsite/php-lib/DavidCim/WebRender/docs/phpdaConfig.yml
Not needed to say that I am running the command from the right directory.
My Environment (version of the project, operating system, or hardware)
My
phpda.yml
:Not important
When I run this command:
$ phpda analyze ./phpdaConfig.yml
Actual behavior:
I get this error:
[InvalidArgumentException] Configfile "./phpdaConfig.yml" is not readable
Expected behavior:
It should work no matter whether I use a relative path or an absolute path.
Currently it works only if I use an absolute path like this one:
$ phpda analyze ~/www/testsite/php-lib/DavidCim/WebRender/docs/phpdaConfig.yml
Not needed to say that I am running the command from the right directory.