New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support @param-taint in PHP (permit dashes in command aliases?) #9047
Comments
The I think that the background is that the |
@albert-github If I understand correctly, you're asking why the static analysis software declared its annotation as For what it's worth, the defacto PHPDoc standard (draft) includes a |
I was indeed asking why you didn't use I think the enhancement request for the |
…and aliases?) Add the possibility to have a dash in an ALIASES.
I've just pushed a proposed patch, pull request #9451 |
…and aliases?) The documentation gave the warning: ``` doc/commands.doc:3461: error: Found unknown command '\LaTeX' ``` this was due to the fact that in the code there was: ``` \LaTex-only ``` and this is seen as a potential `ALIASES`
issue #9047 Support @param-taint in PHP (permit dashes in command aliases)?
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
Small regression on doxygen#9451 issue doxygen#9047 Support @param-taint in PHP (permit dashes in command aliases)? In a number of project (e.g. CGAL) we now got the warning like ``` warning: Found unknown command '\cgal' ``` as the code was: ``` \cgal-like ``` and ``` ALIASES += cgal=%CGAL ``` made the alias replacement so that when the expansion didn't do anything and the input string contains a `-` sign the last `-` sign is stripped as well as the part after it and a new attempt is made to resolve the command.
This issue was previously marked 'fixed but not released', |
Various bug fixes, including support for tags and aliases for tags that include dashes, such as `@param-taint` and `@return-taint`. doxygen/doxygen#9047 See the full log at https://www.doxygen.nl/manual/changelog.html Change-Id: Ie025bd8a5e959031952ff86aae49b91f6e108b1a
I've upgraded Doxygen to 1.9.8 in WMF CI (Ie025bd8a5e9), and among the bug fixes was doxygen/doxygen#9047, which makes it possible to use tags that contain dashes in ALIASES. Change-Id: Ida5fddb89b76445922a87904745eff0a1e299043
Describe the bug
Unable to remove lines like
@param-taint $foo none
from the HTML output.Currently this results in:
Expected behavior
Version
doxygen 1.9.2 and doxygen 1.9.3.
Additional context
I suspect there is (or once was) syntax ambiguity where a command that takes no argument needs to be distinct from other content. E.g. the full-stop in
Hello @foo.
, which seems reasonable to allow as separator. I guess that means we currently also permit the dash to be used in this way, e.g.Hello @foo- How are you?
. I'm hoping that maybe this is okay to change by considering the dash in this case (if there isn't a space after it) to be considered part of the command.Or alternatively, we could perhaps do something clever where we first give it a chance to match a command including the adjecent dash, and if not known as command, fallback to rendering separately.
The text was updated successfully, but these errors were encountered: