There must be no blank line following an inline comment
Remove that blank line which are not as per coding standard

Issue fork flag-3296125

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sharayurajput created an issue. See original summary.

sharayurajput’s picture

Assigned: sharayurajput » Unassigned
sharayurajput’s picture

Assigned: Unassigned » sharayurajput

I will work on this issue

sharayurajput’s picture

StatusFileSize
new44.78 KB
jayesh.d’s picture

Assigned: sharayurajput » jayesh.d
Status: Active » Needs review

Hi Sharayu,
I will be reviewing your patch.

jayesh.d’s picture

Assigned: jayesh.d » Unassigned
Status: Needs review » Needs work

Hi Sharayu,
I applied your patch. It was apllied succesfully.

SR COMPUTER@DESKTOP-CHNCDT9 MINGW64 /c/xampp/htdocs/Project/siteforcontributing/web/modules/contrib/flag (7.x-3.x)
$ git apply -v coding-standard-3296125-4.patch
coding-standard-3296125-4.patch:19: trailing whitespace.
            'description' => $t('Flag module may currently be used with anonymous users,
coding-standard-3296125-4.patch:20: trailing whitespace.
            however the robots.txt file does not exclude the "@flag-path" path,
coding-standard-3296125-4.patch:21: trailing whitespace.
            which may cause search engines to randomly flag and unflag content when they
coding-standard-3296125-4.patch:22: trailing whitespace.
            index the site. It is highly recommended to add "@robots-string" to your robots.txt
coding-standard-3296125-4.patch:380: trailing whitespace.
    $form['message']['#default_value'] = t("The @flag_entity_type [flag-action:content-title] has been flagged
Checking patch README.txt...
Checking patch flag.install...
Checking patch flag.module...
Checking patch flag.rules.inc...
Checking patch flag.tokens.inc...
Checking patch flag_actions.module...
Checking patch flag_bookmark/plugins/flag_bookmark_plugin_validate_user.inc...
Checking patch includes/flag.actions.inc...
Checking patch includes/flag.admin.inc...
Checking patch includes/flag.cookie_storage.inc...
Checking patch includes/flag.export.inc...
Checking patch includes/flag/flag_flag.inc...
Checking patch includes/views/flag.views.inc...
Checking patch includes/views/flag_handler_relationships.inc...
Checking patch includes/views/flag_plugin_argument_validate_flaggability.inc...
Checking patch plugins/access/flag_is_flagged/flag_is_flagged.inc...
Checking patch tests/flag.test...
Checking patch tests/flag_comment_flag_test/flag_comment_flag_test.module...
Checking patch tests/flag_hook_test/flag_hook_test.module...
Checking patch theme/README.txt...
Applied patch README.txt cleanly.
Applied patch flag.install cleanly.
Applied patch flag.module cleanly.
Applied patch flag.rules.inc cleanly.
Applied patch flag.tokens.inc cleanly.
Applied patch flag_actions.module cleanly.
Applied patch flag_bookmark/plugins/flag_bookmark_plugin_validate_user.inc cleanly.
Applied patch includes/flag.actions.inc cleanly.
Applied patch includes/flag.admin.inc cleanly.
Applied patch includes/flag.cookie_storage.inc cleanly.
Applied patch includes/flag.export.inc cleanly.
Applied patch includes/flag/flag_flag.inc cleanly.
Applied patch includes/views/flag.views.inc cleanly.
Applied patch includes/views/flag_handler_relationships.inc cleanly.
Applied patch includes/views/flag_plugin_argument_validate_flaggability.inc cleanly.
Applied patch plugins/access/flag_is_flagged/flag_is_flagged.inc cleanly.
Applied patch tests/flag.test cleanly.
Applied patch tests/flag_comment_flag_test/flag_comment_flag_test.module cleanly.
Applied patch tests/flag_hook_test/flag_hook_test.module cleanly.
Applied patch theme/README.txt cleanly.
warning: squelched 13 whitespace errors
warning: 18 lines add whitespace errors.

But still there are lots of errors.

SR COMPUTER@DESKTOP-CHNCDT9 MINGW64 /c/xampp/htdocs/Project/siteforcontributing/web/modules/contrib (master)
$ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig flag

FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag.api.php
---------------------------------------------------------------------------------------
FOUND 31 ERRORS AND 1 WARNING AFFECTING 29 LINES
---------------------------------------------------------------------------------------
  28 | WARNING | Line exceeds 80 characters; contains 81 characters
  52 | ERROR   | Type hint "array" missing for $definitions
  99 | ERROR   | Type hint "array" missing for &$flags
 129 | ERROR   | Type hint "array" missing for $options
 129 | ERROR   | Type hint "flag_flag" missing for $flag
 140 | ERROR   | Missing parameter type
 142 | ERROR   | Missing parameter type
 145 | ERROR   | Type hint "flag_flag" missing for $flag
 155 | ERROR   | Missing parameter type
 159 | ERROR   | Missing parameter type
 161 | ERROR   | Missing parameter type
 177 | ERROR   | Missing parameter type
 179 | ERROR   | Missing parameter type
 188 | ERROR   | Type hint "flag_flag" missing for $flag
 212 | ERROR   | Missing parameter type
 216 | ERROR   | Missing parameter type
 219 | ERROR   | Return type missing for @return tag in function comment
 231 | ERROR   | Type hint "flag_flag" missing for $flag
 245 | ERROR   | Missing parameter type
 248 | ERROR   | @return doc comment specified, but function has no return statement
 257 | ERROR   | Type hint "flag_flag" missing for $flag
 257 | ERROR   | Type hint "array" missing for $entity_ids
 268 | ERROR   | Return type missing for @return tag in function comment
 302 | ERROR   | Type hint "array" missing for $link_types
 324 | ERROR   | Return type missing for @return tag in function comment
 330 | ERROR   | Type hint "flag_flag" missing for $flag
 343 | ERROR   | Type hint "flag_flag" missing for $flag
 355 | ERROR   | Missing parameter type
 360 | ERROR   | Type hint "flag_flag" missing for $flag
 374 | ERROR   | Type hint "array" missing for $info
 374 | ERROR   | Type hint "flag_flag" missing for $flag
 394 | ERROR   | Type hint "flag_flag" missing for $flag
---------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag.flag.inc
----------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------
 13 | WARNING | Hook implementations should not duplicate @return documentation
----------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag.install
----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 7 LINES
----------------------------------------------------------------------------------------------------------------------------------------------
 272 | ERROR   | Doc comment is empty
 289 | ERROR   | unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.
 440 | WARNING | Do not use DELETE queries with db_query(), use db_delete() instead
 441 | WARNING | Do not use DELETE queries with db_query(), use db_delete() instead
 445 | WARNING | Do not use DELETE queries with db_query(), use db_delete() instead
 446 | WARNING | Do not use DELETE queries with db_query(), use db_delete() instead
 656 | ERROR   | unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.
----------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag.module
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 73 ERRORS AND 12 WARNINGS AFFECTING 84 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   90 | ERROR   | Return type missing for @return tag in function comment
   93 | ERROR   | Type hint "array" missing for $values
  118 | ERROR   | Missing parameter type
  167 | WARNING | There must be no blank line following an inline comment
  385 | ERROR   | Return type missing for @return tag in function comment
  519 | ERROR   | Return type missing for @return tag in function comment
  551 | ERROR   | Return type missing for @return tag in function comment
  568 | ERROR   | Missing parameter type
  572 | ERROR   | Return type missing for @return tag in function comment
  573 | WARNING | Line exceeds 80 characters; contains 81 characters
  609 | WARNING | Unused variable $flag_name.
  617 | WARNING | Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "* Implements
      |         | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates."
  692 | WARNING | Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "* Implements
      |         | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates."
  788 | WARNING | Unused global variable $user.
 1099 | ERROR   | Missing parameter type
 1101 | ERROR   | Missing parameter type
 1103 | ERROR   | Missing parameter type
 1291 | WARNING | Do not use DELETE queries with db_query(), use db_delete() instead
 1300 | ERROR   | Missing parameter type
 1302 | ERROR   | Missing parameter type
 1304 | ERROR   | Missing parameter type
 1306 | ERROR   | Missing parameter type
 1308 | ERROR   | Missing parameter name
 1311 | ERROR   | Return type missing for @return tag in function comment
 1344 | ERROR   | Missing parameter type
 1346 | ERROR   | Missing parameter type
 1348 | ERROR   | Missing parameter type
 1350 | ERROR   | Missing parameter type
 1352 | ERROR   | Missing parameter type
 1547 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
 1654 | ERROR   | Type hint "array" missing for &$variables
 1698 | WARNING | There must be no blank line following an inline comment
 1716 | ERROR   | Missing parameter type
 1718 | ERROR   | Missing parameter type
 1761 | ERROR   | Missing parameter type
 1763 | ERROR   | Missing parameter type
 1807 | ERROR   | Missing parameter type
 1809 | ERROR   | Missing parameter type
 1850 | ERROR   | Missing parameter type
 1852 | ERROR   | Missing parameter type
 1880 | ERROR   | Missing parameter type
 1882 | ERROR   | Missing parameter type
 1885 | ERROR   | Return type missing for @return tag in function comment
 1910 | ERROR   | Missing parameter type
 1912 | ERROR   | Missing parameter type
 1914 | ERROR   | Missing parameter type
 1918 | ERROR   | Return type missing for @return tag in function comment
 2023 | ERROR   | Missing parameter type
 2026 | ERROR   | Return type missing for @return tag in function comment
 2076 | ERROR   | Missing parameter type
 2079 | ERROR   | Return type missing for @return tag in function comment
 2103 | ERROR   | Missing parameter type
 2105 | ERROR   | Missing parameter type
 2108 | ERROR   | Missing parameter type
 2111 | ERROR   | Missing parameter type
 2116 | ERROR   | Return type missing for @return tag in function comment
 2191 | ERROR   | Missing parameter type
 2193 | ERROR   | Missing parameter type
 2195 | ERROR   | Missing parameter type
 2198 | ERROR   | Return type missing for @return tag in function comment
 2250 | ERROR   | Missing parameter type
 2252 | ERROR   | Missing parameter type
 2254 | ERROR   | Missing parameter type
 2261 | ERROR   | Return type missing for @return tag in function comment
 2280 | ERROR   | Missing parameter type
 2282 | ERROR   | Missing parameter type
 2284 | ERROR   | Missing parameter type
 2286 | ERROR   | Missing parameter type
 2288 | ERROR   | Missing parameter type
 2323 | ERROR   | Missing parameter type
 2325 | ERROR   | Missing parameter type
 2359 | ERROR   | Return type missing for @return tag in function comment
 2434 | ERROR   | Return type missing for @return tag in function comment
 2478 | ERROR   | Return type missing for @return tag in function comment
 2488 | WARNING | There must be no blank line following an inline comment
 2565 | WARNING | There must be no blank line following an inline comment
 2616 | WARNING | There must be no blank line following an inline comment
 2661 | WARNING | Line exceeds 80 characters; contains 84 characters
 2663 | ERROR   | Parameter tags must be grouped together in a doc comment
 2666 | ERROR   | Parameter tags must be grouped together in a doc comment
 2669 | ERROR   | Parameter tags must be grouped together in a doc comment
 2672 | ERROR   | Parameter tags must be grouped together in a doc comment
 2672 | ERROR   | Missing parameter type
 2675 | ERROR   | Description for the @return value must be on the next line
 2679 | ERROR   | Type hint "stdobj" missing for $entity
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag.rules.inc
---------------------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AND 2 WARNINGS AFFECTING 13 LINES
---------------------------------------------------------------------------------------------------------------------
  36 | ERROR   | Doc comment is empty
  43 | ERROR   | Doc comment is empty
  50 | ERROR   | Doc comment is empty
  58 | ERROR   | Doc comment is empty
  80 | ERROR   | Doc comment is empty
  87 | ERROR   | Doc comment is empty
 111 | ERROR   | Doc comment is empty
 129 | ERROR   | Doc comment is empty
 183 | WARNING | Only string literals should be passed to t() where possible
 194 | WARNING | Only string literals should be passed to t() where possible
 503 | ERROR   | Return type missing for @return tag in function comment
 516 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
 614 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
---------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag.tokens.inc
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   9 | WARNING | Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "* Implements
     |         | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates."
 214 | ERROR   | Type hint "array" missing for $variables
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag_actions.install
-----------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
 11 | ERROR | Empty installation hooks are not necessary
-----------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag_actions.module
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AND 5 WARNINGS AFFECTING 16 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   9 | WARNING | Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "* Implements
     |         | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates."
  16 | WARNING | Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "* Implements
     |         | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates."
  81 | ERROR   | Doc comment is empty
  89 | ERROR   | Doc comment is empty
 117 | ERROR   | unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.
 158 | ERROR   | Type hint "array" missing for $parameters
 185 | ERROR   | Type hint "array" missing for $parameters
 223 | WARNING | Unused variable $aid.
 383 | ERROR   | Doc comment is empty
 392 | ERROR   | Doc comment is empty
 413 | ERROR   | Missing parameter type
 629 | ERROR   | Doc comment is empty
 638 | WARNING | Unused variable $action.
 656 | WARNING | Unused variable $element.
 664 | ERROR   | Doc comment is empty
 690 | ERROR   | Doc comment is empty
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag_bookmark\flag_bookmark.install
------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------
 57 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\flag_bookmark\plugins\flag_bookmark_plugin_validate_user.inc
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 16 ERRORS AND 1 WARNING AFFECTING 9 LINES
---------------------------------------------------------------------------------------------------------------------------------------
  1 | ERROR   | [x] The PHP open tag must be followed by exactly one blank line
  1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
 12 | ERROR   | [ ] Class name must begin with a capital letter
 12 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 17 | ERROR   | [x] Expected "multitypestring" but found "multitype:string" for function return type
 17 | ERROR   | [ ] Description for the @return value is missing
 19 | ERROR   | [ ] Method name "flag_bookmark_plugin_validate_user::option_definition" is not in lowerCamel format
 19 | ERROR   | [x] Visibility must be declared on method "option_definition"
 32 | ERROR   | [ ] Method name "flag_bookmark_plugin_validate_user::options_form" is not in lowerCamel format
 32 | ERROR   | [x] Visibility must be declared on method "options_form"
 39 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
 64 | ERROR   | [ ] Missing parameter comment
 65 | ERROR   | [x] Separate the @param and @return sections by a blank line.
 65 | ERROR   | [x] Expected "bool" but found "boolean" for function return type
 65 | ERROR   | [ ] Description for the @return value is missing
 67 | ERROR   | [ ] Method name "flag_bookmark_plugin_validate_user::validate_argument" is not in lowerCamel format
 67 | ERROR   | [x] Visibility must be declared on method "validate_argument"
---------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag\flag_comment.inc
---------------------------------------------------------------------------------------------------------
FOUND 31 ERRORS AFFECTING 14 LINES
---------------------------------------------------------------------------------------------------------
   1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  11 | ERROR | [ ] Class name must begin with a capital letter
  11 | ERROR | [ ] Class name must use UpperCamel naming without underscores
  12 | ERROR | [x] Missing function doc comment
  12 | ERROR | [x] Visibility must be declared on method "options"
  12 | ERROR | [x] Expected 1 blank line before function; 0 found
  23 | ERROR | [ ] Method name "flag_comment::options_form" is not in lowerCamel format
  23 | ERROR | [x] Visibility must be declared on method "options_form"
  41 | ERROR | [x] Missing function doc comment
  41 | ERROR | [ ] Method name "flag_comment::type_access_multiple" is not in lowerCamel format
  41 | ERROR | [x] Visibility must be declared on method "type_access_multiple"
  65 | ERROR | [x] Missing function doc comment
  65 | ERROR | [ ] Method name "flag_comment::get_entity_id" is not in lowerCamel format
  65 | ERROR | [x] Visibility must be declared on method "get_entity_id"
  79 | ERROR | [ ] Method name "flag_comment::get_flagging_record" is not in lowerCamel format
  79 | ERROR | [x] Visibility must be declared on method "get_flagging_record"
 149 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 152 | ERROR | [x] Missing function doc comment
 152 | ERROR | [ ] Method name "flag_comment::get_labels_token_types" is not in lowerCamel format
 152 | ERROR | [x] Visibility must be declared on method "get_labels_token_types"
 156 | ERROR | [x] Missing function doc comment
 156 | ERROR | [ ] Method name "flag_comment::replace_tokens" is not in lowerCamel format
 156 | ERROR | [x] Visibility must be declared on method "replace_tokens"
 166 | ERROR | [x] Missing function doc comment
 166 | ERROR | [ ] Method name "flag_comment::get_flag_action" is not in lowerCamel format
 166 | ERROR | [x] Visibility must be declared on method "get_flag_action"
 174 | ERROR | [x] Missing function doc comment
 174 | ERROR | [ ] Method name "flag_comment::get_relevant_action_objects" is not in lowerCamel format
 174 | ERROR | [x] Visibility must be declared on method "get_relevant_action_objects"
 180 | ERROR | [x] Expected 1 blank line after function; 0 found
 181 | ERROR | [x] The closing brace for the class must have an empty line before it
---------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 21 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag\flag_entity.inc
--------------------------------------------------------------------------------------------------------
FOUND 42 ERRORS AFFECTING 29 LINES
--------------------------------------------------------------------------------------------------------
   1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  11 | ERROR | [ ] Class name must begin with a capital letter
  11 | ERROR | [ ] Class name must use UpperCamel naming without underscores
  15 | ERROR | [x] Visibility must be declared on method "options"
  15 | ERROR | [x] Expected 1 blank line before function; 0 found
  37 | ERROR | [ ] Method name "flag_entity::options_form" is not in lowerCamel format
  37 | ERROR | [x] Visibility must be declared on method "options_form"
  78 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 113 | ERROR | [ ] Method name "flag_entity::_load_entity" is not in lowerCamel format
 113 | ERROR | [x] Visibility must be declared on method "_load_entity"
 124 | ERROR | [ ] Method name "flag_entity::applies_to_entity" is not in lowerCamel format
 124 | ERROR | [x] Visibility must be declared on method "applies_to_entity"
 140 | ERROR | [ ] Return type missing for @return tag in function comment
 141 | ERROR | [x] Return comment indentation must be 3 spaces, found 2 spaces
 143 | ERROR | [ ] Method name "flag_entity::get_permissions" is not in lowerCamel format
 143 | ERROR | [x] Visibility must be declared on method "get_permissions"
 166 | ERROR | [ ] Missing parameter type
 168 | ERROR | [ ] Missing parameter type
 169 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 170 | ERROR | [ ] Missing parameter type
 171 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 172 | ERROR | [ ] Missing parameter type
 173 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 175 | ERROR | [ ] Protected method name "flag_entity::invoke_rules_event" is not in lowerCamel format
 179 | ERROR | [x] Case breaking statements must be followed by a single blank line
 197 | ERROR | [ ] Method name "flag_entity::get_entity_id" is not in lowerCamel format
 197 | ERROR | [x] Visibility must be declared on method "get_entity_id"
 207 | ERROR | [ ] Method name "flag_entity::shows_in_entity_links" is not in lowerCamel format
 207 | ERROR | [x] Visibility must be declared on method "shows_in_entity_links"
 218 | ERROR | [ ] Method name "flag_entity::get_labels_token_types" is not in lowerCamel format
 218 | ERROR | [x] Visibility must be declared on method "get_labels_token_types"
 233 | ERROR | [ ] Method name "flag_entity::replace_tokens" is not in lowerCamel format
 233 | ERROR | [x] Visibility must be declared on method "replace_tokens"
 243 | ERROR | [ ] Method name "flag_entity::get_flag_action" is not in lowerCamel format
 243 | ERROR | [x] Visibility must be declared on method "get_flag_action"
 254 | ERROR | [ ] Method name "flag_entity::get_relevant_action_objects" is not in lowerCamel format
 254 | ERROR | [x] Visibility must be declared on method "get_relevant_action_objects"
 263 | ERROR | [ ] Method name "flag_entity::get_views_info" is not in lowerCamel format
 263 | ERROR | [x] Visibility must be declared on method "get_views_info"
 273 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 279 | ERROR | [x] Expected 1 blank line after function; 0 found
 280 | ERROR | [x] The closing brace for the class must have an empty line before it
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 23 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag\flag_flag.inc
---------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 237 ERRORS AND 6 WARNINGS AFFECTING 178 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------
    1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
    7 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
   12 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
   41 | ERROR   | [ ] Class name must begin with a capital letter
   41 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
   48 | ERROR   | [x] Expected "int" but found "integer" for @var tag in member variable comment
   50 | ERROR   | [x] The var keyword must not be used to declare a property
   50 | ERROR   | [ ] Visibility must be declared on property "$fid"
   57 | ERROR   | [x] The var keyword must not be used to declare a property
   57 | ERROR   | [ ] Visibility must be declared on property "$entity_type"
   57 | ERROR   | [ ] Class property $entity_type should use lowerCamel naming without underscores
   64 | ERROR   | [x] The var keyword must not be used to declare a property
   64 | ERROR   | [ ] Visibility must be declared on property "$name"
   71 | ERROR   | [x] The var keyword must not be used to declare a property
   71 | ERROR   | [ ] Visibility must be declared on property "$title"
   78 | ERROR   | [x] The var keyword must not be used to declare a property
   78 | ERROR   | [ ] Visibility must be declared on property "$global"
   87 | ERROR   | [x] The var keyword must not be used to declare a property
   87 | ERROR   | [ ] Visibility must be declared on property "$types"
   91 | ERROR   | [ ] Missing @var tag in member variable comment
   92 | ERROR   | [x] The var keyword must not be used to declare a property
   92 | ERROR   | [ ] Visibility must be declared on property "$roles"
   99 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
  120 | ERROR   | [ ] Method name "flag_flag::factory_by_row" is not in lowerCamel format
  120 | ERROR   | [x] Visibility must be declared on method "factory_by_row"
  131 | ERROR   | [ ] unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.
  151 | ERROR   | [ ] Method name "flag_flag::factory_by_array" is not in lowerCamel format
  151 | ERROR   | [x] Visibility must be declared on method "factory_by_array"
  171 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
  173 | ERROR   | [ ] Method name "flag_flag::factory_by_entity_type" is not in lowerCamel format
  173 | ERROR   | [x] Visibility must be declared on method "factory_by_entity_type"
  182 | ERROR   | [x] Visibility must be declared on method "options"
  208 | ERROR   | [x] Expected 1 blank line after function; 0 found
  214 | ERROR   | [ ] Method name "flag_flag::options_form" is not in lowerCamel format
  214 | ERROR   | [x] Visibility must be declared on method "options_form"
  220 | ERROR   | [x] Visibility must be declared on method "construct"
  237 | ERROR   | [ ] Method name "flag_flag::fetch_roles" is not in lowerCamel format
  237 | ERROR   | [x] Visibility must be declared on method "fetch_roles"
  250 | ERROR   | [ ] Method name "flag_flag::form_input" is not in lowerCamel format
  250 | ERROR   | [x] Visibility must be declared on method "form_input"
  265 | ERROR   | [ ] Return type missing for @return tag in function comment
  268 | ERROR   | [x] Visibility must be declared on method "validate"
  269 | WARNING | [x] 'TODO: It might be nice if this used automatic method discovery rather' should match the format '@todo Fix problem X here.'
  280 | ERROR   | [ ] Return type missing for @return tag in function comment
  283 | ERROR   | [ ] Method name "flag_flag::validate_name" is not in lowerCamel format
  283 | ERROR   | [x] Visibility must be declared on method "validate_name"
  308 | ERROR   | [ ] Method name "flag_flag::validate_access" is not in lowerCamel format
  308 | ERROR   | [x] Visibility must be declared on method "validate_access"
  341 | ERROR   | [ ] Method name "flag_flag::fetch_entity" is not in lowerCamel format
  341 | ERROR   | [x] Visibility must be declared on method "fetch_entity"
  355 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
  361 | ERROR   | [ ] Method name "flag_flag::_load_entity" is not in lowerCamel format
  361 | ERROR   | [x] Visibility must be declared on method "_load_entity"
  374 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  375 | ERROR   | [x] Expected "object" but found "stdClass" for parameter type
  376 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  378 | ERROR   | [ ] Method name "flag_flag::remember_entity" is not in lowerCamel format
  378 | ERROR   | [x] Visibility must be declared on method "remember_entity"
  394 | ERROR   | [ ] Method name "flag_flag::applies_to_entity" is not in lowerCamel format
  394 | ERROR   | [x] Visibility must be declared on method "applies_to_entity"
  405 | ERROR   | [ ] Method name "flag_flag::applies_to_entity_id" is not in lowerCamel format
  405 | ERROR   | [x] Visibility must be declared on method "applies_to_entity_id"
  412 | ERROR   | [ ] Return type missing for @return tag in function comment
  413 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
  415 | ERROR   | [ ] Method name "flag_flag::get_permissions" is not in lowerCamel format
  415 | ERROR   | [x] Visibility must be declared on method "get_permissions"
  436 | ERROR   | [ ] Missing parameter type
  444 | ERROR   | [ ] Method name "flag_flag::user_access" is not in lowerCamel format
  444 | ERROR   | [x] Visibility must be declared on method "user_access"
  466 | ERROR   | [x] Expected "string|null" but found "string|NULL" for parameter type
  469 | ERROR   | [x] Expected "object" but found "stdClass" for parameter type
  477 | ERROR   | [x] Visibility must be declared on method "access"
  536 | ERROR   | [x] Expected "object" but found "stdClass" for parameter type
  546 | ERROR   | [ ] Type hint "array" missing for $entity_ids
  546 | ERROR   | [ ] Method name "flag_flag::access_multiple" is not in lowerCamel format
  546 | ERROR   | [x] Visibility must be declared on method "access_multiple"
  547 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
  583 | ERROR   | [ ] Return type missing for @return tag in function comment
  584 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
  585 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
  587 | ERROR   | [ ] Method name "flag_flag::type_access" is not in lowerCamel format
  587 | ERROR   | [x] Visibility must be declared on method "type_access"
  596 | ERROR   | [ ] Return type missing for @return tag in function comment
  597 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
  598 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
  599 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
  600 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
  602 | ERROR   | [ ] Method name "flag_flag::type_access_multiple" is not in lowerCamel format
  602 | ERROR   | [x] Visibility must be declared on method "type_access_multiple"
  612 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
  616 | ERROR   | [ ] Method name "flag_flag::get_entity_id" is not in lowerCamel format
  616 | ERROR   | [x] Visibility must be declared on method "get_entity_id"
  622 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
  626 | ERROR   | [x] Expected "string|null" but found "string|NULL" for parameter type
  630 | ERROR   | [ ] Return type missing for @return tag in function comment
  633 | ERROR   | [ ] Method name "flag_flag::access_entity_enabled" is not in lowerCamel format
  633 | ERROR   | [x] Visibility must be declared on method "access_entity_enabled"
  652 | ERROR   | [ ] Missing parameter type
  655 | ERROR   | [ ] Return type missing for @return tag in function comment
  659 | ERROR   | [ ] Method name "flag_flag::shows_in_entity_links" is not in lowerCamel format
  659 | ERROR   | [x] Visibility must be declared on method "shows_in_entity_links"
  666 | ERROR   | [ ] Method name "flag_flag::uses_anonymous_cookies" is not in lowerCamel format
  666 | ERROR   | [x] Visibility must be declared on method "uses_anonymous_cookies"
  678 | ERROR   | [x] Expected "string|null" but found "string|NULL" for parameter type
  682 | ERROR   | [ ] Missing parameter type
  693 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  694 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  695 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  696 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  702 | ERROR   | [x] Visibility must be declared on method "flag"
  745 | WARNING | [x] '@todo: Discuss: Core wraps everything in a try { }, should we?' should match the format '@todo Fix problem X here.'
  779 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
  803 | ERROR   | [ ] Missing parameter type
  804 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  805 | ERROR   | [ ] Missing parameter type
  806 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  807 | ERROR   | [ ] Missing parameter type
  808 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  810 | ERROR   | [ ] Private method name "flag_flag::flagging_insert" is not in lowerCamel format
  854 | ERROR   | [ ] Missing parameter type
  855 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  856 | ERROR   | [ ] Missing parameter type
  857 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  858 | ERROR   | [ ] Missing parameter type
  859 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  861 | ERROR   | [ ] Private method name "flag_flag::flagging_update" is not in lowerCamel format
  870 | WARNING | [x] 'TODO: consider removing it.' should match the format '@todo Fix problem X here.'
  887 | ERROR   | [ ] Missing parameter type
  888 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  889 | ERROR   | [ ] Missing parameter type
  890 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  891 | ERROR   | [ ] Missing parameter type
  892 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  894 | ERROR   | [ ] Private method name "flag_flag::flagging_delete" is not in lowerCamel format
  940 | ERROR   | [ ] Missing parameter type
  942 | ERROR   | [ ] Missing parameter type
  943 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  944 | ERROR   | [ ] Missing parameter type
  945 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  946 | ERROR   | [ ] Missing parameter type
  947 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  949 | ERROR   | [ ] Protected method name "flag_flag::invoke_rules_event" is not in lowerCamel format
  952 | WARNING | [ ] Empty return statement not required here
  966 | ERROR   | [x] Expected "object" but found "stdClass" for function return type
  971 | ERROR   | [ ] Method name "flag_flag::new_flagging" is not in lowerCamel format
  971 | ERROR   | [x] Visibility must be declared on method "new_flagging"
  984 | ERROR   | [ ] Parameter $entity_id is not described in comment
  984 | ERROR   | [ ] Parameter $sid is not described in comment
  997 | ERROR   | [ ] Method name "flag_flag::is_flagged" is not in lowerCamel format
  997 | ERROR   | [x] Visibility must be declared on method "is_flagged"
 1014 | ERROR   | [ ] Method name "flag_flag::get_flagging_record" is not in lowerCamel format
 1014 | ERROR   | [x] Visibility must be declared on method "get_flagging_record"
 1023 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
 1029 | ERROR   | [ ] Method name "flag_flag::get_flagging" is not in lowerCamel format
 1029 | ERROR   | [x] Visibility must be declared on method "get_flagging"
 1045 | ERROR   | [ ] Return type missing for @return tag in function comment
 1051 | ERROR   | [ ] Method name "flag_flag::_is_flagged" is not in lowerCamel format
 1051 | ERROR   | [x] Visibility must be declared on method "_is_flagged"
 1072 | ERROR   | [ ] Method name "flag_flag::_increase_count" is not in lowerCamel format
 1072 | ERROR   | [x] Visibility must be declared on method "_increase_count"
 1105 | ERROR   | [ ] Method name "flag_flag::_decrease_count" is not in lowerCamel format
 1105 | ERROR   | [x] Visibility must be declared on method "_decrease_count"
 1135 | ERROR   | [ ] Method name "flag_flag::_flag_anonymous" is not in lowerCamel format
 1135 | ERROR   | [x] Visibility must be declared on method "_flag_anonymous"
 1145 | ERROR   | [ ] Method name "flag_flag::_unflag_anonymous" is not in lowerCamel format
 1145 | ERROR   | [x] Visibility must be declared on method "_unflag_anonymous"
 1156 | ERROR   | [ ] Method name "flag_flag::get_count" is not in lowerCamel format
 1156 | ERROR   | [x] Visibility must be declared on method "get_count"
 1158 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
 1166 | ERROR   | [ ] Method name "flag_flag::get_user_count" is not in lowerCamel format
 1166 | ERROR   | [x] Visibility must be declared on method "get_user_count"
 1181 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 1196 | ERROR   | [ ] Method name "flag_flag::get_label" is not in lowerCamel format
 1196 | ERROR   | [x] Visibility must be declared on method "get_label"
 1198 | ERROR   | [ ] Function return type is not void, but function is returning void here
 1200 | WARNING | [ ] Only string literals should be passed to t() where possible
 1210 | ERROR   | [ ] Method name "flag_flag::get_link_type" is not in lowerCamel format
 1210 | ERROR   | [x] Visibility must be declared on method "get_link_type"
 1218 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 1220 | ERROR   | [ ] Method name "flag_flag::replace_tokens" is not in lowerCamel format
 1220 | ERROR   | [x] Visibility must be declared on method "replace_tokens"
 1221 | ERROR   | [x] Space found before comma in argument list
 1232 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 1236 | ERROR   | [ ] Method name "flag_flag::get_labels_token_types" is not in lowerCamel format
 1236 | ERROR   | [x] Visibility must be declared on method "get_labels_token_types"
 1245 | ERROR   | [ ] Method name "flag_flag::get_title" is not in lowerCamel format
 1245 | ERROR   | [x] Visibility must be declared on method "get_title"
 1250 | ERROR   | [x] Comments may not appear after statements
 1259 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 1264 | ERROR   | [ ] Method name "flag_flag::get_flag_action" is not in lowerCamel format
 1264 | ERROR   | [x] Visibility must be declared on method "get_flag_action"
 1275 | ERROR   | [ ] Method name "flag_flag::get_errors" is not in lowerCamel format
 1275 | ERROR   | [x] Visibility must be declared on method "get_errors"
 1288 | ERROR   | [ ] Method name "flag_flag::get_valid_actions" is not in lowerCamel format
 1288 | ERROR   | [x] Visibility must be declared on method "get_valid_actions"
 1300 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 1311 | ERROR   | [ ] Method name "flag_flag::get_relevant_action_objects" is not in lowerCamel format
 1311 | ERROR   | [x] Visibility must be declared on method "get_relevant_action_objects"
 1328 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 1332 | ERROR   | [ ] Method name "flag_flag::get_views_info" is not in lowerCamel format
 1332 | ERROR   | [x] Visibility must be declared on method "get_views_info"
 1343 | ERROR   | [x] Visibility must be declared on method "save"
 1365 | ERROR   | [x] Visibility must be declared on method "update"
 1370 | ERROR   | [x] Closing parenthesis of array declaration must be on a new line
 1377 | ERROR   | [x] Closing parenthesis of array declaration must be on a new line
 1385 | ERROR   | [x] Visibility must be declared on method "insert"
 1408 | ERROR   | [ ] Method name "flag_flag::get_serialized_options" is not in lowerCamel format
 1408 | ERROR   | [x] Visibility must be declared on method "get_serialized_options"
 1420 | ERROR   | [x] Visibility must be declared on method "delete"
 1432 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 1440 | ERROR   | [ ] Method name "flag_flag::is_compatible" is not in lowerCamel format
 1440 | ERROR   | [x] Visibility must be declared on method "is_compatible"
 1460 | ERROR   | [ ] Method name "flag_flag::find_default_flag" is not in lowerCamel format
 1460 | ERROR   | [x] Visibility must be declared on method "find_default_flag"
 1475 | ERROR   | [ ] Return type missing for @return tag in function comment
 1479 | ERROR   | [x] Visibility must be declared on method "revert"
 1497 | ERROR   | [x] Visibility must be declared on method "disable"
 1508 | ERROR   | [x] Visibility must be declared on method "enable"
 1519 | ERROR   | [ ] Method name "flag_flag::admin_path" is not in lowerCamel format
 1519 | ERROR   | [x] Visibility must be declared on method "admin_path"
 1536 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 1538 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 1540 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 1541 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 1542 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 1544 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 1547 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
 1549 | ERROR   | [ ] Type hint "array" missing for $variables
 1549 | ERROR   | [x] Visibility must be declared on method "theme"
 1598 | ERROR   | [ ] Method name "flag_flag::theme_suggestions" is not in lowerCamel format
 1598 | ERROR   | [x] Visibility must be declared on method "theme_suggestions"
 1609 | ERROR   | [ ] Method name "flag_flag::_flag_url" is not in lowerCamel format
 1609 | ERROR   | [x] Visibility must be declared on method "_flag_url"
 1611 | ERROR   | [x] Expected 1 blank line after function; 0 found
 1612 | ERROR   | [x] The closing brace for the class must have an empty line before it
 1617 | ERROR   | [ ] Class name must begin with a capital letter
 1617 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 1618 | ERROR   | [x] Missing function doc comment
 1618 | ERROR   | [ ] Method name "flag_broken::options_form" is not in lowerCamel format
 1618 | ERROR   | [x] Visibility must be declared on method "options_form"
 1618 | ERROR   | [x] Expected 1 blank line before function; 0 found
 1621 | ERROR   | [x] Expected 1 blank line after function; 0 found
 1622 | ERROR   | [x] The closing brace for the class must have an empty line before it
---------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 128 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag\flag_node.inc
-------------------------------------------------------------------------------------------------------------------------
FOUND 23 ERRORS AND 1 WARNING AFFECTING 12 LINES
-------------------------------------------------------------------------------------------------------------------------
   1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
  11 | ERROR   | [ ] Class name must begin with a capital letter
  11 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
  12 | ERROR   | [x] Missing function doc comment
  12 | ERROR   | [x] Visibility must be declared on method "options"
  12 | ERROR   | [x] Expected 1 blank line before function; 0 found
  24 | ERROR   | [ ] Method name "flag_node::options_form" is not in lowerCamel format
  24 | ERROR   | [x] Visibility must be declared on method "options_form"
  66 | ERROR   | [x] Missing function doc comment
  66 | ERROR   | [ ] Method name "flag_node::type_access_multiple" is not in lowerCamel format
  66 | ERROR   | [x] Visibility must be declared on method "type_access_multiple"
  96 | ERROR   | [ ] Method name "flag_node::get_translation_id" is not in lowerCamel format
  96 | ERROR   | [x] Visibility must be declared on method "get_translation_id"
 106 | ERROR   | [x] Missing function doc comment
 106 | ERROR   | [x] Visibility must be declared on method "flag"
 113 | ERROR   | [x] You must use "/**" style comments for a function comment
 113 | ERROR   | [ ] Method name "flag_node::get_flagging_record" is not in lowerCamel format
 113 | ERROR   | [x] Visibility must be declared on method "get_flagging_record"
 122 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 124 | WARNING | [ ] Possible useless method overriding detected
 124 | ERROR   | [ ] Method name "flag_node::replace_tokens" is not in lowerCamel format
 124 | ERROR   | [x] Visibility must be declared on method "replace_tokens"
 126 | ERROR   | [x] Expected 1 blank line after function; 0 found
 127 | ERROR   | [x] The closing brace for the class must have an empty line before it
-------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag\flag_user.inc
---------------------------------------------------------------------------------------------------------------------------
FOUND 28 ERRORS AND 1 WARNING AFFECTING 13 LINES
---------------------------------------------------------------------------------------------------------------------------
  1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
 11 | ERROR   | [ ] Class name must begin with a capital letter
 11 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 12 | ERROR   | [x] Missing function doc comment
 12 | ERROR   | [x] Visibility must be declared on method "options"
 12 | ERROR   | [x] Expected 1 blank line before function; 0 found
 24 | ERROR   | [ ] Method name "flag_user::options_form" is not in lowerCamel format
 24 | ERROR   | [x] Visibility must be declared on method "options_form"
 28 | WARNING | [x] 'TODO: Maybe support roles instead of node types.' should match the format '@todo Fix problem X here.'
 48 | ERROR   | [x] Missing function doc comment
 48 | ERROR   | [ ] Method name "flag_user::form_input" is not in lowerCamel format
 48 | ERROR   | [x] Visibility must be declared on method "form_input"
 55 | ERROR   | [x] Missing function doc comment
 55 | ERROR   | [ ] Method name "flag_user::type_access" is not in lowerCamel format
 55 | ERROR   | [x] Visibility must be declared on method "type_access"
 62 | ERROR   | [x] Missing function doc comment
 62 | ERROR   | [ ] Method name "flag_user::type_access_multiple" is not in lowerCamel format
 62 | ERROR   | [x] Visibility must be declared on method "type_access_multiple"
 78 | ERROR   | [x] Missing function doc comment
 78 | ERROR   | [ ] Method name "flag_user::get_flag_action" is not in lowerCamel format
 78 | ERROR   | [x] Visibility must be declared on method "get_flag_action"
 86 | ERROR   | [x] Missing function doc comment
 86 | ERROR   | [ ] Method name "flag_user::get_relevant_action_objects" is not in lowerCamel format
 86 | ERROR   | [x] Visibility must be declared on method "get_relevant_action_objects"
 92 | ERROR   | [x] Missing function doc comment
 92 | ERROR   | [ ] Method name "flag_user::get_views_info" is not in lowerCamel format
 92 | ERROR   | [x] Visibility must be declared on method "get_views_info"
 96 | ERROR   | [x] Expected 1 blank line after function; 0 found
 97 | ERROR   | [x] The closing brace for the class must have an empty line before it
---------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 20 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag.actions.inc
----------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
----------------------------------------------------------------------------------------------------
   1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 117 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 141 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 165 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 187 | ERROR | [ ] Missing parameter type
 212 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 220 | ERROR | [x] Use null coalesce operator instead of ternary operator.
----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag.admin.inc
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 15 ERRORS AND 3 WARNINGS AFFECTING 18 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------
   1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
 176 | WARNING | [ ] Unused variable $roles.
 267 | ERROR   | [x] Expected "string|null" but found "string|NULL" for parameter type
 268 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 269 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 270 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 319 | ERROR   | [x] Missing function doc comment
 326 | ERROR   | [x] Missing function doc comment
 369 | WARNING | [x] '@todo: Allow this, but with a confirmation form, assuming anyone actually' should match the format '@todo Fix problem X here.'
 577 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
 586 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
 757 | WARNING | [x] '@todo: when we add database caching for flags we'll have to clear the' should match the format '@todo Fix problem X here.'
 817 | ERROR   | [x] Missing function doc comment
 843 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 845 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 846 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 847 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
 848 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag.cookie_storage.inc
----------------------------------------------------------------------------------------------------------------
FOUND 40 ERRORS AFFECTING 28 LINES
----------------------------------------------------------------------------------------------------------------
   1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  27 | ERROR | [x] Visibility must be declared on method "factory"
  36 | ERROR | [x] Missing function doc comment
  36 | ERROR | [x] Visibility must be declared on method "__construct"
  41 | ERROR | [ ] Doc comment short description must start with a capital letter
  45 | ERROR | [x] Visibility must be declared on method "flag"
  48 | ERROR | [ ] Doc comment short description must start with a capital letter
  52 | ERROR | [x] Visibility must be declared on method "unflag"
  59 | ERROR | [x] Visibility must be declared on method "drop"
  62 | ERROR | [x] Expected 1 blank line after function; 0 found
  63 | ERROR | [x] The closing brace for the class must have an empty line before it
  70 | ERROR | [x] Missing function doc comment
  70 | ERROR | [x] Visibility must be declared on method "flag"
  76 | ERROR | [x] Missing function doc comment
  76 | ERROR | [x] Visibility must be declared on method "unflag"
  83 | ERROR | [x] You must use "/**" style comments for a function comment
  83 | ERROR | [ ] Protected method name "FlagGlobalCookieStorage::get_lifetime" is not in lowerCamel format
  95 | ERROR | [x] Missing function doc comment
  95 | ERROR | [ ] Protected method name "FlagGlobalCookieStorage::cookie_key" is not in lowerCamel format
 102 | ERROR | [x] Visibility must be declared on method "drop"
 109 | ERROR | [x] Expected 1 blank line after function; 0 found
 110 | ERROR | [x] The closing brace for the class must have an empty line before it
 119 | ERROR | [x] You must use "/**" style comments for a function comment
 119 | ERROR | [x] Visibility must be declared on method "__construct"
 124 | ERROR | [x] Missing function doc comment
 124 | ERROR | [x] Visibility must be declared on method "flag"
 131 | ERROR | [x] Missing function doc comment
 131 | ERROR | [x] Visibility must be declared on method "unflag"
 138 | ERROR | [x] Missing function doc comment
 138 | ERROR | [ ] Protected method name "FlagNonGlobalCookieStorage::get_lifetime" is not in lowerCamel format
 142 | ERROR | [x] Missing function doc comment
 142 | ERROR | [ ] Protected method name "FlagNonGlobalCookieStorage::cookie_key" is not in lowerCamel format
 146 | ERROR | [x] Missing function doc comment
 152 | ERROR | [x] Missing function doc comment
 152 | ERROR | [ ] Protected method name "FlagNonGlobalCookieStorage::is_flagged" is not in lowerCamel format
 156 | ERROR | [x] Missing function doc comment
 156 | ERROR | [ ] Protected method name "FlagNonGlobalCookieStorage::index_of" is not in lowerCamel format
 163 | ERROR | [x] Visibility must be declared on method "drop"
 168 | ERROR | [x] Expected 1 blank line after function; 0 found
 169 | ERROR | [x] The closing brace for the class must have an empty line before it
----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 32 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag.entity.inc
---------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------
  1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 17 | ERROR | [x] Missing function doc comment
 23 | ERROR | [x] Expected 1 blank line after function; 0 found
 24 | ERROR | [x] The closing brace for the class must have an empty line before it
---------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag.export.inc
----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 20 ERRORS AND 4 WARNINGS AFFECTING 21 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------
   1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
  17 | ERROR   | [ ] Type hint "array" missing for $flags
 103 | WARNING | [ ] The use of function eval() is discouraged
 129 | WARNING | [ ] Unused variable $field.
 264 | ERROR   | [ ] Type hint "flag_flag" missing for $flag
 282 | WARNING | [x] '@todo: change this to work with the static class when we drop support' should match the format '@todo Fix problem X here.'
 314 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 319 | WARNING | [x] '@todo: Change this to a class constant when we drop support for PHP 5.2.' should match the format '@todo Fix problem X here.'
 320 | ERROR   | [ ] Missing @var tag in member variable comment
 321 | ERROR   | [ ] Class property $old_api_version should use lowerCamel naming without underscores
 325 | ERROR   | [ ] Missing @var tag in member variable comment
 326 | ERROR   | [ ] Class property $new_api_version should use lowerCamel naming without underscores
 331 | ERROR   | [x] Visibility must be declared on method "update"
 338 | ERROR   | [x] Expected 1 blank line after function; 0 found
 339 | ERROR   | [x] The closing brace for the class must have an empty line before it
 344 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 346 | ERROR   | [ ] Missing member variable doc comment
 346 | ERROR   | [ ] Class property $old_api_version should use lowerCamel naming without underscores
 347 | ERROR   | [ ] Missing member variable doc comment
 347 | ERROR   | [ ] Class property $new_api_version should use lowerCamel naming without underscores
 349 | ERROR   | [x] Missing function doc comment
 349 | ERROR   | [x] Visibility must be declared on method "update"
 390 | ERROR   | [x] Expected 1 blank line after function; 0 found
 391 | ERROR   | [x] The closing brace for the class must have an empty line before it
----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag.features.inc
-----------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
-----------------------------------------------------------------------------------------------------
   1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
  19 | WARNING | [ ] Unused variable $key.
  74 | WARNING | [ ] Hook implementations should not duplicate @param documentation
 111 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\flag.pages.inc
--------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------------------------------
   1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  13 | ERROR | [ ] Missing parameter type
  15 | ERROR | [ ] Missing parameter type
  17 | ERROR | [ ] Missing parameter type
  87 | ERROR | [ ] Type hint "flag_flag" missing for $flag
  99 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 120 | ERROR | [x] Use null coalesce operator instead of ternary operator.
--------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\views\flag.views.inc
--------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------
   1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  31 | ERROR | [x] Expected 1 blank line after function; 0 found
 276 | ERROR | [x] Expected 1 blank line after function; 0 found
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\views\flag.views_convert.inc
-------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------------------------------
   1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
 113 | WARNING | [ ] Avoid backslash escaping in translatable strings when possible, use "" quotes instead
 226 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
-------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\views\flag_handler_argument_entity_id.inc
-----------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AND 1 WARNING AFFECTING 7 LINES
-----------------------------------------------------------------------------------------------------------------------------
  1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
 13 | ERROR   | [ ] Class name must begin with a capital letter
 13 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 21 | ERROR   | [ ] Method name "flag_handler_argument_entity_id::get_flag" is not in lowerCamel format
 21 | ERROR   | [x] Visibility must be declared on method "get_flag"
 28 | ERROR   | [ ] Method name "flag_handler_argument_entity_id::title_query" is not in lowerCamel format
 28 | ERROR   | [x] Visibility must be declared on method "title_query"
 36 | WARNING | [ ] Unused variable $placeholders.
 46 | ERROR   | [x] Expected 1 blank line after function; 0 found
 47 | ERROR   | [x] The closing brace for the class must have an empty line before it
-----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\views\flag_handler_field_flagged.inc
--------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 5 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------
  1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
 13 | ERROR   | [ ] Class name must begin with a capital letter
 13 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 15 | ERROR   | [x] Missing function doc comment
 15 | ERROR   | [x] Visibility must be declared on method "init"
 20 | WARNING | [x] 'TODO: We could probably lift the '(Un)Flagged message' strings from the' should match the format '@todo Fix problem X here.'
 28 | ERROR   | [x] Visibility must be declared on method "query"
--------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\views\flag_handler_field_ops.inc
-----------------------------------------------------------------------------------------------------------------------
FOUND 23 ERRORS AFFECTING 14 LINES
-----------------------------------------------------------------------------------------------------------------------
   1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  13 | ERROR | [ ] Class name must begin with a capital letter
  13 | ERROR | [ ] Class name must use UpperCamel naming without underscores
  21 | ERROR | [ ] Method name "flag_handler_field_ops::get_flag" is not in lowerCamel format
  21 | ERROR | [x] Visibility must be declared on method "get_flag"
  33 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
  35 | ERROR | [ ] Method name "flag_handler_field_ops::get_parent_relationship" is not in lowerCamel format
  35 | ERROR | [x] Visibility must be declared on method "get_parent_relationship"
  46 | ERROR | [x] Missing function doc comment
  46 | ERROR | [ ] Method name "flag_handler_field_ops::option_definition" is not in lowerCamel format
  46 | ERROR | [x] Visibility must be declared on method "option_definition"
  52 | ERROR | [x] Missing function doc comment
  52 | ERROR | [ ] Method name "flag_handler_field_ops::options_form" is not in lowerCamel format
  52 | ERROR | [x] Visibility must be declared on method "options_form"
  66 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
  68 | ERROR | [x] Visibility must be declared on method "query"
 129 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 131 | ERROR | [ ] Method name "flag_handler_field_ops::pre_render" is not in lowerCamel format
 131 | ERROR | [x] Visibility must be declared on method "pre_render"
 148 | ERROR | [x] Missing function doc comment
 148 | ERROR | [x] Visibility must be declared on method "render"
 166 | ERROR | [x] Expected 1 blank line after function; 0 found
 167 | ERROR | [x] The closing brace for the class must have an empty line before it
-----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\views\flag_handler_filter_flagged.inc
-------------------------------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AFFECTING 7 LINES
-------------------------------------------------------------------------------------------------------------------------
  1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 13 | ERROR | [ ] Class name must begin with a capital letter
 13 | ERROR | [ ] Class name must use UpperCamel naming without underscores
 14 | ERROR | [x] Missing function doc comment
 14 | ERROR | [ ] Method name "flag_handler_filter_flagged::option_definition" is not in lowerCamel format
 14 | ERROR | [x] Visibility must be declared on method "option_definition"
 14 | ERROR | [x] Expected 1 blank line before function; 0 found
 20 | ERROR | [x] Missing function doc comment
 20 | ERROR | [ ] Method name "flag_handler_filter_flagged::options_form" is not in lowerCamel format
 20 | ERROR | [x] Visibility must be declared on method "options_form"
 33 | ERROR | [x] Missing function doc comment
 33 | ERROR | [x] Visibility must be declared on method "query"
 36 | ERROR | [x] Expected 1 blank line after function; 0 found
 37 | ERROR | [x] The closing brace for the class must have an empty line before it
-------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\views\flag_handler_relationships.inc
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 59 ERRORS AND 1 WARNING AFFECTING 33 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------
   1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
  13 | ERROR   | [ ] Class name must begin with a capital letter
  13 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
  18 | ERROR   | [ ] Method name "flag_handler_relationship::option_definition" is not in lowerCamel format
  18 | ERROR   | [x] Visibility must be declared on method "option_definition"
  32 | ERROR   | [x] Visibility must be declared on method "validate"
  52 | ERROR   | [ ] Return type missing for @return tag in function comment
  53 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
  54 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
  58 | ERROR   | [ ] Method name "flag_handler_relationship::get_flag_type" is not in lowerCamel format
  58 | ERROR   | [x] Visibility must be declared on method "get_flag_type"
  59 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
  65 | ERROR   | [ ] Method name "flag_handler_relationship::get_flag" is not in lowerCamel format
  65 | ERROR   | [x] Visibility must be declared on method "get_flag"
  86 | WARNING | [x] '@todo: It's logical that this class should also implement options_form(),' should match the format '@todo Fix problem X here.'
  99 | ERROR   | [ ] Class name must begin with a capital letter
  99 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 101 | ERROR   | [x] Missing function doc comment
 101 | ERROR   | [ ] Method name "flag_handler_relationship_content::option_definition" is not in lowerCamel format
 101 | ERROR   | [x] Visibility must be declared on method "option_definition"
 107 | ERROR   | [x] Missing function doc comment
 107 | ERROR   | [ ] Method name "flag_handler_relationship_content::options_form" is not in lowerCamel format
 107 | ERROR   | [x] Visibility must be declared on method "options_form"
 145 | ERROR   | [x] Missing function doc comment
 145 | ERROR   | [ ] Method name "flag_handler_relationship_content::options_validate" is not in lowerCamel format
 145 | ERROR   | [x] Visibility must be declared on method "options_validate"
 151 | ERROR   | [x] Missing function doc comment
 151 | ERROR   | [ ] Method name "flag_handler_relationship_content::admin_summary" is not in lowerCamel format
 151 | ERROR   | [x] Visibility must be declared on method "admin_summary"
 155 | ERROR   | [x] Missing function doc comment
 155 | ERROR   | [ ] Method name "flag_handler_relationship_content::ui_name" is not in lowerCamel format
 155 | ERROR   | [x] Visibility must be declared on method "ui_name"
 166 | ERROR   | [x] Visibility must be declared on method "query"
 196 | ERROR   | [x] Expected 1 blank line after function; 0 found
 197 | ERROR   | [x] The closing brace for the class must have an empty line before it
 207 | ERROR   | [ ] Class name must begin with a capital letter
 207 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 209 | ERROR   | [x] Missing function doc comment
 209 | ERROR   | [ ] Method name "flag_handler_relationship_counts::options_form" is not in lowerCamel format
 209 | ERROR   | [x] Visibility must be declared on method "options_form"
 218 | ERROR   | [x] Missing function doc comment
 218 | ERROR   | [ ] Method name "flag_handler_relationship_counts::admin_summary" is not in lowerCamel format
 218 | ERROR   | [x] Visibility must be declared on method "admin_summary"
 222 | ERROR   | [x] Missing function doc comment
 222 | ERROR   | [ ] Method name "flag_handler_relationship_counts::ui_name" is not in lowerCamel format
 222 | ERROR   | [x] Visibility must be declared on method "ui_name"
 233 | ERROR   | [x] Visibility must be declared on method "query"
 257 | ERROR   | [x] Expected 1 blank line after function; 0 found
 258 | ERROR   | [x] The closing brace for the class must have an empty line before it
 267 | ERROR   | [ ] Class name must begin with a capital letter
 267 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
 269 | ERROR   | [x] Missing function doc comment
 269 | ERROR   | [ ] Method name "flag_handler_relationship_user_content::options_form" is not in lowerCamel format
 269 | ERROR   | [x] Visibility must be declared on method "options_form"
 280 | ERROR   | [x] Missing function doc comment
 280 | ERROR   | [ ] Method name "flag_handler_relationship_user_content::admin_summary" is not in lowerCamel format
 280 | ERROR   | [x] Visibility must be declared on method "admin_summary"
 287 | ERROR   | [x] Visibility must be declared on method "query"
 298 | ERROR   | [x] Expected 1 blank line after function; 0 found
 299 | ERROR   | [x] The closing brace for the class must have an empty line before it
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 38 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\views\flag_handler_sort_flagged.inc
-----------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 6 LINES
-----------------------------------------------------------------------------------------------------------------------
  1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 13 | ERROR | [ ] Class name must begin with a capital letter
 13 | ERROR | [ ] Class name must use UpperCamel naming without underscores
 20 | ERROR | [ ] Method name "flag_handler_sort_flagged::sort_options" is not in lowerCamel format
 20 | ERROR | [x] Visibility must be declared on method "sort_options"
 28 | ERROR | [x] Doc comment short description must end with a full stop
 30 | ERROR | [ ] Method name "flag_handler_sort_flagged::admin_summary" is not in lowerCamel format
 30 | ERROR | [x] Visibility must be declared on method "admin_summary"
 40 | ERROR | [x] Missing function doc comment
 40 | ERROR | [x] Visibility must be declared on method "query"
-----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\includes\views\flag_plugin_argument_validate_flaggability.inc
----------------------------------------------------------------------------------------------------------------------------------------
FOUND 40 ERRORS AND 1 WARNING AFFECTING 19 LINES
----------------------------------------------------------------------------------------------------------------------------------------
   1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
  13 | ERROR   | [ ] Class name must begin with a capital letter
  13 | ERROR   | [ ] Class name must use UpperCamel naming without underscores
  15 | ERROR   | [x] Missing function doc comment
  15 | ERROR   | [x] Visibility must be declared on method "construct"
  20 | ERROR   | [x] Missing function doc comment
  20 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::option_definition" is not in lowerCamel format
  20 | ERROR   | [x] Visibility must be declared on method "option_definition"
  28 | ERROR   | [x] Missing function doc comment
  28 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::options_form" is not in lowerCamel format
  28 | ERROR   | [x] Visibility must be declared on method "options_form"
  77 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::flags_options" is not in lowerCamel format
  77 | ERROR   | [x] Visibility must be declared on method "flags_options"
  94 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::convert_options" is not in lowerCamel format
  94 | ERROR   | [x] Visibility must be declared on method "convert_options"
 108 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::tests_info" is not in lowerCamel format
 108 | ERROR   | [x] Visibility must be declared on method "tests_info"
 125 | ERROR   | [x] Missing function doc comment
 125 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::tests_options" is not in lowerCamel format
 125 | ERROR   | [x] Visibility must be declared on method "tests_options"
 133 | ERROR   | [x] Missing function doc comment
 133 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::get_flag" is not in lowerCamel format
 133 | ERROR   | [x] Visibility must be declared on method "get_flag"
 138 | WARNING | [ ] Unused variable $id.
 156 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 158 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::validate_argument" is not in lowerCamel format
 158 | ERROR   | [x] Visibility must be declared on method "validate_argument"
 202 | ERROR   | [x] You must use "/**" style comments for a function comment
 202 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::test_flaggable" is not in lowerCamel format
 202 | ERROR   | [x] Visibility must be declared on method "test_flaggable"
 206 | ERROR   | [x] Missing function doc comment
 206 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::test_flagged" is not in lowerCamel format
 206 | ERROR   | [x] Visibility must be declared on method "test_flagged"
 213 | ERROR   | [x] Missing function doc comment
 213 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::test_flagged_by_current_user" is not in lowerCamel format
 213 | ERROR   | [x] Visibility must be declared on method "test_flagged_by_current_user"
 225 | ERROR   | [x] You must use "/**" style comments for a function comment
 225 | ERROR   | [ ] Method name "flag_plugin_argument_validate_flaggability::_test_by_sql" is not in lowerCamel format
 225 | ERROR   | [x] Visibility must be declared on method "_test_by_sql"
 232 | ERROR   | [x] Expected 1 blank line after function; 0 found
 233 | ERROR   | [x] The closing brace for the class must have an empty line before it
----------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 25 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\plugins\access\flag_is_flagged\flag_is_flagged.inc
-----------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 2 WARNINGS AFFECTING 8 LINES
-----------------------------------------------------------------------------------------------------------------------------
   1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
   4 | ERROR   | [x] The second line in the file doc comment must be "@file"
   6 | WARNING | [ ] Unused variable $plugin.
  20 | ERROR   | [x] You must use "/**" style comments for a function comment
  28 | ERROR   | [x] You must use "/**" style comments for a function comment
  63 | ERROR   | [x] Use null coalesce operator instead of ternary operator.
  92 | ERROR   | [x] list(...) is forbidden, use [...] instead.
 112 | WARNING | [ ] Unused variable $flag_limit_by.
-----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\plugins\content_types\flag_link\flag_link.inc
------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------
  1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
  4 | ERROR   | [x] The second line in the file doc comment must be "@file"
  6 | WARNING | [ ] Unused variable $plugin.
 60 | ERROR   | [x] list(...) is forbidden, use [...] instead.
------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\tests\flag.test
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 58 ERRORS AND 7 WARNINGS AFFECTING 60 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
   17 | ERROR   | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
   20 | ERROR   | [x] Return comment indentation must be 3 spaces, found 2 spaces
   22 | ERROR   | [ ] Type hint "array" missing for $flag_data
   22 | ERROR   | [x] Visibility must be declared on method "createFlag"
   55 | ERROR   | [x] Visibility must be declared on method "setUp"
   98 | ERROR   | [x] Visibility must be declared on method "testFlaggingCreate"
  122 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
  143 | ERROR   | [x] Visibility must be declared on method "testFlaggingCreateException"
  181 | ERROR   | [x] Visibility must be declared on method "testFlaggingUpdate"
  222 | WARNING | [ ] Property name "$_flag" should not be prefixed with an underscore to indicate visibility
  222 | ERROR   | [ ] Missing member variable doc comment
  222 | ERROR   | [ ] Class property $_flag should use lowerCamel naming without underscores
  238 | ERROR   | [x] Visibility must be declared on method "setUp"
  252 | ERROR   | [x] Visibility must be declared on method "testFlagAdmin"
  397 | WARNING | [x] '@todo: complete this test class.' should match the format '@todo Fix problem X here.'
  415 | ERROR   | [x] Visibility must be declared on method "setUp"
  422 | ERROR   | [x] Visibility must be declared on method "testFlagAccessGlobalNone"
  475 | ERROR   | [ ] String concat is not required here; use a single string instead
  511 | ERROR   | [x] Visibility must be declared on method "setUp"
  519 | ERROR   | [x] Visibility must be declared on method "testNodeFlagToken"
  559 | ERROR   | [x] Comma not allowed after last value in single-line array declaration
  565 | ERROR   | [x] Comma not allowed after last value in single-line array declaration
  582 | ERROR   | [x] Visibility must be declared on method "testTaxonomyTermFlagToken"
  614 | WARNING | [ ] Unused variable $vocabulary.
  624 | ERROR   | [x] Comma not allowed after last value in single-line array declaration
  630 | ERROR   | [x] Comma not allowed after last value in single-line array declaration
  666 | ERROR   | [x] Visibility must be declared on method "setUp"
  698 | WARNING | [ ] Unused variable $flag.
  717 | ERROR   | [x] Visibility must be declared on method "testFlagAccessNone"
  731 | ERROR   | [x] Visibility must be declared on method "testFlagAccessFlagOnly"
  733 | ERROR   | [x] Comma not allowed after last value in single-line array declaration
  750 | ERROR   | [x] Visibility must be declared on method "testFlagAccessFlagUnflag"
  795 | ERROR   | [x] Visibility must be declared on method "setUp"
  861 | ERROR   | [x] Visibility must be declared on method "testFlag"
  943 | ERROR   | [x] Visibility must be declared on method "setUp"
  946 | WARNING | [ ] Unused variable $success.
  977 | WARNING | [ ] Unused variable $flag.
  996 | ERROR   | [x] Visibility must be declared on method "testFlagAccessIgnore"
 1023 | ERROR   | [x] Visibility must be declared on method "testFlagAccessAllow"
 1049 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 1051 | ERROR   | [x] Visibility must be declared on method "testFlagAccessAllowOverride"
 1074 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 1076 | ERROR   | [x] Visibility must be declared on method "testFlagAccessDeny"
 1111 | ERROR   | [x] Visibility must be declared on method "setUp"
 1115 | ERROR   | [x] Missing function doc comment
 1115 | ERROR   | [x] Visibility must be declared on method "testFlaggingFields"
 1188 | ERROR   | [x] Visibility must be declared on method "setUp"
 1240 | ERROR   | [x] Visibility must be declared on method "testEntityFieldQuery"
 1293 | ERROR   | [x] Visibility must be declared on method "setUp"
 1314 | ERROR   | [x] Visibility must be declared on method "testHookInvocation"
 1337 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable['hook_entity_presave']);" but found "//debug($hook_data_variable['hook_entity_presave']);"
 1338 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable['hook_entity_insert']);" but found "//debug($hook_data_variable['hook_entity_insert']);"
 1338 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
 1360 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable['hook_entity_presave']['api_calls']);" but found
      |         |     "//debug($hook_data_variable['hook_entity_presave']['api_calls']);"
 1381 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable['hook_entity_insert']['api_calls']);" but found
      |         |     "//debug($hook_data_variable['hook_entity_insert']['api_calls']);"
 1424 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable['hook_flag_flag']['api_calls']);" but found
      |         |     "//debug($hook_data_variable['hook_flag_flag']['api_calls']);"
 1474 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable);" but found "//debug($hook_data_variable);"
 1538 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable['hook_entity_update']['api_calls']);" but found
      |         |     "//debug($hook_data_variable['hook_entity_update']['api_calls']);"
 1574 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable);" but found "//debug($hook_data_variable);"
 1599 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable['hook_flag_unflag']['api_calls']);" but found
      |         |     "//debug($hook_data_variable['hook_flag_unflag']['api_calls']);"
 1645 | ERROR   | [x] No space found before comment text; expected "// debug($hook_data_variable['hook_entity_delete']['api_calls']);" but found
      |         |     "//debug($hook_data_variable['hook_entity_delete']['api_calls']);"
 1701 | ERROR   | [x] Visibility must be declared on method "setUp"
 1764 | WARNING | [ ] Unused variable $i.
 1787 | ERROR   | [x] Visibility must be declared on method "testCommentView"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 53 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\tests\flagaccesstest\flagaccesstest.module
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1 | ERROR   | [x] The PHP open tag must be followed by exactly one blank line
  1 | ERROR   | [x] End of line character is invalid; expected "\n" but found "\r\n"
  8 | WARNING | [ ] Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "*
    |         |     Implements hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates."
 15 | WARNING | [ ] Messages are user facing text and must run through t() for translation
 19 | WARNING | [ ] Messages are user facing text and must run through t() for translation
 23 | WARNING | [ ] Messages are user facing text and must run through t() for translation
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\tests\flag_comment_flag_test\flag_comment_flag_test.module
-------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------------------------------
  1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  4 | ERROR | [x] Doc comment short description must be on the first line
  4 | ERROR | [x] Doc comment short description must start with a capital letter
  5 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
 35 | ERROR | [x] Whitespace found at end of line
-------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\tests\flag_fields_test\flag_fields_test.install
--------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------------------
 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 4 | ERROR | [x] Doc comment short description must be on the first line
 4 | ERROR | [x] Doc comment short description must start with a capital letter
 5 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
--------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\tests\flag_fields_test\flag_fields_test.module
-------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------------------------------
 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 4 | ERROR | [x] Doc comment short description must be on the first line
 4 | ERROR | [x] Doc comment short description must start with a capital letter
 5 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
-------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\tests\flag_hook_test\flag_hook_test.module
-----------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 11 LINES
-----------------------------------------------------------------------------------------------------------------------
   1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
   4 | ERROR | [x] Doc comment short description must be on the first line
   4 | ERROR | [x] Doc comment short description must start with a capital letter
   5 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
  14 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  16 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  17 | ERROR | [ ] Missing parameter type
  18 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  19 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  20 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
  22 | ERROR | [ ] Type hint "array" missing for $function_parameters
 106 | ERROR | [x] Expected 1 blank line before function; 0 found
-----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\theme\flag-admin.css
-----------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 1 | ERROR | [x] Additional whitespace found at start of file
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\theme\flag.css
-----------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------
  1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
  1 | ERROR | [x] Additional whitespace found at start of file
 13 | ERROR | [x] Expected 0 spaces before semicolon in style definition; 1 found
-----------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------


FILE: C:\xampp\htdocs\Project\siteforcontributing\web\modules\contrib\flag\theme\flag.tpl.php
---------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------
 1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------

Time: 4.38 secs; Memory: 30MB

There is need to work

sharayurajput’s picture

Hi @jayesh.d This issue is only for coding standard - there must be no blank line following an inline comment and for other errors must be different issues for that

arunkumark’s picture

StatusFileSize
new48.17 KB

Please find the initial patch to resolve the issues.

Note: Few issues are pending and need to resolve.

jatingupta40’s picture

Assigned: Unassigned » jatingupta40

I will work on it to resolve the remaining issue.
Thanks

jatingupta40’s picture

Assigned: jatingupta40 » Unassigned
jayesh.d’s picture

Assigned: Unassigned » jayesh.d

Hi @all,
will work on this.
Thanks!!

kunal_sahu’s picture

Assigned: jayesh.d » kunal_sahu

Hi @all,
will work on this.
Thanks!!

amit.rawat777’s picture

Assigned: kunal_sahu » amit.rawat777

since there is no update for so long. I am assigning this issue to myself. I'll work on this.

amit.rawat777’s picture

Assigned: amit.rawat777 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new85.55 KB

please review.

atul_ghate’s picture

Assigned: Unassigned » atul_ghate

I will review this patch.

atul_ghate’s picture

Assigned: atul_ghate » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new92.19 KB

I have reviewed and applied the patch, but some PHPCS errors remain

kunal_sahu’s picture

Assigned: Unassigned » kunal_sahu
Status: Reviewed & tested by the community » Needs work

I will work on this resolve the other issues.

kunal_sahu’s picture

Assigned: kunal_sahu » Unassigned
_pratik_’s picture

Assigned: Unassigned » _pratik_
_pratik_’s picture

Assigned: _pratik_ » Unassigned
Status: Needs work » Needs review
StatusFileSize
new94.46 KB
new12.44 KB

Fixed the all errors here.

_pratik_’s picture

StatusFileSize
new12.44 KB

Appologies my bad for interdiff file.

rohit.rawat619’s picture

Assigned: Unassigned » rohit.rawat619
Status: Needs review » Active

Try to Fixing Error

rohit.rawat619’s picture

Assigned: rohit.rawat619 » Unassigned
Status: Active » Needs review
StatusFileSize
new57.79 KB

kindly, review

ivnish’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

Needs reroll to MR

atul_ghate’s picture

Assigned: Unassigned » atul_ghate
atul_ghate’s picture

Assigned: atul_ghate » Unassigned
ivnish’s picture

Status: Needs work » Closed (won't fix)
Issue tags: -Needs reroll