You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a. I downloaded the latest phpDocumentor.phar and saved it in C:\PhpTools\bin
b. I created a phpdoc.cmd executable script and saved in C:\PhpTools: @php C:\PhpTools\vendor\bin\phpDocumentor.phar %*
c. I added C:\PhpTools to PATH System Environment Variable
d. I ran phpdoc --help on another folder to check if it works. It does!
Steps to reproduce the problem
I moved to D:#MyProject
I created D:#MyProject\doc for documentation and D:#MyProject\cache for cache
It looks like the problem is due to the path containing a folder starting by "#" (hash). phpDocumentor change #MyProject to %23MyProject and creates a %23MyProject folder in the filing system.
D:# that is a new one for me :) What does that mean?
I have upgraded the League URI package yesterday; that introduced a seemingly similar issue for which I introduced a workaround. But this is a similar interesting bit, we may need to put some additional time in to solve these edge cases. I'm not sure we are able to resolve this issue quickly as the type of path resolving across multiple operating systems and virtual file systems is an interesting challenge :)
It would help us if you can describe how the # can be there so that we can write test case for that
Expected behavior
Produce documentation from source
Actual behavior
Nothing
Installation
a. I downloaded the latest phpDocumentor.phar and saved it in C:\PhpTools\bin
b. I created a phpdoc.cmd executable script and saved in C:\PhpTools:
@php C:\PhpTools\vendor\bin\phpDocumentor.phar %*
c. I added C:\PhpTools to PATH System Environment Variable
d. I ran phpdoc --help on another folder to check if it works. It does!
Steps to reproduce the problem
Any idea why? What I did wrong? PS Of course, my PHP code contains a lot of phpDoc blocks.
Your environment
Windows 10 Professional Intl. ENG vers. 21H1
WampServer 3.2.7
PHP 7.4.9
The text was updated successfully, but these errors were encountered: