\Drupal calls should be avoided in classes, use dependency injection instead

Created on 20 June 2023, over 1 year ago
Updated 10 March 2024, 9 months ago

Classes should not call \Drupal methods. They should use dependency injection to inject they dependencies from the dependency container.

There are many calls to \Drupal methods in various classes, including the code for the following classes.

  • Drupal\paypal_plus\Controller\PaypalController
  • Drupal\paypal_plus\Form\PaypalConfig
  • Drupal\paypal_plus\Form\PaypalPayForm
  • Drupal\paypal_plus\Plugin\Block\PaypalPayBlock
  • Drupal\paypal_plus\Plugin\WebformHandler\PaypalPlusFormHandler
  • Drupal\paypal_plus\Service\PayPal

There are few cases where calling \Drupal methods is correct, for example in static methods and in backward compatible code that needs to handle a new constructor parameter that previous releases did not use. In the other cases, the dependency injection must be used.

📌 Task
Status

Needs work

Version

1.1

Component

Code

Created by

🇮🇳India arti_parmar

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @arti_parmar
  • Assigned to vishal365365
  • 🇮🇳India vishal365365

    running phpcs got more issues
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------
    7 | ERROR | [x] Expected 1 newline at end of file; 0 found
    ----------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ----------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/paypal_plus.routing.yml
    ----------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------
    23 | ERROR | [x] Expected 1 newline at end of file; 0 found
    ----------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ----------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/paypal_plus.module
    --------------------------------------------------------------------------------
    FOUND 82 ERRORS AND 1 WARNING AFFECTING 69 LINES
    --------------------------------------------------------------------------------
    1 | ERROR | [x] Missing file doc comment
    3 | WARNING | [x] Unused use statement
    12 | ERROR | [x] Opening brace should be on the same line as the declaration
    13 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    14 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    15 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    16 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
    | | spaces, found 12
    17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    21 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
    21 | ERROR | [x] Doc comment short description must end with a full stop
    22 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
    22 | ERROR | [x] There must be exactly one blank line before the tags in a
    | | doc comment
    22 | ERROR | [ ] Missing parameter type
    22 | ERROR | [x] Tag value indented incorrectly; expected 1 space but found
    | | 2
    22 | ERROR | [x] Parameter comment must be on the next line
    23 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
    23 | ERROR | [ ] Missing parameter type
    23 | ERROR | [x] Tag value indented incorrectly; expected 1 space but found
    | | 2
    23 | ERROR | [x] Parameter comment must be on the next line
    24 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
    24 | ERROR | [x] Separate the @param and @return sections by a blank line.
    24 | ERROR | [ ] Return type missing for @return tag in function comment
    24 | ERROR | [ ] Description for the @return value is missing
    25 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
    26 | ERROR | [ ] All functions defined in a module file must be prefixed
    | | with the module's name, found "log_paypal_plus_messages"
    | | but expected "paypal_plus_log_paypal_plus_messages"
    27 | ERROR | [x] Opening brace should be on the same line as the declaration
    28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    30 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    31 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
    | | spaces, found 12
    33 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    34 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    35 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
    | | spaces, found 12
    37 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    38 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    39 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
    | | spaces, found 12
    41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    42 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    43 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
    | | spaces, found 12
    44 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    48 | ERROR | [x] Doc comment short description must end with a full stop
    50 | ERROR | [ ] All functions defined in a module file must be prefixed
    | | with the module's name, found "get_paypal_plus_item_ids"
    | | but expected "paypal_plus_get_paypal_plus_item_ids"
    51 | ERROR | [x] Opening brace should be on the same line as the declaration
    52 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    53 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    54 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    54 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    55 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    55 | ERROR | [x] Short array syntax must be used to define arrays
    56 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    61 | ERROR | [x] Doc comment short description must end with a full stop
    63 | ERROR | [ ] All functions defined in a module file must be prefixed
    | | with the module's name, found "get_currency_codes" but
    | | expected "paypal_plus_get_currency_codes"
    64 | ERROR | [x] Opening brace should be on the same line as the declaration
    65 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    65 | ERROR | [x] Short array syntax must be used to define arrays
    66 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    67 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    68 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    69 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    70 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    71 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    72 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    73 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    74 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    75 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    76 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    77 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    78 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    79 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    80 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    81 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    82 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    83 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    84 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    85 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    86 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    87 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    88 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    89 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    90 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
    91 | ERROR | [x] Array closing indentation error, expected 4 spaces but
    | | found 8
    92 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 76 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Routing/RouteSubscriber.php
    --------------------------------------------------------------------------------
    FOUND 15 ERRORS AFFECTING 12 LINES
    --------------------------------------------------------------------------------
    12 | ERROR | [x] Opening brace should be on the same line as the declaration
    13 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Expected 1 blank line before function; 0 found
    17 | ERROR | [x] Opening brace should be on the same line as the declaration
    18 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    19 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    25 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    26 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    26 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    27 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    29 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Controller/PaypalController.php
    --------------------------------------------------------------------------------
    FOUND 117 ERRORS AND 4 WARNINGS AFFECTING 95 LINES
    --------------------------------------------------------------------------------
    6 | WARNING | [x] Unused use statement
    15 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    19 | ERROR | [ ] Doc comment for parameter $request does not match actual
    | | variable name
    22 | ERROR | [ ] @return doc comment specified, but function has no return
    | | statement
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    25 | ERROR | [ ] Public method name "PaypalController::payment_success" is
    | | not in lowerCamel format
    25 | ERROR | [x] Expected 1 blank line before function; 0 found
    26 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    27 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    31 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    34 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    34 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    35 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    36 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    37 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    37 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    38 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    38 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    39 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    42 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    42 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    44 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    45 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    46 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    48 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    50 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    52 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    53 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    55 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    55 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    56 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
    57 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    59 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    59 | WARNING | [ ] Only string literals should be passed to t() where
    | | possible
    61 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    62 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    64 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    65 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    67 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    67 | ERROR | [x] Expected newline after closing brace
    69 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    71 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    72 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    74 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    74 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    75 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
    76 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
    77 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
    77 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    78 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 24
    78 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    79 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
    80 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    82 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    84 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    85 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    87 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    87 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    88 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
    89 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    91 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    91 | WARNING | [ ] Only string literals should be passed to t() where
    | | possible
    93 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    94 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    96 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    97 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    97 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    98 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    99 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    100 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    100 | ERROR | [x] Expected newline after closing brace
    101 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    102 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    103 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    104 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    106 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    109 | ERROR | [ ] Doc comment for parameter $request does not match actual
    | | variable name
    112 | ERROR | [ ] @return doc comment specified, but function has no return
    | | statement
    115 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    115 | ERROR | [ ] Public method name "PaypalController::payment_cancel" is
    | | not in lowerCamel format
    116 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    118 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    119 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    119 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    121 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    123 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    124 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    126 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    126 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    127 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    128 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    129 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    129 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    130 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
    130 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    131 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    132 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    134 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    136 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    137 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    139 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    139 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    140 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    140 | ERROR | [x] Expected 1 space after "="; 2 found
    141 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    143 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    143 | WARNING | [ ] Only string literals should be passed to t() where
    | | possible
    145 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    146 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    148 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    149 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    150 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    150 | ERROR | [x] Expected newline after closing brace
    151 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    152 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    153 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    153 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 112 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Service/PayPal.php
    --------------------------------------------------------------------------------
    FOUND 188 ERRORS AND 5 WARNINGS AFFECTING 152 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be
    | | referenced with use statements
    13 | ERROR | [x] Missing class doc comment
    14 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    22 | ERROR | [ ] Missing parameter comment
    22 | ERROR | [ ] Doc comment for parameter $config does not match actual
    | | variable name
    24 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    27 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    29 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    33 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    35 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    37 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    47 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    47 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    48 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    49 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    49 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    50 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    51 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    53 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    54 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    55 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    58 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    59 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    60 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    61 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    63 | ERROR | [x] Short array syntax must be used to define arrays
    64 | ERROR | [x] Array indentation error, expected 10 spaces but found 9
    65 | ERROR | [x] Array indentation error, expected 10 spaces but found 9
    66 | ERROR | [x] Array indentation error, expected 10 spaces but found 9
    66 | ERROR | [x] Short array syntax must be used to define arrays
    67 | ERROR | [x] Array indentation error, expected 11 spaces but found 13
    68 | ERROR | [x] Array indentation error, expected 11 spaces but found 13
    69 | ERROR | [x] Array indentation error, expected 11 spaces but found 13
    70 | ERROR | [x] Array indentation error, expected 11 spaces but found 13
    72 | ERROR | [x] Array indentation error, expected 10 spaces but found 9
    72 | ERROR | [x] Short array syntax must be used to define arrays
    73 | ERROR | [x] Array indentation error, expected 11 spaces but found 13
    74 | ERROR | [x] Array indentation error, expected 11 spaces but found 13
    75 | ERROR | [x] Array indentation error, expected 11 spaces but found 13
    76 | ERROR | [x] Array indentation error, expected 11 spaces but found 13
    78 | ERROR | [x] Array closing indentation error, expected 8 spaces but
    | | found 5
    80 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    81 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    81 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    82 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    84 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    86 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    87 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    88 | ERROR | [x] Array indentation error, expected 14 spaces but found 13
    89 | ERROR | [x] Array indentation error, expected 14 spaces but found 13
    90 | ERROR | [x] Array closing indentation error, expected 12 spaces but
    | | found 9
    91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 5
    91 | ERROR | [x] Closing brace indented incorrectly; expected 8 spaces,
    | | found 5
    91 | ERROR | [x] Expected newline after closing brace
    92 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
    93 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
    94 | ERROR | [x] Closing brace indented incorrectly; expected 5 spaces,
    | | found 4
    95 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
    95 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces,
    | | found 0
    97 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    100 | ERROR | [ ] Missing parameter comment
    102 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    103 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    105 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    105 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    106 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    108 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    109 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    111 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    112 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    114 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    115 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    117 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    118 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    120 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    120 | ERROR | [x] Expected newline after closing brace
    121 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    122 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    123 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    125 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    125 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    126 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    126 | ERROR | [x] Expected 1 space before "??"; 0 found
    126 | ERROR | [x] Expected 1 space after "??"; 0 found
    127 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    127 | ERROR | [x] Expected 1 space before "??"; 0 found
    127 | ERROR | [x] Expected 1 space after "??"; 0 found
    128 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    128 | ERROR | [x] Expected 1 space before "??"; 0 found
    128 | ERROR | [x] Expected 1 space after "??"; 0 found
    130 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    132 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    132 | ERROR | [x] Missing function doc comment
    133 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    134 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    134 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    134 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL"
    | | but found "null"
    135 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    136 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    136 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    137 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    138 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    140 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    141 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    141 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    142 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    143 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    145 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    146 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    147 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    148 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    150 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    151 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    151 | ERROR | [x] Expected 1 space between "'ref'" and double arrow; 0 found
    151 | ERROR | [x] Expected 1 space between double arrow and "'paypal'"; 0
    | | found
    151 | ERROR | [x] Expected 1 space before "=>"; 0 found
    151 | ERROR | [x] Expected 1 space after "=>"; 0 found
    152 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    153 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    155 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    155 | ERROR | [x] Short array syntax must be used to define arrays
    157 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
    158 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    160 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    160 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    161 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    162 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    163 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    165 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    169 | ERROR | [x] Array indentation error, expected 22 spaces but found 21
    170 | ERROR | [x] Array indentation error, expected 22 spaces but found 21
    171 | ERROR | [x] Array closing indentation error, expected 20 spaces but
    | | found 17
    176 | WARNING | [x] A comma should follow the last multiline array item.
    | | Found: $amount
    177 | WARNING | [x] A comma should follow the last multiline array item.
    | | Found: ]
    178 | WARNING | [x] A comma should follow the last multiline array item.
    | | Found: ]
    179 | WARNING | [x] A comma should follow the last multiline array item.
    | | Found: ]
    183 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 12
    183 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL"
    | | but found "null"
    184 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    185 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 20
    186 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 24
    186 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    187 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 28
    188 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 28
    189 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 24
    190 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 20
    191 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    193 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    194 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    196 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 12
    196 | ERROR | [x] Expected newline after closing brace
    197 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    199 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
    200 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    202 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    202 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    203 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 20
    204 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    206 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    206 | WARNING | [ ] Only string literals should be passed to t() where
    | | possible
    208 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    210 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
    211 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    213 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    213 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    214 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 20
    214 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    215 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    217 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    218 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    219 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 16
    220 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 12
    221 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    222 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    222 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 189 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalRequest.php
    --------------------------------------------------------------------------------
    FOUND 153 ERRORS AND 1 WARNING AFFECTING 131 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be
    | | referenced with use statements
    7 | ERROR | [x] Missing trait doc comment
    8 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    24 | ERROR | [ ] Class property $access_token should use lowerCamel naming
    | | without underscores
    26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    38 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    50 | ERROR | [ ] Missing parameter comment
    52 | ERROR | [ ] @throws comment must be on the next line
    54 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    55 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    57 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    58 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    60 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    60 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    61 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    63 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    67 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    69 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    70 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    71 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    73 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    76 | ERROR | [ ] Missing parameter comment
    80 | ERROR | [ ] Description for the @return value is missing
    82 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    82 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    83 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    84 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    84 | ERROR | [ ] The array declaration extends to column 211 (the limit is
    | | 80). The array content should be split up over multiple
    | | lines
    86 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    87 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    87 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    88 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    94 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    96 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    99 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    100 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    101 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    102 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    104 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    107 | ERROR | [ ] Missing parameter comment
    108 | ERROR | [ ] Missing parameter comment
    110 | ERROR | [ ] Description for the @return value is missing
    112 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    112 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    113 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    114 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    116 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    117 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    119 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    122 | ERROR | [ ] Missing parameter comment
    126 | ERROR | [ ] Description for the @return value is missing
    128 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    129 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    130 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    131 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    132 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    134 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    135 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    137 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    140 | ERROR | [ ] Missing parameter comment
    144 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    145 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    146 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    147 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    148 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    148 | ERROR | [x] Expected newline after closing brace
    149 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    150 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    152 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    152 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    153 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    154 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    156 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    159 | ERROR | [ ] Missing parameter comment
    161 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    162 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    163 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    165 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    166 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    167 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    167 | ERROR | [x] Expected newline after closing brace
    168 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    169 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    170 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    172 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    175 | ERROR | [ ] Missing parameter comment
    177 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    178 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    179 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    180 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    182 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    185 | ERROR | [ ] Missing parameter comment
    189 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    190 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    191 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    191 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    192 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    193 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    194 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    196 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    198 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    199 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    200 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    201 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    202 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    204 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    205 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    205 | ERROR | [ ] Comment indentation error, expected only 1 spaces
    206 | WARNING | [x] There must be no blank line following an inline comment
    206 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    206 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    208 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    208 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    209 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    210 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    211 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    212 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    214 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    214 | ERROR | [x] Expected 1 space before "??"; 0 found
    214 | ERROR | [x] Expected 1 space after "??"; 0 found
    216 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    216 | ERROR | [x] Expected 1 space before "??"; 0 found
    216 | ERROR | [x] Expected 1 space after "??"; 0 found
    218 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    218 | ERROR | [x] Expected 1 space before "??"; 0 found
    218 | ERROR | [x] Expected 1 space after "??"; 0 found
    220 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    221 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    223 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    223 | ERROR | [ ] Missing short description in doc comment
    224 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    226 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    227 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    228 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    229 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    229 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 137 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/Identity.php
    -------------------------------------------------------------------------------
    FOUND 70 ERRORS AFFECTING 65 LINES
    -------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [ ] Description for the @return value is missing
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Expected 1 blank line before function; 0 found
    17 | ERROR | [x] Opening brace should be on the same line as the declaration
    18 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    28 | ERROR | [ ] Missing parameter comment
    29 | ERROR | [ ] Missing parameter comment
    29 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    30 | ERROR | [ ] Missing parameter comment
    30 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    31 | ERROR | [ ] Missing parameter comment
    32 | ERROR | [ ] Missing parameter comment
    33 | ERROR | [ ] Missing parameter comment
    34 | ERROR | [ ] Missing parameter comment
    38 | ERROR | [ ] Description for the @return value is missing
    42 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    43 | ERROR | [x] Opening brace should be on the same line as the declaration
    44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    47 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    48 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    49 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    50 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    51 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    52 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    53 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    58 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    59 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    61 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    64 | ERROR | [ ] Missing parameter comment
    64 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    65 | ERROR | [ ] Missing parameter comment
    69 | ERROR | [ ] Description for the @return value is missing
    73 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    74 | ERROR | [x] Opening brace should be on the same line as the declaration
    75 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    77 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    78 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    79 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    82 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    84 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    85 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    87 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    90 | ERROR | [ ] Missing parameter comment
    94 | ERROR | [ ] Description for the @return value is missing
    98 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    99 | ERROR | [x] Opening brace should be on the same line as the declaration
    100 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    102 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    103 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    106 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    108 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    109 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    111 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    116 | ERROR | [ ] Description for the @return value is missing
    120 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    121 | ERROR | [x] Opening brace should be on the same line as the declaration
    122 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    124 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    126 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    127 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    127 | ERROR | [x] Expected 1 blank line after function; 0 found
    -------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 55 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    -------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/Trackers.php
    --------------------------------------------------------------------------------
    FOUND 36 ERRORS AFFECTING 32 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Description for the @return value is missing
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Expected 1 blank line before function; 0 found
    19 | ERROR | [x] Opening brace should be on the same line as the declaration
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    30 | ERROR | [ ] Missing parameter comment
    31 | ERROR | [ ] Missing parameter comment
    31 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    35 | ERROR | [ ] Description for the @return value is missing
    39 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    40 | ERROR | [x] Opening brace should be on the same line as the declaration
    41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    45 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    47 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    47 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    48 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    50 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    53 | ERROR | [ ] Missing parameter comment
    57 | ERROR | [ ] Description for the @return value is missing
    61 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    62 | ERROR | [x] Opening brace should be on the same line as the declaration
    63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    65 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    67 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    69 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    70 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    70 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 29 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/PaymentCaptures.php
    --------------------------------------------------------------------------------
    FOUND 32 ERRORS AFFECTING 29 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Description for the @return value is missing
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Expected 1 blank line before function; 0 found
    19 | ERROR | [x] Opening brace should be on the same line as the declaration
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    30 | ERROR | [ ] Missing parameter comment
    31 | ERROR | [ ] Missing parameter comment
    32 | ERROR | [ ] Missing parameter comment
    32 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    33 | ERROR | [ ] Missing parameter comment
    37 | ERROR | [ ] Description for the @return value is missing
    41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    42 | ERROR | [x] Opening brace should be on the same line as the declaration
    43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    45 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    47 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    48 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    50 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    51 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    54 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    57 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 25 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/BillingPlans.php
    --------------------------------------------------------------------------------
    FOUND 88 ERRORS AFFECTING 77 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [ ] Missing parameter comment
    12 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    13 | ERROR | [ ] Missing parameter comment
    17 | ERROR | [ ] Description for the @return value is missing
    21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    22 | ERROR | [x] Opening brace should be on the same line as the declaration
    23 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    36 | ERROR | [ ] Missing parameter comment
    36 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    37 | ERROR | [ ] Missing parameter comment
    37 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    38 | ERROR | [ ] Missing parameter comment
    42 | ERROR | [ ] Description for the @return value is missing
    46 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    46 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    47 | ERROR | [x] Opening brace should be on the same line as the declaration
    48 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    50 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    54 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    55 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    60 | ERROR | [ ] Missing parameter comment
    61 | ERROR | [ ] Missing parameter comment
    61 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    65 | ERROR | [ ] Description for the @return value is missing
    69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    70 | ERROR | [x] Opening brace should be on the same line as the declaration
    71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    73 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    75 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    77 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    77 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    78 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    80 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    83 | ERROR | [ ] Missing parameter comment
    87 | ERROR | [ ] Description for the @return value is missing
    91 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    92 | ERROR | [x] Opening brace should be on the same line as the declaration
    93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    95 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    97 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    98 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    100 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    103 | ERROR | [ ] Missing parameter comment
    107 | ERROR | [ ] Description for the @return value is missing
    111 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    112 | ERROR | [x] Opening brace should be on the same line as the declaration
    113 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    115 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    117 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    117 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    118 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    120 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    123 | ERROR | [ ] Missing parameter comment
    127 | ERROR | [ ] Description for the @return value is missing
    131 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    132 | ERROR | [x] Opening brace should be on the same line as the declaration
    133 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    135 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    137 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    137 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    138 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    140 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    143 | ERROR | [ ] Missing parameter comment
    144 | ERROR | [ ] Missing parameter comment
    144 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    148 | ERROR | [ ] Description for the @return value is missing
    152 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    153 | ERROR | [x] Opening brace should be on the same line as the declaration
    154 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    156 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    157 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    160 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    162 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    162 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    163 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    163 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 69 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/CatalogProducts.php
    --------------------------------------------------------------------------------
    FOUND 55 ERRORS AFFECTING 46 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    10 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    11 | ERROR | [ ] Missing parameter comment
    15 | ERROR | [ ] Description for the @return value is missing
    19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    19 | ERROR | [x] Expected 1 blank line before function; 0 found
    20 | ERROR | [x] Opening brace should be on the same line as the declaration
    21 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    23 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    34 | ERROR | [ ] Missing parameter comment
    34 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    35 | ERROR | [ ] Missing parameter comment
    35 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    36 | ERROR | [ ] Missing parameter comment
    40 | ERROR | [ ] Description for the @return value is missing
    44 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    44 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    45 | ERROR | [x] Opening brace should be on the same line as the declaration
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    48 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    50 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    53 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    55 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    58 | ERROR | [ ] Missing parameter comment
    59 | ERROR | [ ] Missing parameter comment
    59 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    63 | ERROR | [ ] Description for the @return value is missing
    67 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    68 | ERROR | [x] Opening brace should be on the same line as the declaration
    69 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    73 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    75 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    75 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    76 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    78 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    81 | ERROR | [ ] Missing parameter comment
    85 | ERROR | [ ] Description for the @return value is missing
    89 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    90 | ERROR | [x] Opening brace should be on the same line as the declaration
    91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    95 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    96 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    96 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 43 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/WebHooks.php
    --------------------------------------------------------------------------------
    FOUND 67 ERRORS AFFECTING 62 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    11 | ERROR | [ ] Missing parameter comment
    11 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    15 | ERROR | [ ] Description for the @return value is missing
    19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    19 | ERROR | [x] Expected 1 blank line before function; 0 found
    20 | ERROR | [x] Opening brace should be on the same line as the declaration
    21 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    23 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    35 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    40 | ERROR | [ ] Description for the @return value is missing
    44 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    45 | ERROR | [x] Opening brace should be on the same line as the declaration
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    48 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    50 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    51 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    53 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    56 | ERROR | [ ] Missing parameter comment
    60 | ERROR | [ ] Description for the @return value is missing
    64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    65 | ERROR | [x] Opening brace should be on the same line as the declaration
    66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    68 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    70 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    70 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    71 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    73 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    76 | ERROR | [ ] Missing parameter comment
    77 | ERROR | [ ] Missing parameter comment
    77 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    81 | ERROR | [ ] Description for the @return value is missing
    85 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    86 | ERROR | [x] Opening brace should be on the same line as the declaration
    87 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    94 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    96 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    99 | ERROR | [ ] Missing parameter comment
    103 | ERROR | [ ] Description for the @return value is missing
    107 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    108 | ERROR | [x] Opening brace should be on the same line as the declaration
    109 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    111 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    113 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    114 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    116 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    119 | ERROR | [ ] Missing parameter comment
    123 | ERROR | [ ] Description for the @return value is missing
    127 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    128 | ERROR | [x] Opening brace should be on the same line as the declaration
    129 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    131 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    133 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    134 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    134 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 54 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...me/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/InvoicesTemplates.php
    --------------------------------------------------------------------------------
    FOUND 58 ERRORS AFFECTING 52 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Description for the @return value is missing
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Expected 1 blank line before function; 0 found
    19 | ERROR | [x] Opening brace should be on the same line as the declaration
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    32 | ERROR | [ ] Missing parameter comment
    32 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    33 | ERROR | [ ] Missing parameter comment
    33 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    34 | ERROR | [ ] Missing parameter comment
    38 | ERROR | [ ] Description for the @return value is missing
    42 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    43 | ERROR | [x] Opening brace should be on the same line as the declaration
    44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    48 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    51 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    54 | ERROR | [ ] Missing parameter comment
    58 | ERROR | [ ] Description for the @return value is missing
    62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    63 | ERROR | [x] Opening brace should be on the same line as the declaration
    64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    68 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    68 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    71 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    74 | ERROR | [ ] Missing parameter comment
    75 | ERROR | [ ] Missing parameter comment
    75 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    79 | ERROR | [ ] Description for the @return value is missing
    83 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    84 | ERROR | [x] Opening brace should be on the same line as the declaration
    85 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    87 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    92 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    94 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    97 | ERROR | [ ] Missing parameter comment
    101 | ERROR | [ ] Description for the @return value is missing
    105 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    106 | ERROR | [x] Opening brace should be on the same line as the declaration
    107 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    109 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    111 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    112 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    112 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 45 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...ome/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/PartnerReferrals.php
    --------------------------------------------------------------------------------
    FOUND 23 ERRORS AFFECTING 21 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Description for the @return value is missing
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Expected 1 blank line before function; 0 found
    19 | ERROR | [x] Opening brace should be on the same line as the declaration
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    32 | ERROR | [ ] Missing parameter comment
    36 | ERROR | [ ] Description for the @return value is missing
    40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    41 | ERROR | [x] Opening brace should be on the same line as the declaration
    42 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    47 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 19 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/Invoices.php
    --------------------------------------------------------------------------------
    FOUND 223 ERRORS AFFECTING 193 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [ ] Description for the @return value is missing
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Expected 1 blank line before function; 0 found
    17 | ERROR | [x] Opening brace should be on the same line as the declaration
    18 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    28 | ERROR | [ ] Missing parameter comment
    32 | ERROR | [ ] Description for the @return value is missing
    36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    37 | ERROR | [x] Opening brace should be on the same line as the declaration
    38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    42 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    50 | ERROR | [ ] Missing parameter comment
    50 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
    51 | ERROR | [ ] Missing parameter comment
    51 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
    52 | ERROR | [ ] Missing parameter comment
    52 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    53 | ERROR | [ ] Missing parameter comment
    57 | ERROR | [ ] Description for the @return value is missing
    61 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    61 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    62 | ERROR | [x] Opening brace should be on the same line as the declaration
    63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    63 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    65 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    67 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    69 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    73 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    74 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    76 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    79 | ERROR | [ ] Missing parameter comment
    83 | ERROR | [ ] Description for the @return value is missing
    87 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    88 | ERROR | [x] Opening brace should be on the same line as the declaration
    89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    93 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    94 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    96 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    99 | ERROR | [ ] Missing parameter comment
    100 | ERROR | [ ] Missing parameter comment
    100 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    104 | ERROR | [ ] Description for the @return value is missing
    108 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    109 | ERROR | [x] Opening brace should be on the same line as the declaration
    110 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    112 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    114 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    116 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    117 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    119 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    122 | ERROR | [ ] Missing parameter comment
    126 | ERROR | [ ] Description for the @return value is missing
    130 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    131 | ERROR | [x] Opening brace should be on the same line as the declaration
    132 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    134 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    136 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    137 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    139 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    142 | ERROR | [ ] Missing parameter comment
    143 | ERROR | [ ] Missing parameter comment
    143 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    147 | ERROR | [ ] Description for the @return value is missing
    151 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    152 | ERROR | [x] Opening brace should be on the same line as the declaration
    153 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    155 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    157 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    159 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    159 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    160 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    162 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    165 | ERROR | [ ] Missing parameter comment
    166 | ERROR | [ ] Missing parameter comment
    166 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    167 | ERROR | [ ] Missing parameter comment
    167 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    171 | ERROR | [ ] Description for the @return value is missing
    175 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    175 | ERROR | [ ] Public method name "Invoices::generateQRCodeInvoice" is not
    | | in lowerCamel format
    176 | ERROR | [x] Opening brace should be on the same line as the declaration
    177 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    179 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    180 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    181 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    183 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    185 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    186 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    188 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    191 | ERROR | [ ] Missing parameter comment
    192 | ERROR | [ ] Missing parameter comment
    193 | ERROR | [ ] Missing parameter comment
    194 | ERROR | [ ] Missing parameter comment
    194 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    195 | ERROR | [ ] Missing parameter comment
    196 | ERROR | [ ] Missing parameter comment
    200 | ERROR | [ ] Description for the @return value is missing
    204 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    205 | ERROR | [x] Opening brace should be on the same line as the declaration
    206 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    208 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    209 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    210 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    211 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    212 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    213 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    214 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    215 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    219 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    221 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    223 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    224 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    226 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    229 | ERROR | [ ] Missing parameter comment
    230 | ERROR | [ ] Missing parameter comment
    234 | ERROR | [ ] Description for the @return value is missing
    238 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    239 | ERROR | [x] Opening brace should be on the same line as the declaration
    240 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    242 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    244 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    244 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    245 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    247 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    250 | ERROR | [ ] Missing parameter comment
    251 | ERROR | [ ] Missing parameter comment
    252 | ERROR | [ ] Missing parameter comment
    253 | ERROR | [ ] Missing parameter comment
    253 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    257 | ERROR | [ ] Description for the @return value is missing
    261 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    262 | ERROR | [x] Opening brace should be on the same line as the declaration
    263 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    265 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    266 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    267 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    268 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    269 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    270 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    274 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    276 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    278 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    279 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    281 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    284 | ERROR | [ ] Missing parameter comment
    285 | ERROR | [ ] Missing parameter comment
    289 | ERROR | [ ] Description for the @return value is missing
    293 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    294 | ERROR | [x] Opening brace should be on the same line as the declaration
    295 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    297 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    299 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    299 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    300 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    302 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    305 | ERROR | [ ] Missing parameter comment
    306 | ERROR | [ ] Missing parameter comment
    307 | ERROR | [ ] Missing parameter comment
    308 | ERROR | [ ] Missing parameter comment
    308 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
    309 | ERROR | [ ] Missing parameter comment
    309 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
    310 | ERROR | [ ] Missing parameter comment
    310 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    314 | ERROR | [ ] Description for the @return value is missing
    318 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    318 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    318 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    319 | ERROR | [x] Opening brace should be on the same line as the declaration
    320 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    322 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    323 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    324 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    325 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    326 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    327 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    330 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    332 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    334 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    334 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    335 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    337 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    340 | ERROR | [ ] Missing parameter comment
    341 | ERROR | [ ] Missing parameter comment
    342 | ERROR | [ ] Missing parameter comment
    343 | ERROR | [ ] Missing parameter comment
    343 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
    344 | ERROR | [ ] Missing parameter comment
    344 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
    345 | ERROR | [ ] Missing parameter comment
    345 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    349 | ERROR | [ ] Description for the @return value is missing
    353 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    353 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    353 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    354 | ERROR | [x] Opening brace should be on the same line as the declaration
    355 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    357 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    358 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    359 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    360 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    361 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    362 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    365 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    367 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    369 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    369 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    370 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    370 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 168 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/WebHooksEvents.php
    --------------------------------------------------------------------------------
    FOUND 42 ERRORS AFFECTING 39 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [ ] Description for the @return value is missing
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Expected 1 blank line before function; 0 found
    17 | ERROR | [x] Opening brace should be on the same line as the declaration
    18 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    30 | ERROR | [ ] Description for the @return value is missing
    34 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    35 | ERROR | [x] Opening brace should be on the same line as the declaration
    36 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    46 | ERROR | [ ] Missing parameter comment
    50 | ERROR | [ ] Description for the @return value is missing
    54 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    55 | ERROR | [x] Opening brace should be on the same line as the declaration
    56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    58 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    60 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    61 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    63 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    66 | ERROR | [ ] Missing parameter comment
    67 | ERROR | [ ] Missing parameter comment
    67 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    71 | ERROR | [ ] Description for the @return value is missing
    75 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    76 | ERROR | [x] Opening brace should be on the same line as the declaration
    77 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    79 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    80 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    82 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    84 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    85 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    85 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 35 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/Disputes.php
    --------------------------------------------------------------------------------
    FOUND 34 ERRORS AFFECTING 30 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [ ] Description for the @return value is missing
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Expected 1 blank line before function; 0 found
    17 | ERROR | [x] Opening brace should be on the same line as the declaration
    18 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    28 | ERROR | [ ] Missing parameter comment
    28 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    29 | ERROR | [ ] Missing parameter comment
    33 | ERROR | [ ] Description for the @return value is missing
    37 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    38 | ERROR | [x] Opening brace should be on the same line as the declaration
    39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    45 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    45 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    46 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    48 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    51 | ERROR | [ ] Missing parameter comment
    55 | ERROR | [ ] Description for the @return value is missing
    59 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    60 | ERROR | [x] Opening brace should be on the same line as the declaration
    61 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    65 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    66 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    66 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 28 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...ownloads/paypal_plus/src/Traits/PayPalAPI/PaymentExperienceWebProfiles.php
    --------------------------------------------------------------------------------
    FOUND 67 ERRORS AFFECTING 62 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [ ] Description for the @return value is missing
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Expected 1 blank line before function; 0 found
    17 | ERROR | [x] Opening brace should be on the same line as the declaration
    18 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    28 | ERROR | [ ] Missing parameter comment
    28 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    29 | ERROR | [ ] Missing parameter comment
    33 | ERROR | [ ] Description for the @return value is missing
    37 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    38 | ERROR | [x] Opening brace should be on the same line as the declaration
    39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    42 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    52 | ERROR | [ ] Missing parameter comment
    56 | ERROR | [ ] Description for the @return value is missing
    60 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    61 | ERROR | [x] Opening brace should be on the same line as the declaration
    62 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    67 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    72 | ERROR | [ ] Missing parameter comment
    73 | ERROR | [ ] Missing parameter comment
    73 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    77 | ERROR | [ ] Description for the @return value is missing
    81 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    82 | ERROR | [x] Opening brace should be on the same line as the declaration
    83 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    85 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    87 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    90 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    92 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    95 | ERROR | [ ] Missing parameter comment
    96 | ERROR | [ ] Missing parameter comment
    96 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    100 | ERROR | [ ] Description for the @return value is missing
    104 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    105 | ERROR | [x] Opening brace should be on the same line as the declaration
    106 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    108 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    110 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    112 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    113 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    115 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    118 | ERROR | [ ] Missing parameter comment
    122 | ERROR | [ ] Description for the @return value is missing
    126 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    127 | ERROR | [x] Opening brace should be on the same line as the declaration
    128 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    130 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    132 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    133 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    133 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 53 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/Subscriptions.php
    --------------------------------------------------------------------------------
    FOUND 125 ERRORS AFFECTING 113 LINES
    --------------------------------------------------------------------------------
    7 | ERROR | [x] Missing trait doc comment
    8 | ERROR | [x] Opening brace should be on the same line as the declaration
    9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    14 | ERROR | [ ] Missing parameter comment
    18 | ERROR | [ ] Description for the @return value is missing
    22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    23 | ERROR | [x] Opening brace should be on the same line as the declaration
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    36 | ERROR | [ ] Missing parameter comment
    37 | ERROR | [ ] Missing parameter comment
    37 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    41 | ERROR | [ ] Description for the @return value is missing
    45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    46 | ERROR | [x] Opening brace should be on the same line as the declaration
    47 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    49 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    51 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    53 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    53 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    54 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    56 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    59 | ERROR | [ ] Missing parameter comment
    63 | ERROR | [ ] Description for the @return value is missing
    67 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    68 | ERROR | [x] Opening brace should be on the same line as the declaration
    69 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    73 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    74 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    76 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    79 | ERROR | [ ] Missing parameter comment
    80 | ERROR | [ ] Missing parameter comment
    84 | ERROR | [ ] Description for the @return value is missing
    88 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    89 | ERROR | [x] Opening brace should be on the same line as the declaration
    90 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    92 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    94 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    96 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    96 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    97 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    99 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    102 | ERROR | [ ] Missing parameter comment
    103 | ERROR | [ ] Missing parameter comment
    107 | ERROR | [ ] Description for the @return value is missing
    111 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    112 | ERROR | [x] Opening brace should be on the same line as the declaration
    113 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    115 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    117 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    119 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    119 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    120 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    122 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    125 | ERROR | [ ] Missing parameter comment
    126 | ERROR | [ ] Missing parameter comment
    130 | ERROR | [ ] Description for the @return value is missing
    134 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    135 | ERROR | [x] Opening brace should be on the same line as the declaration
    136 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    138 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    140 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    142 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    142 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    143 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    145 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    148 | ERROR | [ ] Missing parameter comment
    149 | ERROR | [ ] Missing parameter comment
    150 | ERROR | [ ] Missing parameter comment
    150 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    154 | ERROR | [ ] Description for the @return value is missing
    158 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    159 | ERROR | [x] Opening brace should be on the same line as the declaration
    160 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    162 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    163 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    164 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    165 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    166 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    167 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    171 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    173 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    173 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    174 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    176 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    179 | ERROR | [ ] Missing parameter comment
    180 | ERROR | [ ] Missing parameter comment
    180 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    184 | ERROR | [ ] Description for the @return value is missing
    188 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    189 | ERROR | [x] Opening brace should be on the same line as the declaration
    190 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    192 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    194 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    196 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    197 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    199 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    202 | ERROR | [ ] Missing parameter comment
    202 | ERROR | [x] Expected 1 spaces after parameter type; 20 found
    203 | ERROR | [ ] Missing parameter comment
    204 | ERROR | [ ] Missing parameter comment
    208 | ERROR | [ ] Description for the @return value is missing
    212 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    213 | ERROR | [x] Opening brace should be on the same line as the declaration
    214 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    214 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    215 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    216 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    218 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    218 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    219 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    220 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    222 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    223 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    225 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    227 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    229 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    230 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    230 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 98 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...ishal/Downloads/paypal_plus/src/Traits/PayPalAPI/Subscriptions/Helpers.php
    --------------------------------------------------------------------------------
    FOUND 361 ERRORS AND 1 WARNING AFFECTING 295 LINES
    --------------------------------------------------------------------------------
    7 | WARNING | [x] Unused use statement
    7 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be
    | | referenced with use statements
    9 | ERROR | [x] Missing trait doc comment
    10 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    11 | ERROR | [ ] Missing short description in doc comment
    14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    14 | ERROR | [ ] Class property $trial_pricing should use lowerCamel naming
    | | without underscores
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [ ] Missing short description in doc comment
    19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    19 | ERROR | [ ] Class property $payment_failure_threshold should use
    | | lowerCamel naming without underscores
    21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    21 | ERROR | [ ] Missing short description in doc comment
    24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    26 | ERROR | [ ] Missing short description in doc comment
    29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    29 | ERROR | [ ] Class property $billing_plan should use lowerCamel naming
    | | without underscores
    31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    31 | ERROR | [ ] Missing short description in doc comment
    34 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    34 | ERROR | [ ] Class property $shipping_address should use lowerCamel
    | | naming without underscores
    36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    36 | ERROR | [ ] Missing short description in doc comment
    39 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    39 | ERROR | [ ] Class property $payment_preferences should use lowerCamel
    | | naming without underscores
    41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    41 | ERROR | [ ] Missing short description in doc comment
    44 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    44 | ERROR | [ ] Class property $has_setup_fee should use lowerCamel naming
    | | without underscores
    44 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
    | | but found "false"
    46 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    46 | ERROR | [ ] Missing short description in doc comment
    49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    49 | ERROR | [ ] Class property $return_url should use lowerCamel naming
    | | without underscores
    51 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    51 | ERROR | [ ] Missing short description in doc comment
    54 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    54 | ERROR | [ ] Class property $cancel_url should use lowerCamel naming
    | | without underscores
    56 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    59 | ERROR | [ ] Missing parameter comment
    60 | ERROR | [ ] Missing parameter comment
    61 | ERROR | [ ] Missing parameter comment
    63 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    65 | ERROR | [ ] Description for the @return value is missing
    67 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    68 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    69 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    72 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    73 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    74 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    75 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    76 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    77 | ERROR | [x] Array indentation error, expected 18 spaces but found 20
    79 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    83 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    84 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    85 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    87 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    90 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    94 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    95 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    96 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    98 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    100 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    102 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    103 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    104 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    105 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    106 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    108 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    109 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    111 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    114 | ERROR | [ ] Missing parameter comment
    114 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    115 | ERROR | [ ] Missing parameter comment
    115 | ERROR | [x] Expected 1 spaces after parameter type; 7 found
    116 | ERROR | [ ] Missing parameter comment
    118 | ERROR | [ ] Description for the @return value is missing
    120 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    120 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    121 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    122 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    122 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    124 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    125 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    127 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    130 | ERROR | [ ] Missing parameter comment
    130 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    131 | ERROR | [ ] Missing parameter comment
    131 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    132 | ERROR | [ ] Missing parameter comment
    134 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    136 | ERROR | [ ] Description for the @return value is missing
    138 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    138 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    139 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    140 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    141 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    142 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    144 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    145 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    145 | ERROR | [ ] The array declaration extends to column 119 (the limit is
    | | 80). The array content should be split up over multiple
    | | lines
    147 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    149 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    150 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    152 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    155 | ERROR | [ ] Missing parameter comment
    155 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    156 | ERROR | [ ] Missing parameter comment
    156 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    157 | ERROR | [ ] Missing parameter comment
    159 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    161 | ERROR | [ ] Description for the @return value is missing
    163 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    163 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    164 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    165 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    166 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    167 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    169 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    170 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    170 | ERROR | [ ] The array declaration extends to column 119 (the limit is
    | | 80). The array content should be split up over multiple
    | | lines
    172 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    174 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    175 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    177 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    180 | ERROR | [ ] Missing parameter comment
    180 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    181 | ERROR | [ ] Missing parameter comment
    181 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    182 | ERROR | [ ] Missing parameter comment
    184 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    186 | ERROR | [ ] Description for the @return value is missing
    188 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    188 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    189 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    190 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    191 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    192 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    194 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    195 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    195 | ERROR | [ ] The array declaration extends to column 119 (the limit is
    | | 80). The array content should be split up over multiple
    | | lines
    197 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    199 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    200 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    202 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    205 | ERROR | [ ] Missing parameter comment
    205 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    206 | ERROR | [ ] Missing parameter comment
    206 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    207 | ERROR | [ ] Missing parameter comment
    209 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    211 | ERROR | [ ] Description for the @return value is missing
    213 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    213 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    214 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    215 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    216 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    217 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    219 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    220 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    220 | ERROR | [ ] The array declaration extends to column 119 (the limit is
    | | 80). The array content should be split up over multiple
    | | lines
    222 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    224 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    225 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    227 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    230 | ERROR | [ ] Missing parameter comment
    230 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    231 | ERROR | [ ] Missing parameter comment
    231 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    232 | ERROR | [ ] Missing parameter comment
    233 | ERROR | [ ] Missing parameter comment
    233 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    234 | ERROR | [ ] Missing parameter comment
    234 | ERROR | [x] Expected 1 spaces after parameter type; 7 found
    236 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    238 | ERROR | [ ] Description for the @return value is missing
    240 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    240 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    241 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    242 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    244 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    245 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    246 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    248 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    249 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    249 | ERROR | [x] Concat operator must be surrounded by a single space
    250 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    252 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    253 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    253 | ERROR | [ ] The array declaration extends to column 119 (the limit is
    | | 80). The array content should be split up over multiple
    | | lines
    255 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    257 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    258 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    260 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    263 | ERROR | [ ] Missing parameter comment
    264 | ERROR | [ ] Missing parameter comment
    264 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    265 | ERROR | [ ] Missing parameter comment
    265 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    266 | ERROR | [ ] Missing parameter comment
    266 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
    268 | ERROR | [ ] Description for the @return value is missing
    270 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    270 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
    | | but found "false"
    271 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    272 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    273 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    274 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    275 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    279 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    280 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    281 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    281 | ERROR | [x] Expected newline after closing brace
    282 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    283 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    285 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    286 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    287 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    288 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    290 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    290 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    291 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    291 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    292 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    292 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    293 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    295 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    297 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    300 | ERROR | [ ] Missing parameter comment
    301 | ERROR | [ ] Missing parameter comment
    302 | ERROR | [ ] Missing parameter comment
    303 | ERROR | [ ] Missing parameter comment
    305 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    307 | ERROR | [ ] Description for the @return value is missing
    309 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    309 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    310 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    311 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    312 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    313 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    315 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    317 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    318 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    319 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    320 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    321 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    324 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    325 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    327 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    330 | ERROR | [ ] Missing parameter comment
    332 | ERROR | [ ] Description for the @return value is missing
    334 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    334 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    335 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    336 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    337 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    340 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    341 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    343 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    346 | ERROR | [ ] Missing parameter comment
    348 | ERROR | [ ] Description for the @return value is missing
    350 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    350 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    351 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    352 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    353 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    356 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    357 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    359 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    362 | ERROR | [ ] Missing parameter comment
    363 | ERROR | [ ] Missing parameter comment
    364 | ERROR | [ ] Missing parameter comment
    364 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    366 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    368 | ERROR | [ ] If there is no return value for a function, there must not
    | | be a @return tag.
    368 | ERROR | [ ] Description for the @return value is missing
    370 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    371 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    372 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    374 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    375 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    376 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    377 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    378 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    379 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    380 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    381 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    381 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    382 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    383 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    387 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    388 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    390 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    393 | ERROR | [ ] Missing parameter comment
    394 | ERROR | [ ] Missing parameter comment
    396 | ERROR | [ ] Description for the @return value is missing
    398 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    398 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    399 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    400 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    401 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    403 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    404 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    406 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    409 | ERROR | [ ] Missing parameter comment
    411 | ERROR | [ ] Description for the @return value is missing
    413 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    413 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    414 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    415 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    417 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    418 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    420 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    423 | ERROR | [ ] Missing parameter comment
    425 | ERROR | [ ] Description for the @return value is missing
    427 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    427 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    428 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    429 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    429 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    430 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    431 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    431 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    432 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    433 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    434 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    436 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    437 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    440 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    441 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    443 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    446 | ERROR | [ ] Missing parameter comment
    447 | ERROR | [ ] Missing parameter comment
    448 | ERROR | [ ] Missing parameter comment
    449 | ERROR | [ ] Missing parameter comment
    450 | ERROR | [ ] Missing parameter comment
    451 | ERROR | [ ] Missing parameter comment
    452 | ERROR | [ ] Missing parameter comment
    454 | ERROR | [ ] Description for the @return value is missing
    456 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    456 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    457 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    458 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    459 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    460 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    462 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    463 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    464 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    465 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    466 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    467 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    468 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    472 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    473 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    473 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 276 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...ishal/Downloads/paypal_plus/src/Traits/PayPalAPI/InvoiceSearch/Filters.php
    --------------------------------------------------------------------------------
    FOUND 198 ERRORS AFFECTING 156 LINES
    --------------------------------------------------------------------------------
    7 | ERROR | [x] Missing trait doc comment
    8 | ERROR | [x] Opening brace should be on the same line as the declaration
    9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    9 | ERROR | [ ] Missing short description in doc comment
    12 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [ ] Class property $invoice_search_filters should use lowerCamel
    | | naming without underscores
    14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    14 | ERROR | [ ] Missing short description in doc comment
    17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    17 | ERROR | [ ] Class property $invoices_date_types should use lowerCamel
    | | naming without underscores
    18 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    19 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    20 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    21 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    24 | ERROR | [ ] Missing short description in doc comment
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    27 | ERROR | [ ] Class property $invoices_status_types should use lowerCamel
    | | naming without underscores
    28 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    29 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    30 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    31 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    32 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    33 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    34 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    35 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    36 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    37 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    38 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    39 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
    42 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    42 | ERROR | [ ] Missing short description in doc comment
    43 | ERROR | [ ] Missing parameter comment
    45 | ERROR | [ ] Description for the @return value is missing
    47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    47 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    48 | ERROR | [x] Opening brace should be on the same line as the declaration
    49 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    51 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    52 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    54 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    54 | ERROR | [ ] Missing short description in doc comment
    55 | ERROR | [ ] Missing parameter comment
    57 | ERROR | [ ] Description for the @return value is missing
    59 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    59 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    60 | ERROR | [x] Opening brace should be on the same line as the declaration
    61 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    66 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    66 | ERROR | [ ] Missing short description in doc comment
    67 | ERROR | [ ] Missing parameter comment
    69 | ERROR | [ ] Description for the @return value is missing
    71 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    71 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    72 | ERROR | [x] Opening brace should be on the same line as the declaration
    73 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    75 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    76 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    78 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    78 | ERROR | [ ] Missing short description in doc comment
    79 | ERROR | [ ] Missing parameter comment
    81 | ERROR | [ ] Description for the @return value is missing
    83 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    83 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    84 | ERROR | [x] Opening brace should be on the same line as the declaration
    85 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    87 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    88 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    90 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    90 | ERROR | [ ] Missing short description in doc comment
    91 | ERROR | [ ] Missing parameter comment
    93 | ERROR | [ ] Description for the @return value is missing
    95 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    95 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    96 | ERROR | [x] Opening brace should be on the same line as the declaration
    97 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    99 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    100 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    102 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    102 | ERROR | [ ] Missing short description in doc comment
    103 | ERROR | [ ] Missing parameter comment
    107 | ERROR | [ ] Description for the @return value is missing
    111 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    111 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    112 | ERROR | [x] Opening brace should be on the same line as the declaration
    113 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    113 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    115 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    116 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    117 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
    117 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    118 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    119 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    121 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    121 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    122 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    122 | ERROR | [x] Concat operator must be surrounded by a single space
    123 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    125 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    127 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    128 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    130 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    130 | ERROR | [ ] Missing short description in doc comment
    131 | ERROR | [ ] Missing parameter comment
    132 | ERROR | [ ] Missing parameter comment
    132 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
    134 | ERROR | [ ] Description for the @return value is missing
    136 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    136 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    136 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    137 | ERROR | [x] Opening brace should be on the same line as the declaration
    138 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    138 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    140 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    142 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    143 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    145 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    145 | ERROR | [ ] Missing short description in doc comment
    146 | ERROR | [ ] Missing parameter comment
    148 | ERROR | [ ] Description for the @return value is missing
    150 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    150 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    151 | ERROR | [x] Opening brace should be on the same line as the declaration
    152 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    154 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    156 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    157 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    159 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    159 | ERROR | [ ] Missing short description in doc comment
    160 | ERROR | [ ] Missing parameter comment
    160 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    161 | ERROR | [ ] Missing parameter comment
    161 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    162 | ERROR | [ ] Missing parameter comment
    166 | ERROR | [ ] Description for the @return value is missing
    168 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    168 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    169 | ERROR | [x] Opening brace should be on the same line as the declaration
    170 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    171 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    172 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    174 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    176 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    177 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    178 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    179 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    181 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    182 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    183 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    187 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    188 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    190 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    190 | ERROR | [ ] Missing short description in doc comment
    191 | ERROR | [ ] Missing parameter comment
    192 | ERROR | [ ] Missing parameter comment
    193 | ERROR | [ ] Missing parameter comment
    197 | ERROR | [ ] Description for the @return value is missing
    199 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    199 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    200 | ERROR | [x] Opening brace should be on the same line as the declaration
    201 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    202 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    204 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    205 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    206 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    208 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    209 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    209 | ERROR | [x] Concat operator must be surrounded by a single space
    210 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    212 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    213 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    214 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    217 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    218 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    220 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    220 | ERROR | [ ] Missing short description in doc comment
    221 | ERROR | [ ] Missing parameter comment
    223 | ERROR | [ ] Description for the @return value is missing
    225 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    225 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but
    | | found "null"
    225 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    226 | ERROR | [x] Opening brace should be on the same line as the declaration
    227 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    229 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    230 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    232 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    232 | ERROR | [ ] Missing short description in doc comment
    233 | ERROR | [ ] Missing parameter comment
    235 | ERROR | [ ] Description for the @return value is missing
    239 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    239 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    240 | ERROR | [x] Opening brace should be on the same line as the declaration
    241 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    243 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    244 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    244 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 151 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/Reporting.php
    ------------------------------------------------------------------------------
    FOUND 32 ERRORS AFFECTING 27 LINES
    ------------------------------------------------------------------------------
    7 | ERROR | [x] Missing trait doc comment
    8 | ERROR | [x] Opening brace should be on the same line as the declaration
    9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [ ] Missing parameter comment
    12 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    13 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    15 | ERROR | [ ] Missing parameter comment
    15 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    19 | ERROR | [ ] Description for the @return value is missing
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    23 | ERROR | [x] Expected 1 blank line before function; 0 found
    24 | ERROR | [x] Opening brace should be on the same line as the declaration
    25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    34 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    35 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    37 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    40 | ERROR | [ ] Missing parameter comment
    41 | ERROR | [ ] Missing parameter comment
    45 | ERROR | [ ] Description for the @return value is missing
    49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    50 | ERROR | [x] Opening brace should be on the same line as the declaration
    51 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    54 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    58 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    59 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    59 | ERROR | [x] Expected 1 blank line after function; 0 found
    ------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ------------------------------------------------------------------------------

    FILE: ...Downloads/paypal_plus/src/Traits/PayPalAPI/BillingPlans/PricingSchemes.php
    --------------------------------------------------------------------------------
    FOUND 30 ERRORS AND 1 WARNING AFFECTING 22 LINES
    --------------------------------------------------------------------------------
    5 | WARNING | [x] Unused use statement
    5 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be
    | | referenced with use statements
    7 | ERROR | [x] Missing trait doc comment
    8 | ERROR | [x] Opening brace should be on the same line as the declaration
    9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    9 | ERROR | [ ] Missing member variable doc comment
    9 | ERROR | [ ] Class property $pricing_schemes should use lowerCamel
    | | naming without underscores
    11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    14 | ERROR | [ ] Missing parameter comment
    15 | ERROR | [ ] Missing parameter comment
    15 | ERROR | [x] Expected 1 spaces after parameter type; 4 found
    16 | ERROR | [ ] Missing parameter comment
    16 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    17 | ERROR | [ ] Missing parameter comment
    17 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
    19 | ERROR | [x] Data types in @throws tags need to be fully namespaced
    21 | ERROR | [ ] Description for the @return value is missing
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    23 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
    | | but found "false"
    23 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    24 | ERROR | [x] Opening brace should be on the same line as the declaration
    25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    27 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    35 | ERROR | [ ] Description for the @return value is missing
    37 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    38 | ERROR | [x] Opening brace should be on the same line as the declaration
    39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    40 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 23 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/PaymentRefunds.php
    --------------------------------------------------------------------------------
    FOUND 13 ERRORS AFFECTING 11 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Description for the @return value is missing
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Expected 1 blank line before function; 0 found
    19 | ERROR | [x] Opening brace should be on the same line as the declaration
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    25 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/Payouts.php
    ------------------------------------------------------------------------------
    FOUND 41 ERRORS AFFECTING 39 LINES
    ------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Description for the @return value is missing
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Expected 1 blank line before function; 0 found
    19 | ERROR | [x] Opening brace should be on the same line as the declaration
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    32 | ERROR | [ ] Missing parameter comment
    36 | ERROR | [ ] Description for the @return value is missing
    40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    41 | ERROR | [x] Opening brace should be on the same line as the declaration
    42 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    52 | ERROR | [ ] Missing parameter comment
    56 | ERROR | [ ] Description for the @return value is missing
    60 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    61 | ERROR | [x] Opening brace should be on the same line as the declaration
    62 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    67 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    72 | ERROR | [ ] Missing parameter comment
    76 | ERROR | [ ] Description for the @return value is missing
    80 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    81 | ERROR | [x] Opening brace should be on the same line as the declaration
    82 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    84 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    86 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    87 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    87 | ERROR | [x] Expected 1 blank line after function; 0 found
    ------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 33 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ------------------------------------------------------------------------------

    FILE: ...home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/DisputesActions.php
    --------------------------------------------------------------------------------
    FOUND 45 ERRORS AFFECTING 42 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    11 | ERROR | [ ] Missing parameter comment
    12 | ERROR | [ ] Missing parameter comment
    12 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    16 | ERROR | [ ] Description for the @return value is missing
    20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    20 | ERROR | [x] Expected 1 blank line before function; 0 found
    21 | ERROR | [x] Opening brace should be on the same line as the declaration
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    27 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    31 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    32 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    34 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    37 | ERROR | [ ] Missing parameter comment
    38 | ERROR | [ ] Missing parameter comment
    42 | ERROR | [ ] Description for the @return value is missing
    46 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    47 | ERROR | [x] Opening brace should be on the same line as the declaration
    48 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    50 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    51 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    54 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    59 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    62 | ERROR | [ ] Missing parameter comment
    63 | ERROR | [ ] Missing parameter comment
    64 | ERROR | [ ] Missing parameter comment
    68 | ERROR | [ ] Description for the @return value is missing
    72 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    73 | ERROR | [x] Opening brace should be on the same line as the declaration
    74 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    76 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    77 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    78 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    81 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    83 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    84 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    84 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 34 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...ishal/Downloads/paypal_plus/src/Traits/PayPalAPI/PaymentAuthorizations.php
    --------------------------------------------------------------------------------
    FOUND 59 ERRORS AFFECTING 53 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Description for the @return value is missing
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Expected 1 blank line before function; 0 found
    19 | ERROR | [x] Opening brace should be on the same line as the declaration
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    30 | ERROR | [ ] Missing parameter comment
    31 | ERROR | [ ] Missing parameter comment
    32 | ERROR | [ ] Missing parameter comment
    32 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    33 | ERROR | [ ] Missing parameter comment
    37 | ERROR | [ ] Description for the @return value is missing
    41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    42 | ERROR | [x] Opening brace should be on the same line as the declaration
    43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    45 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    46 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    47 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    48 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    50 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    51 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    52 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    52 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    55 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    57 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    58 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    60 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    63 | ERROR | [ ] Missing parameter comment
    64 | ERROR | [ ] Missing parameter comment
    64 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    68 | ERROR | [ ] Description for the @return value is missing
    72 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    73 | ERROR | [x] Opening brace should be on the same line as the declaration
    74 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    76 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    77 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    78 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    79 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    83 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    85 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    86 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    88 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    91 | ERROR | [ ] Missing parameter comment
    95 | ERROR | [ ] Description for the @return value is missing
    99 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    100 | ERROR | [x] Opening brace should be on the same line as the declaration
    101 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    103 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    105 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    105 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    106 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    106 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 47 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/InvoicesSearch.php
    --------------------------------------------------------------------------------
    FOUND 25 ERRORS AFFECTING 20 LINES
    --------------------------------------------------------------------------------
    7 | ERROR | [x] Missing trait doc comment
    8 | ERROR | [x] Opening brace should be on the same line as the declaration
    9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    14 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    15 | ERROR | [ ] Missing parameter comment
    15 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    16 | ERROR | [ ] Missing parameter comment
    20 | ERROR | [ ] Description for the @return value is missing
    24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    24 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    25 | ERROR | [x] Opening brace should be on the same line as the declaration
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    29 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    30 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
    32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    34 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    36 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    41 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 21 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/Orders.php
    --------------------------------------------------------------------------------
    FOUND 56 ERRORS AFFECTING 50 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Description for the @return value is missing
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Expected 1 blank line before function; 0 found
    19 | ERROR | [x] Opening brace should be on the same line as the declaration
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    29 | ERROR | [x] Missing function doc comment
    30 | ERROR | [x] Opening brace should be on the same line as the declaration
    31 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    33 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    35 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    37 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    37 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
    | | found "false"
    38 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    43 | ERROR | [ ] Missing parameter comment
    47 | ERROR | [ ] Description for the @return value is missing
    51 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    52 | ERROR | [x] Opening brace should be on the same line as the declaration
    53 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    55 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    57 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    58 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    60 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    63 | ERROR | [ ] Missing parameter comment
    64 | ERROR | [ ] Missing parameter comment
    64 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    68 | ERROR | [ ] Description for the @return value is missing
    72 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    73 | ERROR | [x] Opening brace should be on the same line as the declaration
    74 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    76 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    78 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    80 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    81 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    83 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    86 | ERROR | [ ] Missing parameter comment
    87 | ERROR | [ ] Missing parameter comment
    87 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    91 | ERROR | [ ] Description for the @return value is missing
    95 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    96 | ERROR | [x] Opening brace should be on the same line as the declaration
    97 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    99 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    101 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    103 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    104 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    104 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 46 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...me/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/ReferencedPayouts.php
    --------------------------------------------------------------------------------
    FOUND 54 ERRORS AFFECTING 50 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    10 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    11 | ERROR | [ ] Missing parameter comment
    12 | ERROR | [ ] Missing parameter comment
    16 | ERROR | [ ] Description for the @return value is missing
    20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    20 | ERROR | [x] Expected 1 blank line before function; 0 found
    21 | ERROR | [x] Opening brace should be on the same line as the declaration
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    36 | ERROR | [ ] Missing parameter comment
    40 | ERROR | [ ] Description for the @return value is missing
    44 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    45 | ERROR | [x] Opening brace should be on the same line as the declaration
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    48 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    50 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    51 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    53 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    56 | ERROR | [ ] Missing parameter comment
    56 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
    57 | ERROR | [ ] Missing parameter comment
    58 | ERROR | [ ] Missing parameter comment
    62 | ERROR | [ ] Description for the @return value is missing
    66 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    67 | ERROR | [x] Opening brace should be on the same line as the declaration
    68 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    70 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    72 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    74 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    76 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    77 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    79 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    82 | ERROR | [ ] Missing parameter comment
    83 | ERROR | [ ] Missing parameter comment
    87 | ERROR | [ ] Description for the @return value is missing
    91 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    92 | ERROR | [x] Opening brace should be on the same line as the declaration
    93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    95 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    96 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    98 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    99 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    99 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 41 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: ...vishal/Downloads/paypal_plus/src/Traits/PayPalAPI/WebHooksVerification.php
    --------------------------------------------------------------------------------
    FOUND 14 ERRORS AFFECTING 12 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing parameter comment
    14 | ERROR | [ ] Description for the @return value is missing
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Expected 1 blank line before function; 0 found
    19 | ERROR | [x] Opening brace should be on the same line as the declaration
    20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    27 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalVerifyIPN.php
    --------------------------------------------------------------------------------
    FOUND 36 ERRORS AFFECTING 28 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    7 | ERROR | [ ] Missing member variable doc comment
    7 | ERROR | [ ] Class property $webhook_id should use lowerCamel naming
    | | without underscores
    9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    9 | ERROR | [x] Missing function doc comment
    9 | ERROR | [ ] Public method name "PayPalVerifyIPN::setWebHookID" is not in
    | | lowerCamel format
    9 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    10 | ERROR | [x] Opening brace should be on the same line as the declaration
    11 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    13 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    21 | ERROR | [ ] Description for the @return value is missing
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    23 | ERROR | [ ] Public method name "PayPalVerifyIPN::verifyIPN" is not in
    | | lowerCamel format
    23 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
    | | with use statements
    24 | ERROR | [x] Opening brace should be on the same line as the declaration
    25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    27 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    34 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    36 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    37 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    42 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    43 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    44 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    45 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    46 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    47 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    48 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    51 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    52 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    52 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 31 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalHttpClient.php
    --------------------------------------------------------------------------------
    FOUND 131 ERRORS AND 1 WARNING AFFECTING 111 LINES
    --------------------------------------------------------------------------------
    7 | ERROR | [x] Inline comments must start with a capital letter
    7 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    9 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be
    | | referenced with use statements
    13 | ERROR | [x] Missing trait doc comment
    14 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Data types in @var tags need to be fully namespaced
    20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    34 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    48 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    50 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    55 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    71 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    76 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    78 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    83 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    85 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    88 | ERROR | [ ] If there is no return value for a function, there must not
    | | be a @return tag.
    88 | ERROR | [ ] Description for the @return value is missing
    90 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    91 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    92 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    93 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    94 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    95 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    96 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    99 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    100 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    101 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    102 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    104 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    107 | ERROR | [ ] Missing parameter comment
    108 | ERROR | [ ] Missing parameter comment
    110 | ERROR | [ ] Description for the @return value is missing
    112 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    113 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    114 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    114 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    115 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    117 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    120 | ERROR | [ ] Missing parameter comment
    122 | ERROR | [ ] If there is no return value for a function, there must not
    | | be a @return tag.
    122 | ERROR | [ ] Description for the @return value is missing
    124 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    124 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL"
    | | but found "null"
    125 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    126 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    127 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    129 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    130 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    132 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    133 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    135 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    137 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    140 | ERROR | [ ] If there is no return value for a function, there must not
    | | be a @return tag.
    140 | ERROR | [ ] Description for the @return value is missing
    142 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    143 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    144 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    146 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    147 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    148 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    151 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    151 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    152 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    154 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    155 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    157 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    157 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
    | | question marks, colons, or closing parentheses
    158 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    159 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    161 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    164 | ERROR | [ ] If there is no return value for a function, there must not
    | | be a @return tag.
    164 | ERROR | [ ] Description for the @return value is missing
    166 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    167 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    168 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    169 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    171 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    172 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    174 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    174 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    175 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    176 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    178 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    183 | ERROR | [ ] Description for the @return value is missing
    183 | ERROR | [x] Data types in @return tags need to be fully namespaced
    185 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    186 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    187 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    188 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    192 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    192 | ERROR | [x] Expected newline after closing brace
    193 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    194 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    195 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    197 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    200 | ERROR | [ ] Missing parameter comment
    204 | ERROR | [ ] Description for the @return value is missing
    206 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    206 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    207 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    208 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    210 | WARNING | [ ] Line exceeds 80 characters; contains 101 characters
    210 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    211 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    211 | ERROR | [ ] The array declaration extends to column 87 (the limit is
    | | 80). The array content should be split up over multiple
    | | lines
    212 | ERROR | [x] Functions must not contain multiple empty lines in a row;
    | | found 2 empty lines
    214 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    215 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    217 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    217 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
    | | but found "false"
    217 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    218 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    218 | ERROR | [x] Expected newline after closing brace
    220 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    220 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
    | | but found "false"
    220 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    222 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    223 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    224 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    224 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 115 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Traits/PayPalAPI.php
    --------------------------------------------------------------------------------
    FOUND 62 ERRORS AFFECTING 58 LINES
    --------------------------------------------------------------------------------
    5 | ERROR | [x] Missing trait doc comment
    6 | ERROR | [x] Opening brace should be on the same line as the declaration
    7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    8 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    12 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    13 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    35 | ERROR | [ ] Description for the @return value is missing
    40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    41 | ERROR | [x] Opening brace should be on the same line as the declaration
    42 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    43 | ERROR | [x] Functions must not contain multiple empty lines in a row;
    | | found 2 empty lines
    45 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    45 | ERROR | [ ] The array declaration extends to column 93 (the limit is 80).
    | | The array content should be split up over multiple lines
    46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    47 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
    50 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    53 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    55 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    56 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    57 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    60 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    65 | ERROR | [ ] Missing parameter comment
    67 | ERROR | [ ] If there is no return value for a function, there must not be
    | | a @return tag.
    67 | ERROR | [ ] Description for the @return value is missing
    69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    70 | ERROR | [x] Opening brace should be on the same line as the declaration
    71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    73 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    75 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    76 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    78 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    81 | ERROR | [ ] Missing parameter comment
    83 | ERROR | [ ] If there is no return value for a function, there must not be
    | | a @return tag.
    83 | ERROR | [ ] Description for the @return value is missing
    85 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    86 | ERROR | [x] Opening brace should be on the same line as the declaration
    87 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    90 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    90 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 54 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Form/PaypalPayForm.php
    --------------------------------------------------------------------------------
    FOUND 41 ERRORS AFFECTING 32 LINES
    --------------------------------------------------------------------------------
    8 | ERROR | [x] Missing class doc comment
    9 | ERROR | [x] Opening brace should be on the same line as the declaration
    10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    10 | ERROR | [ ] Missing short description in doc comment
    11 | ERROR | [ ] Description for the @return value is missing
    13 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    13 | ERROR | [x] Expected 1 blank line before function; 0 found
    14 | ERROR | [x] Opening brace should be on the same line as the declaration
    15 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    18 | ERROR | [ ] Missing short description in doc comment
    19 | ERROR | [ ] Missing parameter comment
    19 | ERROR | [x] Expected 1 spaces after parameter type; 14 found
    20 | ERROR | [ ] Missing parameter comment
    20 | ERROR | [x] Data types in @param tags need to be fully namespaced
    21 | ERROR | [ ] Description for the @return value is missing
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    24 | ERROR | [x] Opening brace should be on the same line as the declaration
    25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    25 | ERROR | [x] Short array syntax must be used to define arrays
    29 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
    | | found "true"
    30 | ERROR | [x] Array closing indentation error, expected 8 spaces but found
    | | 6
    32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    33 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    33 | ERROR | [x] Short array syntax must be used to define arrays
    37 | ERROR | [x] Array closing indentation error, expected 8 spaces but found
    | | 6
    38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    39 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    44 | ERROR | [x] Expected 1 spaces after parameter type; 32 found
    49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    50 | ERROR | [x] Opening brace should be on the same line as the declaration
    51 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    53 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    53 | ERROR | [x] Short array syntax must be used to define arrays
    55 | ERROR | [x] Array closing indentation error, expected 8 spaces but found
    | | 6
    56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    57 | ERROR | [x] Expected 1 blank line after function; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 35 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Form/PaypalConfig.php
    --------------------------------------------------------------------------------
    FOUND 65 ERRORS AND 3 WARNINGS AFFECTING 67 LINES
    --------------------------------------------------------------------------------
    9 | WARNING | [x] Unused use statement
    11 | WARNING | [x] Unused use statement
    12 | WARNING | [x] Unused use statement
    18 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    36 | ERROR | [x] Expected 1 spaces after parameter type; 14 found
    41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    42 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    50 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    51 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    56 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    58 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    61 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    62 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    66 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    70 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    74 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    76 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    79 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    80 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    81 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    83 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    86 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    95 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    98 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    100 | ERROR | [x] Expected 1 space before "??"; 0 found
    100 | ERROR | [x] Expected 1 space after "??"; 0 found
    104 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    110 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    117 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    124 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    130 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    137 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    144 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    145 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    147 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    150 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    151 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    152 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    154 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    155 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    156 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    157 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    158 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    159 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    160 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    161 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    162 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    163 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    164 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    165 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    166 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    167 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    168 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 68 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/src/Plugin/Block/PaypalPayBlock.php
    ------------------------------------------------------------------------------
    FOUND 10 ERRORS AFFECTING 8 LINES
    ------------------------------------------------------------------------------
    7 | ERROR | [ ] Missing short description in doc comment
    15 | ERROR | [x] Opening brace should be on the same line as the declaration
    16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    19 | ERROR | [x] Expected 1 blank line before function; 0 found
    20 | ERROR | [x] Opening brace should be on the same line as the declaration
    21 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    23 | ERROR | [x] Expected 1 blank line after function; 0 found
    ------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ------------------------------------------------------------------------------

    FILE: .../Downloads/paypal_plus/src/Plugin/WebformHandler/PaypalPlusFormHandler.php
    --------------------------------------------------------------------------------
    FOUND 77 ERRORS AND 2 WARNINGS AFFECTING 70 LINES
    --------------------------------------------------------------------------------
    7 | WARNING | [x] Unused use statement
    10 | WARNING | [x] Unused use statement
    25 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    42 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    50 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    51 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    55 | ERROR | [x] Array closing indentation error, expected 8 spaces but
    | | found 6
    56 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces,
    | | found 2
    58 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    61 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    62 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    69 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    76 | ERROR | [x] Array closing indentation error, expected 10 spaces but
    | | found 8
    77 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
    78 | ERROR | [x] Array closing indentation error, expected 8 spaces but
    | | found 4
    79 | ERROR | [x] Functions must not contain multiple empty lines in a row;
    | | found 2 empty lines
    84 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
    84 | ERROR | [ ] The array declaration extends to column 83 (the limit is
    | | 80). The array content should be split up over multiple
    | | lines
    85 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 12
    86 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
    92 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
    | | but found "true"
    99 | ERROR | [x] Array closing indentation error, expected 6 spaces but
    | | found 4
    100 | ERROR | [x] Array indentation error, expected 6 spaces but found 4
    101 | ERROR | [x] Array closing indentation error, expected 4 spaces but
    | | found 0
    103 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
    104 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
    104 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces,
    | | found 0
    106 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    109 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    110 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    111 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    112 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    114 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    117 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    118 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    120 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    122 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    123 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    125 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    127 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    130 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    131 | ERROR | [x] Opening brace should be on the same line as the
    | | declaration
    133 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    134 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    136 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    138 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    139 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    140 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    142 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    142 | ERROR | [x] Expected 1 space before "??"; 0 found
    142 | ERROR | [x] Expected 1 space after "??"; 0 found
    142 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL"
    | | but found "null"
    144 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    144 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    144 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL"
    | | but found "null"
    145 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    146 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    148 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    149 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    151 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    151 | ERROR | [x] Short array syntax must be used to define arrays
    154 | ERROR | [x] Array closing indentation error, expected 12 spaces but
    | | found 10
    155 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    156 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    156 | ERROR | [x] Expected newline after closing brace
    157 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
    158 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
    160 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 78 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------

    FILE: /home/vishal/Downloads/paypal_plus/paypal_plus.links.menu.yml
    ----------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------
    11 | ERROR | [x] Expected 1 newline at end of file; 0 found
    ----------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY

  • Issue was unassigned.
  • Assigned to arpitk
  • Status changed to Needs work over 1 year ago
  • 🇮🇳India urvashi_vora Madhya Pradesh, India

    @vishal365365, there are already separate issues present for PHPCS erros. This issue is only meant for Dependency injection.

  • 🇮🇳India urvashi_vora Madhya Pradesh, India
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India urvashi_vora Madhya Pradesh, India

    Please review the merge request

  • First commit to issue fork.
  • Pipeline finished with Success
    9 months ago
    Total: 139s
    #116031
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • Status changed to Needs work 9 months ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
Production build 0.71.5 2024