Skip to content
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

Substantial amounts of files unprocessed #235

Open
smileBeda opened this issue Nov 4, 2023 · 1 comment
Open

Substantial amounts of files unprocessed #235

smileBeda opened this issue Nov 4, 2023 · 1 comment

Comments

@smileBeda
Copy link

smileBeda commented Nov 4, 2023

I am running into issues with the PHPDOC Parser freshly installed today from SVN whereas several files simply are not processed.

Example, the JSON export (same when I create instead of export), remains as such:

{
        "file": {
            "description": "",
            "long_description": "",
            "tags": []
        },
        "path": "wp-includes\/post.php",
        "root": "\/Users\/username\/DEV\/MAMP\/wp-vanilla\/wordpress"
    },
    {

Or,

{
        "file": {
            "description": "",
            "long_description": "",
            "tags": []
        },
        "path": "wp-includes\/kses.php",
        "root": "\/Users\/username\/DEV\/MAMP\/wp-vanilla\/wordpress"
    },

This is on a Mac with latest WP, Parser, PHP8
It does not matter if I export or create

Basically, good two thirds of the files are not processed.
Most of the functions (register_post_type, for example) are therefore just never documented.

What can be the issue?

@johnbillion
Copy link
Member

I'm pretty sure the parser only works on PHP 7 at the moment. See #228.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants