phpcs: The phpcs report contains invalid json. Please review "Diagnosing Common Errors" in the plugin README
Same problem as #100 but none of the suggestions fix it.
My config:
{
"phpcs.standard": "./phpcs.xml",
"phpcs.autoConfigSearch": false
}
My PHP CS Xml:
<?xml version="1.0"?>
<ruleset name="coding standard">
<description>coding standard</description>
<!-- display progress -->
<arg value="p"/>
<!-- use colors in output -->
<arg name="colors"/>
<arg name="report-checkstyle" value="doc/codesniffer.xml"/>
<arg name="report-full"/>
<!-- inherit rules from: -->
<rule ref="PSR2"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="PSR2">
<exclude name="Generic.Files.LineLength"/>
</rule>
<!-- Paths to check -->
<file>src</file>
<file>tests</file>
</ruleset>
I have this config as this is set up as a composer command also.
phpcs version (local and global composer): 3.2.3
Is there any way to see any debug output for this extension? Any suggestions would be appreciated as this is driving me nuts.
Same problem as #100 but none of the suggestions fix it.
My config:
{ "phpcs.standard": "./phpcs.xml", "phpcs.autoConfigSearch": false }My PHP CS Xml:
I have this config as this is set up as a composer command also.
phpcs version (local and global composer): 3.2.3
Is there any way to see any debug output for this extension? Any suggestions would be appreciated as this is driving me nuts.