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
Does not recognize page-level DocBlock on "empty" files #604
Comments
I have captured this use-case in a Behat Feature file and can replicate this behaviour. |
Demoting this issue to version 2.1 of phpDocumentor; our third-party library controlling the parsing process is currently unable to provide the necessary information. As can be seen in the issue referenced above we are discussing a way to resolve this situation but I personally do not believe this to be blocking for the release of 2.0.0. Should the issue referenced above is resolved in short notice we can opt to promote this issue back for the release of 2.0.0 |
Pushed branch 604 containing the Behat test that verifies this behaviour |
@mvriel since the nikic/php-parser fix was put in its v2.1.0, will our fix be possible in the 2.x line? Or will the dependency requirements of Reflection to gain php-parser 2.x or 3.x end up forcing phpDocumentor to 3.x or higher? |
I think we can't fix this in v2. If an upgrade of php parser is required. It will remove the option to run on php 5.3. Which we marked as a bc break. Needs to be scheduled for v3 |
Ah, so it is php-parser's own PHP minimum that changed between its 1.x and 2.x that is constraining us... ouch. |
Yes, and we decided to skip php parser v2 and move to v3 directly. Since v2 does not have any additional features we need right now. |
I am running a basic model-view-controller approach. My project contains lots of template files that have a page-level DocBlock, but then continue in plain HTML without any PHP functionality.
Here is an example:
The text was updated successfully, but these errors were encountered: