Skip to content
This repository was archived by the owner on Jul 20, 2018. It is now read-only.
This repository was archived by the owner on Jul 20, 2018. It is now read-only.

VIP scanner hangs with wp-cli on Code sniffer when scanning plugin #311

@flacoman91

Description

@flacoman91

I'm having an issue where the vip-scanner would hang on me when php code sniffer is installed with the wordpress coding standards

I run the following command
wp vip-scanner --summary --debug scan wp-content/plugins/my-test-plugin/

Here is the debug output:

Debug: No readable global config found (0.008s)
Debug: No project config found (0.009s)
Debug: ABSPATH defined: /Users/flacoman91/projects/wordpress/ (0.01s)
Debug: Begin WordPress load (0.011s)
Debug: wp-config.php path: /Users/flacoman91/projects/wordpress/wp-config.php (0.011s)
Debug: Loaded WordPress (0.189s)
Debug: Running command: vip-scanner scan (0.189s)

When I run a standalone phpcs it works fine showing all of the sniffer output and it completes

I am on MacOS x 10.11.3

Any idea what is causing this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions