Skip to content

Extra characters in output of phpcs with WordPress standard #38

@KenCarlson

Description

@KenCarlson

I have downloaded and installed the latest version of phpcs and these WordPress standards. I am running this with Netbeans and XAMPP on a Windows 7 machine. In Netbeans, phpcs works fine with the PEAR standard, but with the WordPress standard it gives this error: [Fatal Error] :1:1: Content is not allowed in prolog.

I ran phpcs.bat from the Windows command line, and the WordPress standard works fine, except that I see 2-3 bytes of garbage characters at the very beginning of the report. Those bytes are not there with the PEAR standard. So I suspect that this is the problem. A few bytes of something are getting output before the XML

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