0% found this document useful (0 votes)
195 views1 page

Static Code Analysis Report

The code analysis tool found 9 errors and 1 warning affecting 8 lines of code. The errors included missing spaces after commas in function calls on multiple lines, invalid line endings, missing documentation comments, and incorrect spacing around multi-line if statement braces. The tool can automatically fix the 8 sniff violations that were marked.

Uploaded by

vrkorada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
195 views1 page

Static Code Analysis Report

The code analysis tool found 9 errors and 1 warning affecting 8 lines of code. The errors included missing spaces after commas in function calls on multiple lines, invalid line endings, missing documentation comments, and incorrect spacing around multi-line if statement braces. The tool can automatically fix the 8 sniff violations that were marked.

Uploaded by

vrkorada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

FOUND 9 ERRORS AND 1 WARNING AFFECTING 8 LINES

---------------------------------------------------------------------1 | WARNING | [ ] File has mixed line endings; this may cause
|
|
incorrect results
1 | ERROR | [x] End of line character is invalid; expected "\r\n"
|
|
but found "\r"
2 | ERROR | [ ] Missing file doc comment
3 | ERROR | [x] No space found after comma in function call
5 | ERROR | [x] No space found after comma in function call
7 | ERROR | [x] No space found after comma in function call
9 | ERROR | [x] No space found after comma in function call
13 | ERROR | [x] First condition of a multi-line IF statement must
|
|
directly follow the opening parenthesis
13 | ERROR | [x] There must be a single space between the closing
|
|
parenthesis and the opening brace of a multi-line
|
|
IF statement; found 0 spaces
17 | ERROR | [x] There must be a single space between the closing
|
|
parenthesis and the opening brace of a multi-line
|
|
IF statement; found 0 spaces
---------------------------------------------------------------------PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

You might also like