Skip to content

Instantly share code, notes, and snippets.

@gedex
Created June 19, 2017 11:30
Show Gist options
  • Save gedex/7a84422603c263e130b59097d62fa51c to your computer and use it in GitHub Desktop.
Save gedex/7a84422603c263e130b59097d62fa51c to your computer and use it in GitHub Desktop.
FILE: ...ins/woocommerce-shipping-stamps/includes/class-wc-stamps-api.php
----------------------------------------------------------------------
FOUND 74 ERRORS AND 1 WARNING AFFECTING 55 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
13 | ERROR | [ ] Missing member variable doc comment
14 | ERROR | [ ] Missing member variable doc comment
15 | ERROR | [ ] Missing member variable doc comment
19 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
19 | ERROR | [ ] Missing parameter comment
62 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
62 | ERROR | [ ] Missing parameter comment
165 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
190 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
190 | ERROR | [ ] Missing parameter comment
200 | ERROR | [ ] Doc comment for parameter "$retry" missing
202 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
202 | ERROR | [ ] Missing parameter comment
203 | ERROR | [ ] Missing parameter comment
203 | ERROR | [x] Expected 2 spaces after parameter type; 1 found
209 | WARNING | [ ] Silencing errors is discouraged
209 | ERROR | [x] String "soap.wsdl_cache_enabled" does not
| | require double quotes; use single quotes instead
230 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found
230 | ERROR | [x] Space after opening control structure is
| | required
230 | ERROR | [x] No space before opening parenthesis is
| | prohibited
231 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
247 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
255 | ERROR | [x] Each line in an array declaration must end in a
| | comma
257 | ERROR | [x] Each line in an array declaration must end in a
| | comma
265 | ERROR | [x] String "Error getting stamps_authenticator: "
| | does not require double quotes; use single
| | quotes instead
267 | ERROR | [x] String "Error getting stamps_authenticator: "
| | does not require double quotes; use single
| | quotes instead
274 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
279 | ERROR | [ ] Assignments must be the first block of code on a
| | line
291 | ERROR | [ ] Doc comment for parameter "$response" missing
293 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
293 | ERROR | [ ] Missing parameter comment
293 | ERROR | [ ] Doc comment for parameter $authenticator does
| | not match actual variable name $response
302 | ERROR | [ ] Doc comment for parameter "$response" missing
316 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
316 | ERROR | [x] Expected 3 spaces after parameter type; 1 found
317 | ERROR | [ ] Parameter comment must end with a full stop
323 | ERROR | [x] Each line in an array declaration must end in a
| | comma
330 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
330 | ERROR | [ ] Missing parameter comment
335 | ERROR | [x] Each line in an array declaration must end in a
| | comma
342 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
350 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
350 | ERROR | [ ] Missing parameter comment
374 | ERROR | [x] Each line in an array declaration must end in a
| | comma
386 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
393 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
399 | ERROR | [x] Each line in an array declaration must end in a
| | comma
414 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
426 | ERROR | [x] Each line in an array declaration must end in a
| | comma
432 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
432 | ERROR | [ ] Missing parameter comment
433 | ERROR | [ ] Missing parameter comment
433 | ERROR | [x] Expected 4 spaces after parameter type; 1 found
466 | ERROR | [x] String "Error getting rates for request: " does
| | not require double quotes; use single quotes
| | instead
471 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
490 | ERROR | [x] Each line in an array declaration must end in a
| | comma
499 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
500 | ERROR | [ ] Missing parameter comment
501 | ERROR | [ ] Missing parameter comment
501 | ERROR | [x] Expected 3 spaces after parameter type; 1 found
521 | ERROR | [x] String "yes" does not require double quotes; use
| | single quotes instead
521 | ERROR | [x] String "yes" does not require double quotes; use
| | single quotes instead
522 | ERROR | [x] String "Pdf" does not require double quotes; use
| | single quotes instead
524 | ERROR | [x] Each line in an array declaration must end in a
| | comma
549 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
580 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
608 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
608 | ERROR | [ ] Missing parameter comment
609 | ERROR | [ ] Missing parameter comment
609 | ERROR | [x] Expected 3 spaces after parameter type; 1 found
614 | ERROR | [x] Each line in an array declaration must end in a
| | comma
627 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
627 | ERROR | [ ] Missing parameter comment
633 | ERROR | [x] Each line in an array declaration must end in a
| | comma
----------------------------------------------------------------------
PHPCBF CAN FIX THE 42 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...woocommerce-shipping-stamps/includes/class-wc-stamps-balance.php
----------------------------------------------------------------------
FOUND 53 ERRORS AFFECTING 33 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
11 | ERROR | [ ] Missing member variable doc comment
17 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
21 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
24 | ERROR | [x] Missing space before array closer.
30 | ERROR | [ ] Doc comment for parameter "$message" missing
65 | ERROR | [x] Expected 1 space between double arrow and
| | "$balance_node_class"; 2 found
65 | ERROR | [x] Expected 1 space after "=>"; 2 found
65 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
73 | ERROR | [x] Each line in an array declaration must end in a
| | comma
92 | ERROR | [x] Each line in an array declaration must end in a
| | comma
161 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
171 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
171 | ERROR | [ ] Missing parameter comment
175 | ERROR | [ ] Assignments must be the first block of code on a
| | line
189 | ERROR | [ ] Doc comment for parameter "$amount" missing
189 | ERROR | [ ] Doc comment for parameter "$control_total" missing
189 | ERROR | [ ] Doc comment for parameter "$attempt" missing
191 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
191 | ERROR | [ ] Missing parameter comment
191 | ERROR | [ ] Doc comment for parameter $args does not match
| | actual variable name $amount
200 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
215 | ERROR | [x] Concat operator must be surrounded by a single
| | space
216 | ERROR | [x] Concat operator must be surrounded by a single
| | space
219 | ERROR | [x] Concat operator must be surrounded by a single
| | space
222 | ERROR | [x] Expected 1 space after SWITCH keyword; 0 found
222 | ERROR | [x] Space after opening control structure is required
222 | ERROR | [x] No space before opening parenthesis is prohibited
223 | ERROR | [x] String "Pending" does not require double quotes;
| | use single quotes instead
224 | ERROR | [x] String "Processing" does not require double
| | quotes; use single quotes instead
228 | ERROR | [x] String "Rejected" does not require double quotes;
| | use single quotes instead
232 | ERROR | [x] String "Success" does not require double quotes;
| | use single quotes instead
239 | ERROR | [ ] Doc comment for parameter "$amount" missing
239 | ERROR | [ ] Doc comment for parameter "$control_total" missing
239 | ERROR | [ ] Doc comment for parameter "$transaction_id"
| | missing
239 | ERROR | [ ] Doc comment for parameter "$attempt" missing
241 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
241 | ERROR | [ ] Missing parameter comment
241 | ERROR | [ ] Doc comment for parameter $args does not match
| | actual variable name $amount
251 | ERROR | [x] Expected 1 space after SWITCH keyword; 0 found
251 | ERROR | [x] Space after opening control structure is required
251 | ERROR | [x] No space before opening parenthesis is prohibited
252 | ERROR | [x] String "Pending" does not require double quotes;
| | use single quotes instead
253 | ERROR | [x] String "Processing" does not require double
| | quotes; use single quotes instead
261 | ERROR | [x] String "Rejected" does not require double quotes;
| | use single quotes instead
265 | ERROR | [x] String "Success" does not require double quotes;
| | use single quotes instead
274 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
274 | ERROR | [ ] Missing parameter comment
282 | ERROR | [ ] Doc comment for parameter "$amount" missing
282 | ERROR | [ ] Doc comment for parameter "$control_total" missing
282 | ERROR | [ ] Doc comment for parameter "$force" missing
282 | ERROR | [ ] Doc comment for parameter "$attempt" missing
289 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
----------------------------------------------------------------------
PHPCBF CAN FIX THE 27 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...s/woocommerce-shipping-stamps/includes/class-wc-stamps-label.php
----------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 13 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
11 | ERROR | [ ] Missing member variable doc comment
12 | ERROR | [ ] Missing member variable doc comment
13 | ERROR | [ ] Missing member variable doc comment
15 | ERROR | [ ] Doc comment for parameter "$label_id" missing
30 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
39 | ERROR | [ ] Missing parameter comment
49 | ERROR | [ ] Missing parameter comment
56 | ERROR | [ ] Doc comment for parameter "$key" missing
58 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
73 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
81 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
86 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../woocommerce-shipping-stamps/includes/class-wc-stamps-labels.php
----------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 7 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
13 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
13 | ERROR | [ ] Missing parameter comment
14 | ERROR | [ ] Missing parameter comment
14 | ERROR | [x] Expected 3 spaces after parameter type; 1 found
33 | ERROR | [ ] Inline comments must end in full-stops, exclamation
| | marks, or question marks
45 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
45 | ERROR | [ ] Missing parameter comment
58 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
58 | ERROR | [ ] Missing parameter comment
66 | ERROR | [x] Each line in an array declaration must end in a
| | comma
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...s/woocommerce-shipping-stamps/includes/class-wc-stamps-order.php
----------------------------------------------------------------------
FOUND 65 ERRORS AFFECTING 58 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
13 | ERROR | [ ] Missing member variable doc comment
81 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
94 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
97 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
118 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
131 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
148 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
194 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
208 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
232 | ERROR | [x] Each line in an array declaration must end in a
| | comma
236 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
238 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
242 | ERROR | [ ] Doc comment for parameter "$posted" missing
244 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
250 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
263 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
266 | ERROR | [x] Blank line found after control structure
268 | ERROR | [x] Line indented incorrectly; expected at least 3
| | tabs, found 2
268 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
272 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
283 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
300 | ERROR | [x] Each line in an array declaration must end in a
| | comma
325 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
351 | ERROR | [x] Each line in an array declaration must end in a
| | comma
362 | ERROR | [x] Each line in an array declaration must end in a
| | comma
377 | ERROR | [ ] Assignments must be the first block of code on a
| | line
378 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
384 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
386 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
404 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
426 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
434 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
454 | ERROR | [x] When an array uses associative keys, each value
| | should start on a new line.
459 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
459 | ERROR | [ ] Missing parameter comment
468 | ERROR | [ ] Doc comment for parameter "$result" missing
479 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
479 | ERROR | [ ] Missing parameter comment
513 | ERROR | [x] String "Y-m-d" does not require double quotes; use
| | single quotes instead
519 | ERROR | [ ] Doc comment for parameter "$rates" missing
521 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
521 | ERROR | [ ] Missing parameter comment
530 | ERROR | [ ] Doc comment for parameter "$rate" missing
532 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
532 | ERROR | [ ] Missing parameter comment
532 | ERROR | [ ] Doc comment for parameter $raw_addons does not
| | match actual variable name $rate
539 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
545 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
578 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found
| | 5
580 | ERROR | [x] Line indented incorrectly; expected 5 tabs, found
| | 6
581 | ERROR | [x] Line indented incorrectly; expected 6 tabs, found
| | 7
583 | ERROR | [x] Line indented incorrectly; expected 6 tabs, found
| | 7
584 | ERROR | [x] Line indented incorrectly; expected 5 tabs, found
| | 6
587 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found
| | 5
595 | ERROR | [ ] Doc comment for parameter "$order" missing
595 | ERROR | [ ] Doc comment for parameter "$stamps_rate" missing
597 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
605 | ERROR | [ ] Doc comment for parameter "$label" missing
607 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
623 | ERROR | [ ] Doc comment for parameter "$labels" missing
625 | ERROR | [x] There must be exactly one blank line before the
| | tags in a doc comment
646 | ERROR | [x] Functions must not contain multiple empty lines in
| | a row; found 2 empty lines
648 | ERROR | [ ] Use Yoda Condition checks, you must.
652 | ERROR | [ ] Assignments must be the first block of code on a
| | line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 38 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...commerce-shipping-stamps/includes/class-wc-stamps-post-types.php
----------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
15 | ERROR | [ ] Doc comment short description must start with a
| | capital letter
21 | ERROR | [x] String "wc_stamps_label" does not require double
| | quotes; use single quotes instead
27 | ERROR | [x] String "wc_stamps_label" does not require double
| | quotes; use single quotes instead
28 | ERROR | [x] String "register_post_type_wc_stamps_label" does
| | not require double quotes; use single quotes
| | instead
50 | ERROR | [x] Each line in an array declaration must end in a
| | comma
56 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...oocommerce-shipping-stamps/includes/class-wc-stamps-settings.php
----------------------------------------------------------------------
FOUND 11 ERRORS AND 1 WARNING AFFECTING 11 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
27 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
33 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
40 | ERROR | [ ] Inline comments must end in full-stops,
| | exclamation marks, or question marks
106 | ERROR | [ ] Strings should have translatable content
263 | ERROR | [ ] Doc comment for parameter "$key" missing
266 | ERROR | [ ] Missing parameter name
294 | ERROR | [ ] Missing parameter comment
312 | ERROR | [x] Additional blank lines found at end of doc
| | comment
315 | WARNING | [ ] A gettext call containing placeholders was
| | found, but was not accompanied by a
| | "translators:" comment on the line above to
| | clarify the meaning of the placeholders.
315 | ERROR | [x] Multiple placeholders should be ordered.
| | Expected '%1$s, %2$s', but got %s, %s.
331 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...pping-stamps/includes/views/html-address-verification-result.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
19 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...rce-shipping-stamps/includes/views/html-address-verification.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | Missing file doc comment
----------------------------------------------------------------------
FILE: ...woocommerce-shipping-stamps/includes/views/html-customs-item.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
4 | ERROR | [ ] Missing file doc comment
29 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...gins/woocommerce-shipping-stamps/includes/views/html-customs.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
51 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2
54 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3
56 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3
64 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2
71 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...lugins/woocommerce-shipping-stamps/includes/views/html-label.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
11 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ugins/woocommerce-shipping-stamps/includes/views/html-labels.php
----------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 10 LINES
----------------------------------------------------------------------
2 | ERROR | [ ] Missing file doc comment
3 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2
4 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3
10 | ERROR | [x] Line indented incorrectly; expected 5 tabs, found 7
10 | ERROR | [ ] Assignments must be the first block of code on a
| | line
12 | ERROR | [x] Line indented incorrectly; expected 5 tabs, found 7
13 | ERROR | [x] Line indented incorrectly; expected 5 tabs, found 7
13 | ERROR | [ ] Assignments must be the first block of code on a
| | line
15 | ERROR | [x] Line indented incorrectly; expected 5 tabs, found 7
23 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3
24 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2
27 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ins/woocommerce-shipping-stamps/includes/views/html-meta-box.php
----------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 13 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
3 | ERROR | [ ] Use Yoda Condition checks, you must.
4 | ERROR | [ ] Use Yoda Condition checks, you must.
5 | ERROR | [ ] Use Yoda Condition checks, you must.
6 | ERROR | [ ] Use Yoda Condition checks, you must.
7 | ERROR | [ ] Use Yoda Condition checks, you must.
9 | ERROR | [ ] Use Yoda Condition checks, you must.
13 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2
14 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3
17 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3
20 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3
23 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2
44 | ERROR | [x] String "stamps" does not require double quotes; use
| | single quotes instead
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...gins/woocommerce-shipping-stamps/includes/views/html-package.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
49 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...lugins/woocommerce-shipping-stamps/includes/views/html-rates.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Missing file doc comment
16 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5
18 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ult/wp-content/plugins/woocommerce-shipping-stamps/uninstall.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
4 | ERROR | [ ] There must be exactly one blank line after the file
| | comment
4 | ERROR | [ ] Missing @package tag in file comment
7 | ERROR | [x] File must end with a newline character
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 1.63 secs; Memory: 20Mb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment