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
When reading the documentation for the run command i bumped into this flag:
--hidden set to on to descend into hidden directories (directories starting with '.'), default is on
This states that adding the flag enables phpDocumentor2 to also scan hidden directories, and that this option is also by default turned on (there seems to be no option to turn it off), making the --hidden flag itself useless by definition.
In practice, the --hidden parameter does the opposite, it turns this feature off (contrary to both the documentation and what i assumed the flag would do before reading the description). The default behavior without this flag is as stated, phpDocumentor2 will descend into hidden directories.
The easiest fix would be to update the description and documentation for this flag to reflect the actual behavior, but the best option would probably be to rename the --hidden flag to --ignore-hidden, but that would be a breaking change.
The text was updated successfully, but these errors were encountered:
The hidden command line option should allow phpDocumentor
to traverse hidden folders when added but phpDocumentor
functioned the other way around; only when the hidden option
was provided it did not descend into hidden directories.
To clear up any confusion will phpDocumentor now not descend
into hidden directories and is the text altered to make this
more clear.
When reading the documentation for the run command i bumped into this flag:
This states that adding the flag enables phpDocumentor2 to also scan hidden directories, and that this option is also by default turned on (there seems to be no option to turn it off), making the
--hidden
flag itself useless by definition.In practice, the
--hidden
parameter does the opposite, it turns this feature off (contrary to both the documentation and what i assumed the flag would do before reading the description). The default behavior without this flag is as stated, phpDocumentor2 will descend into hidden directories.The easiest fix would be to update the description and documentation for this flag to reflect the actual behavior, but the best option would probably be to rename the
--hidden
flag to--ignore-hidden
, but that would be a breaking change.The text was updated successfully, but these errors were encountered: