You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Checkstyle XML" is a quasi-standard format used by tools like phpcs, jshint, or Jenkins to share a list of code-formatting issues. Here's a representative example of the format:
<?xml version="1.0" encoding="UTF-8"?>
<checkstyleversion="3.7.1">
<filename="/private/tmp/z.php">
<errorline="4"column="3"severity="error"message="The extends keyword must be on the same line as the class name"source="Drupal.Classes.ClassDeclaration.ExtendsLine"/>
</file>
</checkstyle>
Currently, civistrings does some validation and prints warnings - but it doesn't give structured information.
Ideally, there would be an option to send these warnings to a file (civistrings --checkstyle=output.xml *.php).
The text was updated successfully, but these errors were encountered:
"Checkstyle XML" is a quasi-standard format used by tools like
phpcs
,jshint
, or Jenkins to share a list of code-formatting issues. Here's a representative example of the format:Currently,
civistrings
does some validation and prints warnings - but it doesn't give structured information.Ideally, there would be an option to send these warnings to a file (
civistrings --checkstyle=output.xml *.php
).The text was updated successfully, but these errors were encountered: