http://git.drupal.org/project/desk_net.git

Review of the 7.x-1.x branch (commit 3978495):

  • Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
  • ESLint has found some issues with your code (please check the JavaScript coding standards).

    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 1, col 2, Error - Use the function form of 'use strict'. (strict)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 7, col 7, Error - Split 'var' declarations into multiple statements. (one-var)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 13, col 21, Error - Strings must use singlequote. (quotes)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 13, col 32, Error - Strings must use singlequote. (quotes)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 18, col 19, Error - Strings must use singlequote. (quotes)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 18, col 30, Error - Strings must use singlequote. (quotes)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 23, col 19, Error - Strings must use singlequote. (quotes)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 23, col 30, Error - Strings must use singlequote. (quotes)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 25, col 9, Error - Expected { after 'if' condition. (curly)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 30, col 19, Error - Strings must use singlequote. (quotes)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 32, col 21, Error - Strings must use singlequote. (quotes)
    /root/repos/pareviewsh/pareview_temp/assets/js/main.js: line 42, col 12, Error - Newline required at end of file but not found. (eol-last)

    12 problems

  • DrupalPractice has found some issues with your code, but could be false positives.

    FILE: /root/repos/pareviewsh/pareview_temp/desk_net.module
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 10 WARNINGS AFFECTING 10 LINES
    --------------------------------------------------------------------------
    19 | WARNING | Do not use drupal_add_js() in hook_init(), use #attached
    | | for CSS and JS in your page/form callback or in
    | | hook_page_build() instead
    22 | WARNING | Do not use drupal_add_js() in hook_init(), use #attached
    | | for CSS and JS in your page/form callback or in
    | | hook_page_build() instead
    192 | WARNING | The administration menu callback should probably use
    | | "administer site configuration" - which implies the user
    | | can change something - rather than "access
    | | administration pages" which is about viewing but not
    | | changing configurations.
    206 | WARNING | The administration menu callback should probably use
    | | "administer site configuration" - which implies the user
    | | can change something - rather than "access
    | | administration pages" which is about viewing but not
    | | changing configurations.
    215 | WARNING | The administration menu callback should probably use
    | | "administer site configuration" - which implies the user
    | | can change something - rather than "access
    | | administration pages" which is about viewing but not
    | | changing configurations.
    224 | WARNING | The administration menu callback should probably use
    | | "administer site configuration" - which implies the user
    | | can change something - rather than "access
    | | administration pages" which is about viewing but not
    | | changing configurations.
    695 | WARNING | Redeclaration of variable $user as global variable.
    827 | WARNING | Unused variable $tid.
    920 | WARNING | Unused variable $key.
    924 | WARNING | Unused variable $tid.
    --------------------------------------------------------------------------

    Time: 125ms; Memory: 14Mb

  • No automated test cases were found, did you consider writing Simpletests or PHPUnit tests? This is not a requirement but encouraged for professional software development.

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.

FILE: /root/repos/pareviewsh/pareview_temp/desk_net.info
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
15 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: ...t/repos/pareviewsh/pareview_temp/assets/desk_net_services_config.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
| | line
79 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/assets/css/desk_net.css
----------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
----------------------------------------------------------------------
1 | ERROR | [x] Multiple selectors should each be on a single line
6 | ERROR | [x] Multiple selectors should each be on a single line
10 | ERROR | [x] Multiple selectors should each be on a single line
14 | ERROR | [x] Multiple selectors should each be on a single line
24 | ERROR | [x] Multiple selectors should each be on a single line
36 | ERROR | [x] Multiple selectors should each be on a single line
47 | ERROR | [x] Multiple selectors should each be on a single line
53 | ERROR | [x] Multiple selectors should each be on a single line
158 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: ...root/repos/pareviewsh/pareview_temp/include/DeskNetRequestMethod.php
--------------------------------------------------------------------------
FOUND 24 ERRORS AFFECTING 18 LINES
--------------------------------------------------------------------------
84 | ERROR | [ ] Type hint "array" missing for $data
90 | ERROR | [x] No space found before comment text; expected "//
| | Delete ampersand encode" but found "//Delete ampersand
| | encode"
90 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
127 | ERROR | [x] Expected "bool" but found "boolean" for parameter type
133 | ERROR | [ ] Type hint "array" missing for $args
133 | ERROR | [ ] Type hint "array" missing for $data
141 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
148 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
151 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
174 | ERROR | [x] Expected "bool" but found "boolean" for parameter type
177 | ERROR | [ ] Description for the @return value is missing
179 | ERROR | [ ] Type hint "array" missing for $args
179 | ERROR | [ ] Type hint "array" missing for $data
202 | ERROR | [ ] Description for the @return value is missing
219 | ERROR | [ ] Parameter tags must be grouped together in a doc
| | comment
222 | ERROR | [ ] Description for the @return value is missing
225 | ERROR | [ ] Inline doc block comments are not allowed; use "/*
| | Comment */" or "// Comment" instead
241 | ERROR | [x] No space found before comment text; expected "// The
| | HTTP POST request for get Token" but found "//The HTTP
| | POST request for get Token"
241 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
250 | ERROR | [x] No space found before comment text; expected "//
| | Update token option" but found "//Update token option"
250 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
265 | ERROR | [x] Expected "bool" but found "boolean" for function
| | return type
265 | ERROR | [ ] Description for the @return value is missing
267 | ERROR | [ ] Type hint "array" missing for $message_content
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/include/DeskNetDeleteItems.php
--------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 9 LINES
--------------------------------------------------------------------------
22 | ERROR | [ ] Type hint "array" missing for $new_items_list
22 | ERROR | [ ] Type hint "array" missing for $save_items_list
22 | ERROR | [ ] Type hint "array" missing for $drupal_items_list
25 | ERROR | [x] Space before opening parenthesis of function call
| | prohibited
54 | ERROR | [ ] Description for the @return value must be on the next
| | line
56 | ERROR | [ ] Type hint "array" missing for $delete_element_list
56 | ERROR | [ ] Type hint "array" missing for $save_items_list
59 | ERROR | [x] Space before opening parenthesis of function call
| | prohibited
87 | ERROR | [x] Additional blank lines found at end of doc comment
88 | ERROR | [ ] Type hint "array" missing for $delete_element_list
88 | ERROR | [ ] Type hint "array" missing for $drupal_items_list
89 | ERROR | [x] Space before opening parenthesis of function call
| | prohibited
99 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/desk_net.module
--------------------------------------------------------------------------
FOUND 129 ERRORS AND 13 WARNINGS AFFECTING 102 LINES
--------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
6 | ERROR | [x] Additional blank lines found at end of doc comment
8 | ERROR | [x] 2 spaces found before inline comment; expected "//
| | And use drupal_load_include function." but found
| | "// And use drupal_load_include function."
19 | ERROR | [x] The first index in a multi-value array must be on a
| | new line
20 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: JS_DEFAULT
31 | ERROR | [x] "include" is a statement not a function; no
| | parentheses are required
48 | ERROR | [x] Additional blank lines found at end of doc comment
49 | ERROR | [ ] Type hint "array" missing for $client_names
57 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
76 | ERROR | [x] Expected "bool|array|string|int" but found
| | "boolean|array|string|int" for function return type
76 | ERROR | [ ] Description for the @return value is missing
96 | ERROR | [x] Expected "bool" but found "boolean" for function
| | return type
96 | ERROR | [ ] Description for the @return value is missing
115 | ERROR | [x] Expected "string|array|int|bool" but found
| | "string|array|int|boolean" for parameter type
118 | ERROR | [x] Expected "bool" but found "boolean" for function
| | return type
118 | ERROR | [ ] Description for the @return value is missing
156 | ERROR | [ ] Concatenating translatable strings is not allowed,
| | use placeholders instead and only one string
| | literal
162 | WARNING | [ ] Avoid backslash escaping in translatable strings
| | when possible, use "" quotes instead
163 | WARNING | [ ] Avoid backslash escaping in translatable strings
| | when possible, use "" quotes instead
175 | ERROR | [ ] Do not use t() in hook_menu()
176 | ERROR | [ ] Do not use t() in hook_menu()
177 | ERROR | [ ] Do not use t() in hook_menu()
178 | ERROR | [ ] Do not use t() in hook_menu()
179 | ERROR | [ ] Do not use t() in hook_menu()
288 | ERROR | [x] No space found before comment text; expected "//
| | Modal dialog" but found "//Modal dialog"
288 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
300 | WARNING | [ ] Do not concatenate strings to translatable strings,
| | they should be part of the t() argument and you
| | should use placeholders
308 | ERROR | [x] Expected "bool" but found "boolean" for parameter
| | type
312 | ERROR | [x] No space found before comment text; expected "//
| | Delete old clients from oauth2 server" but found
| | "//Delete old clients from oauth2 server"
312 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
318 | ERROR | [x] No space found before comment text; expected "//
| | Generate new clients" but found "//Generate new
| | clients"
318 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
372 | ERROR | [x] Additional blank lines found at end of doc comment
391 | ERROR | [ ] Type hint "array" missing for $form
391 | ERROR | [ ] Type hint "array" missing for $form_state
444 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
447 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
450 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
453 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
460 | ERROR | [ ] Concatenating translatable strings is not allowed,
| | use placeholders instead and only one string
| | literal
472 | ERROR | [x] Expected "bool" but found "boolean" for function
| | return type
472 | ERROR | [ ] Description for the @return value is missing
488 | ERROR | [x] No space found before comment text; expected "//
| | Get JSON with default value" but found "//Get JSON
| | with default value"
488 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
499 | ERROR | [x] No space found before comment text; expected "//
| | Update with error" but found "//Update with error"
499 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
505 | ERROR | [x] No space found before comment text; expected "//
| | Encode Ampersand" but found "//Encode Ampersand"
505 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
509 | ERROR | [x] No space found before comment text; expected "//
| | Check update status" but found "//Check update
| | status"
509 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
525 | ERROR | [x] No space found before comment text; expected "//
| | Update field Desk-Net Status Name" but found
| | "//Update field Desk-Net Status Name"
525 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
540 | ERROR | [x] Expected "array|bool|string" but found
| | "array|boolean|string" for function return type
540 | ERROR | [ ] Description for the @return value is missing
542 | ERROR | [ ] Type hint "array" missing for $story_data
544 | ERROR | [x] No space found before comment text; expected "//
| | Get publication position from publication list" but
| | found "//Get publication position from publication
| | list"
544 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
555 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
558 | ERROR | [x] No space found before comment text; expected "//
| | Check Time 23:59 and not send time to Desk-Net" but
| | found "//Check Time 23:59 and not send time to
| | Desk-Net"
558 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
564 | WARNING | [ ] Line exceeds 80 characters; contains 90 characters
565 | WARNING | [ ] Line exceeds 80 characters; contains 96 characters
582 | ERROR | [x] No space found before comment text; expected "//
| | Update Status" but found "//Update Status"
582 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
594 | ERROR | [x] No space found before comment text; expected "//
| | Select active Category ID" but found "//Select
| | active Category ID"
594 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
669 | ERROR | [x] Expected "array|bool" but found "array|boolean" for
| | function return type
669 | ERROR | [ ] Description for the @return value is missing
681 | ERROR | [x] No space found before comment text; expected "//
| | Check Time 23:59 and not send time to Desk-Net" but
| | found "//Check Time 23:59 and not send time to
| | Desk-Net"
681 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
689 | WARNING | [ ] Line exceeds 80 characters; contains 92 characters
690 | WARNING | [ ] Line exceeds 80 characters; contains 98 characters
696 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters
697 | WARNING | [ ] Line exceeds 80 characters; contains 100 characters
705 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 1 space but found 2 spaces
727 | ERROR | [x] No space found before comment text; expected "//
| | Select active Category ID" but found "//Select
| | active Category ID"
727 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
756 | ERROR | [x] No space found before comment text; expected "//
| | Create element on Desk-Net" but found "//Create
| | element on Desk-Net"
756 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
759 | ERROR | [x] No space found before comment text; expected "//
| | Clearing double notification message" but found
| | "//Clearing double notification message"
759 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
762 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
764 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
766 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
776 | ERROR | [x] No space found before comment text; expected "//
| | Get Name Desk-Net status" but found "//Get Name
| | Desk-Net status"
776 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
789 | ERROR | [ ] Description for the @return value is missing
794 | WARNING | [x] A comma should follow the last multiline array
| | item. Found:
| | 'desk_net_status_deactivate_status_list'
814 | ERROR | [x] Additional blank lines found at end of doc comment
834 | ERROR | [x] No space found before comment text; expected "//
| | Not realize case for two or more parents" but found
| | "//Not realize case for two or more parents"
834 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
902 | ERROR | [x] Expected "bool|array" but found "boolean|array" for
| | function return type
902 | ERROR | [ ] Description for the @return value is missing
943 | ERROR | [x] Additional blank lines found at end of doc comment
1097 | ERROR | [x] Expected "array|bool" but found "array|boolean" for
| | function return type
1097 | ERROR | [ ] Description for the @return value is missing
1103 | ERROR | [x] No space found before comment text; expected "//
| | Status Matching" but found "//Status Matching"
1103 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1113 | ERROR | [x] No space found before comment text; expected "//
| | Saving changed" but found "//Saving changed"
1113 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1127 | ERROR | [x] Expected "array|bool" but found "array|boolean" for
| | function return type
1127 | ERROR | [ ] Description for the @return value is missing
1129 | ERROR | [ ] Type hint "array" missing for $data
1134 | ERROR | [x] No space found before comment text; expected "//
| | Check Category mapping in Drupal" but found
| | "//Check Category mapping in Drupal"
1134 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1142 | ERROR | [x] No space found before comment text; expected "//
| | Check node - removed status" but found "//Check
| | node - removed status"
1142 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1146 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1164 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1205 | ERROR | [x] No space found before comment text; expected "//
| | Updating Status field in block additional info" but
| | found "//Updating Status field in block additional
| | info"
1205 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1207 | ERROR | [x] No space found before comment text; expected "//
| | Saving changed" but found "//Saving changed"
1207 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1225 | ERROR | [x] Expected "array|bool" but found "array|boolean" for
| | function return type
1225 | ERROR | [ ] Description for the @return value is missing
1227 | ERROR | [ ] Type hint "array" missing for $data
1231 | ERROR | [ ] Concatenating translatable strings is not allowed,
| | use placeholders instead and only one string
| | literal
1243 | ERROR | [x] Expected "array|bool" but found "array|boolean" for
| | function return type
1243 | ERROR | [ ] Description for the @return value is missing
1245 | ERROR | [ ] Type hint "array" missing for $data
1257 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1278 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1292 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 1 space but found 2 spaces
1323 | ERROR | [x] No space found before comment text; expected "//
| | Check Status create/update post on WP" but found
| | "//Check Status create/update post on WP"
1323 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
1363 | ERROR | [x] Expected "object|bool" but found "object|boolean"
| | for function return type
1363 | ERROR | [ ] Description for the @return value is missing
1365 | ERROR | [ ] Type hint "array" missing for $sending_path
1365 | ERROR | [ ] Type hint "array" missing for $category_id
1384 | ERROR | [ ] Description for the @return value must be on the
| | next line
1417 | ERROR | [ ] Description for the @return value is missing
1419 | ERROR | [ ] Type hint "array" missing for $data
1461 | WARNING | [ ] Translatable strings must not begin or end with
| | white spaces, use placeholders with t() for
| | variables
1463 | WARNING | [ ] Translatable strings must not begin or end with
| | white spaces, use placeholders with t() for
| | variables
1504 | ERROR | [ ] Doc comment short description must be on a single
| | line, further text should be a separate paragraph
1509 | ERROR | [x] Return type must not contain variable name
| | "$status_list"
1512 | ERROR | [ ] Type hint "array" missing for $status_list
1525 | ERROR | [ ] Missing short description in doc comment
1526 | ERROR | [x] Expected "bool" but found "boolean" for function
| | return type
1526 | ERROR | [ ] Description for the @return value is missing
1535 | ERROR | [x] Missing parameter type
1538 | ERROR | [x] Additional blank lines found at end of doc comment
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 94 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/desk_net.install
--------------------------------------------------------------------------
FOUND 19 ERRORS AFFECTING 14 LINES
--------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
| | line
6 | ERROR | [x] Additional blank lines found at end of doc comment
8 | ERROR | [x] Language constructs must be followed by a single
| | space; expected 1 space but found 2
9 | ERROR | [x] Language constructs must be followed by a single
| | space; expected 1 space but found 2
15 | ERROR | [x] No space found before comment text; expected "//
| | Generate Drupal Credentials" but found "//Generate
| | Drupal Credentials"
15 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
17 | ERROR | [x] No space found before comment text; expected "//
| | Import aouth2 server configuration" but found
| | "//Import aouth2 server configuration"
17 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
19 | ERROR | [x] No space found before comment text; expected "//
| | Import endpoints to Services" but found "//Import
| | endpoints to Services"
19 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
23 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
25 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
54 | ERROR | [ ] Doc comment short description must be on a single
| | line, further text should be a separate paragraph
86 | ERROR | [x] No space found before comment text; expected "//
| | Delete endpoints from services" but found "//Delete
| | endpoints from services"
86 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
105 | ERROR | [x] Additional blank lines found at end of doc comment
106 | ERROR | [ ] Type hint "array" missing for $clients
106 | ERROR | [ ] Type hint "array" missing for $scopes
134 | ERROR | [x] Additional blank lines found at end of doc comment
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: ...os/pareviewsh/pareview_temp/template/DeskNetTemplateMatchingPage.php
--------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 9 LINES
--------------------------------------------------------------------------
11 | ERROR | [x] Doc comment long description must start with a capital
| | letter
19 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2
| | spaces
21 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2
| | spaces
23 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2
| | spaces
25 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2
| | spaces
27 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2
| | spaces
29 | ERROR | [ ] Description for the @return value is missing
31 | ERROR | [ ] Type hint "array" missing for $element_name_list
31 | ERROR | [ ] Type hint "array" missing for $element_value_list
84 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/README.txt
------------------------------------------------------------------------
FOUND 1 ERROR AND 6 WARNINGS AFFECTING 6 LINES
------------------------------------------------------------------------
3 | WARNING | [ ] Line exceeds 80 characters; contains 116 characters
5 | WARNING | [ ] Line exceeds 80 characters; contains 177 characters
9 | WARNING | [ ] Line exceeds 80 characters; contains 204 characters
10 | WARNING | [ ] Line exceeds 80 characters; contains 141 characters
21 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
23 | WARNING | [ ] Line exceeds 80 characters; contains 165 characters
23 | ERROR | [x] Expected 1 newline at end of file; 2 found
------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------

Time: 240ms; Memory: 18Mb