Review of the 8.x-1.x branch (commit 465e1c0):
- README.md or README.txt is missing, see the guidelines for in-project documentation.
- The geocluster.module does not implement
hook_help()
. See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... . - Bad line endings were found, always use unix style terminators. See https://www.drupal.org/coding-standards#indenting
./geocluster.install: PHP script, ASCII text, with CR, LF line terminators geocluster.install
- PHP Fatal error: Cannot use Drupal\Component\Utility\Timer as Timer because the name is already in use in ./src/Plugin/GeoclusterAlgorithmBase.php on line 6 Errors parsing ./src/Plugin/GeoclusterAlgorithmBase.php
- Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
- ESLint has found some issues with your code (please check the JavaScript coding standards).
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/geocluster.leaflet.bbox.js: line 6, col 1, Error - Trailing spaces not allowed. (no-trailing-spaces) /var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/geocluster.leaflet.bbox.js: line 9, col 1, Error - Trailing spaces not allowed. (no-trailing-spaces) 2 problems
- DrupalPractice has found some issues with your code, but could be false positives.
FILE: ...te1101/web/vendor/drupal/pareviewsh/pareview_temp/geocluster.install -------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES -------------------------------------------------------------------------- 1 | WARNING | File has mixed line endings; this may cause incorrect | | results 72 | WARNING | There must be no blank line following an inline comment -------------------------------------------------------------------------- FILE: ...ite1101/web/vendor/drupal/pareviewsh/pareview_temp/geocluster.module -------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES -------------------------------------------------------------------------- 15 | WARNING | Global constants should not be used, move it to a class | | or interface 17 | WARNING | Global constants should not be used, move it to a class | | or interface -------------------------------------------------------------------------- Time: 2.26 secs; Memory: 4Mb
- DrupalSecure has found some issues with your code (please check the Writing secure core handbook).
FILE: ...te1101/web/vendor/drupal/pareviewsh/pareview_temp/geocluster.install -------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------- 1 | WARNING | File has mixed line endings; this may cause incorrect | | results -------------------------------------------------------------------------- Time: 832ms; Memory: 6Mb
- No automated test cases were found, did you consider writing PHPUnit tests? This is not a requirement but encouraged for professional software development.
FILE: ...te1101/web/vendor/drupal/pareviewsh/pareview_temp/geocluster.install -------------------------------------------------------------------------- FOUND 12 ERRORS AND 4 WARNINGS AFFECTING 16 LINES -------------------------------------------------------------------------- 1 | WARNING | [ ] File has mixed line endings; this may cause | | incorrect results 3 | ERROR | [ ] Missing short description in doc comment 10 | ERROR | [ ] Doc comment short description must start with a | | capital letter 15 | ERROR | [ ] Doc comment is empty 29 | ERROR | [ ] There must be no space between ? and : 36 | ERROR | [ ] Doc comment short description must start with a | | capital letter 41 | ERROR | [ ] Doc comment is empty 65 | ERROR | [ ] Doc comment short description must start with a | | capital letter 72 | WARNING | [x] There must be no blank line following an inline | | comment 74 | ERROR | [ ] Doc comment is empty 108 | ERROR | [ ] Doc comment short description must start with a | | capital letter 118 | ERROR | [ ] Doc comment is empty 131 | ERROR | [ ] Doc comment short description must start with a | | capital letter 140 | ERROR | [ ] Doc comment is empty 149 | WARNING | [ ] Line exceeds 80 characters; contains 101 characters 159 | WARNING | [ ] Line exceeds 80 characters; contains 106 characters -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: .../web/vendor/drupal/pareviewsh/pareview_temp/src/GeoclusterConfig.php -------------------------------------------------------------------------- FOUND 22 ERRORS AFFECTING 22 LINES -------------------------------------------------------------------------- 14 | ERROR | [ ] Missing short description in doc comment 17 | ERROR | [ ] Class property $config_backend should use lowerCamel | | naming without underscores 19 | ERROR | [ ] Doc comment is empty 26 | ERROR | [ ] Doc comment is empty 29 | ERROR | [ ] Public method name | | "GeoclusterConfig::options_definition" is not in | | lowerCamel format 36 | ERROR | [ ] Doc comment is empty 39 | ERROR | [ ] Public method name "GeoclusterConfig::options_form" is | | not in lowerCamel format 52 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing parentheses 132 | ERROR | [ ] Doc comment is empty 135 | ERROR | [ ] Public method name | | "GeoclusterConfig::options_validate" is not in | | lowerCamel format 138 | ERROR | [ ] Doc comment is empty 141 | ERROR | [ ] Public method name "GeoclusterConfig::options_submit" | | is not in lowerCamel format 185 | ERROR | [ ] Doc comment is empty 188 | ERROR | [ ] Public method name | | "GeoclusterConfig::get_cluster_field_options" is not | | in lowerCamel format 216 | ERROR | [ ] Description for the @return value is missing 218 | ERROR | [ ] Protected method name | | "GeoclusterConfig::get_algorithm_options" is not in | | lowerCamel format 233 | ERROR | [ ] Public method name "GeoclusterConfig::get_option" is | | not in lowerCamel format 240 | ERROR | [ ] Public method name "GeoclusterConfig::set_option" is | | not in lowerCamel format 247 | ERROR | [ ] Description for the @return value is missing 249 | ERROR | [ ] Public method name "GeoclusterConfig::get_view" is not | | in lowerCamel format 256 | ERROR | [ ] Description for the @return value is missing 258 | ERROR | [ ] Public method name "GeoclusterConfig::get_display" is | | not in lowerCamel format -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: ...upal/pareviewsh/pareview_temp/src/Annotation/GeoclusterAlgorithm.php -------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------- 30 | ERROR | Class property $admin_label should use lowerCamel naming | | without underscores -------------------------------------------------------------------------- FILE: ...dor/drupal/pareviewsh/pareview_temp/src/Utility/GeoclusterHelper.php -------------------------------------------------------------------------- FOUND 41 ERRORS AND 1 WARNING AFFECTING 26 LINES -------------------------------------------------------------------------- 21 | ERROR | Description for the @return value must be on the next | | line 39 | ERROR | Doc comment short description must be on a single line, | | further text should be a separate paragraph 47 | ERROR | Parameter tags must be defined first in a doc comment 47 | ERROR | Missing parameter comment 47 | ERROR | Missing parameter type 49 | ERROR | Description for the @return value must be on the next | | line 51 | ERROR | Public method name "GeoclusterHelper::pixel_correction" | | is not in lowerCamel format 60 | ERROR | Missing parameter comment 60 | ERROR | Missing parameter type 61 | ERROR | Missing parameter comment 61 | ERROR | Missing parameter type 62 | ERROR | Missing parameter comment 62 | ERROR | Missing parameter type 64 | ERROR | Description for the @return value is missing 66 | ERROR | Public method name "GeoclusterHelper::distance_pixels" | | is not in lowerCamel format 78 | ERROR | Parameter tags must be grouped together in a doc comment 78 | ERROR | Missing parameter comment 78 | ERROR | Missing parameter type 79 | ERROR | Missing parameter comment 79 | ERROR | Missing parameter type 81 | ERROR | Description for the @return value is missing 83 | ERROR | Public method name | | "GeoclusterHelper::distance_haversine" is not in | | lowerCamel format 110 | ERROR | Parameter tags must be grouped together in a doc comment 110 | ERROR | Missing parameter comment 110 | ERROR | Missing parameter type 111 | ERROR | Missing parameter comment 111 | ERROR | Missing parameter type 113 | ERROR | Description for the @return value is missing 132 | ERROR | Parameter tags must be grouped together in a doc comment 132 | ERROR | Missing parameter comment 132 | ERROR | Missing parameter type 133 | ERROR | Missing parameter comment 133 | ERROR | Missing parameter type 135 | ERROR | Description for the @return value must be on the next | | line 138 | ERROR | Variable "R2D" starts with a capital letter, but only | | $lowerCamelCase or $snake_case is allowed 139 | ERROR | Variable "A" starts with a capital letter, but only | | $lowerCamelCase or $snake_case is allowed 141 | ERROR | Variable "R2D" starts with a capital letter, but only | | $lowerCamelCase or $snake_case is allowed 141 | ERROR | Variable "A" starts with a capital letter, but only | | $lowerCamelCase or $snake_case is allowed 142 | ERROR | Variable "A" starts with a capital letter, but only | | $lowerCamelCase or $snake_case is allowed 142 | ERROR | Variable "R2D" starts with a capital letter, but only | | $lowerCamelCase or $snake_case is allowed 146 | ERROR | Doc comment is empty 176 | WARNING | Line exceeds 80 characters; contains 87 characters -------------------------------------------------------------------------- FILE: .../vendor/drupal/pareviewsh/pareview_temp/src/Utility/GeohashUtils.php -------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES -------------------------------------------------------------------------- 14 | ERROR | Doc comment short description must be on a single line, | | further text should be a separate paragraph 53 | ERROR | Doc comment is empty 70 | ERROR | Doc comment is empty -------------------------------------------------------------------------- FILE: ...vendor/drupal/pareviewsh/pareview_temp/src/Utility/GeohashHelper.php -------------------------------------------------------------------------- FOUND 9 ERRORS AFFECTING 6 LINES -------------------------------------------------------------------------- 12 | ERROR | Doc comment is empty 17 | ERROR | Doc comment is empty 31 | ERROR | Doc comment is empty 42 | ERROR | Parameter tags must be grouped together in a doc comment 42 | ERROR | Missing parameter comment 42 | ERROR | Missing parameter type 43 | ERROR | Missing parameter comment 43 | ERROR | Missing parameter type 45 | ERROR | Description for the @return value is missing -------------------------------------------------------------------------- FILE: ...upal/pareviewsh/pareview_temp/src/Plugin/GeoclusterAlgorithmBase.php -------------------------------------------------------------------------- FOUND 40 ERRORS AND 5 WARNINGS AFFECTING 40 LINES -------------------------------------------------------------------------- 16 | ERROR | [ ] Missing short description in doc comment 26 | ERROR | [ ] Class property $field_handler should use lowerCamel | | naming without underscores 29 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters 33 | ERROR | [ ] The @var tag must be the first tag in a member | | variable comment 35 | ERROR | [ ] Class property $cluster_distance should use | | lowerCamel naming without underscores 42 | ERROR | [ ] Class property $zoom_level should use lowerCamel | | naming without underscores 49 | ERROR | [ ] The @var tag must be the first tag in a member | | variable comment 58 | ERROR | [ ] Class property $geohash_length should use lowerCamel | | naming without underscores 62 | ERROR | [ ] Missing @var tag in member variable comment 67 | ERROR | [ ] Missing @var tag in member variable comment 68 | ERROR | [ ] Class property $total_items should use lowerCamel | | naming without underscores 72 | ERROR | [ ] Missing @var tag in member variable comment 78 | ERROR | [ ] Missing parameter comment 78 | ERROR | [ ] Missing parameter type 79 | ERROR | [ ] Missing parameter comment 79 | ERROR | [ ] Missing parameter type 80 | ERROR | [ ] Missing parameter comment 80 | ERROR | [ ] Missing parameter type 83 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters 99 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmBase::pre_execute" is not in | | lowerCamel format 104 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmBase::post_execute" is not in | | lowerCamel format 124 | ERROR | [x] You must use "/**" style comments for a function | | comment 124 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmBase::after_construct" is not in | | lowerCamel format 124 | ERROR | [x] Expected 1 blank line before function; 0 found 139 | ERROR | [ ] Doc comment is empty 142 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmBase::before_pre_execute" is not | | in lowerCamel format 145 | ERROR | [ ] Doc comment is empty 148 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmBase::before_post_execute" is | | not in lowerCamel format 154 | WARNING | [ ] Line exceeds 80 characters; contains 151 characters 162 | ERROR | [ ] Doc comment is empty 165 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmBase::after_post_execute" is not | | in lowerCamel format 168 | WARNING | [ ] Line exceeds 80 characters; contains 126 characters 169 | WARNING | [ ] Line exceeds 80 characters; contains 125 characters 177 | ERROR | [ ] Missing short description in doc comment 178 | ERROR | [ ] Description for the @return value is missing 184 | ERROR | [ ] Missing short description in doc comment 185 | ERROR | [ ] Description for the @return value is missing 191 | ERROR | [ ] Missing short description in doc comment 192 | ERROR | [ ] Description for the @return value is missing 198 | ERROR | [ ] Missing short description in doc comment 199 | ERROR | [ ] Description for the @return value is missing 205 | ERROR | [ ] Missing short description in doc comment 206 | ERROR | [ ] Description for the @return value is missing 212 | ERROR | [ ] Doc comment is empty 219 | ERROR | [ ] Doc comment is empty -------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: ...reviewsh/pareview_temp/src/Plugin/Field/FieldType/GeoclusterItem.php -------------------------------------------------------------------------- FOUND 7 ERRORS AND 6 WARNINGS AFFECTING 10 LINES -------------------------------------------------------------------------- 27 | WARNING | Possible useless method overriding detected 34 | WARNING | Possible useless method overriding detected 70 | WARNING | Translatable strings must not begin or end with white | | spaces, use placeholders with t() for variables 70 | ERROR | Concatenating translatable strings is not allowed, use | | placeholders instead and only one string literal 78 | WARNING | Possible useless method overriding detected 85 | WARNING | Possible useless method overriding detected 104 | ERROR | Missing parameter comment 104 | ERROR | Missing parameter type 105 | ERROR | Missing parameter comment 105 | ERROR | Missing parameter type 107 | ERROR | Description for the @return value is missing 109 | ERROR | Private method name | | "GeoclusterItem::_geocluster_get_geohash_prefix" is not | | in lowerCamel format 122 | WARNING | Possible useless method overriding detected -------------------------------------------------------------------------- FILE: ...pareviewsh/pareview_temp/src/Plugin/GeoclusterAlgorithmInterface.php -------------------------------------------------------------------------- FOUND 29 ERRORS AFFECTING 24 LINES -------------------------------------------------------------------------- 15 | ERROR | [ ] Missing parameter comment 15 | ERROR | [ ] Missing parameter type 16 | ERROR | [ ] Missing parameter comment 16 | ERROR | [ ] Missing parameter type 17 | ERROR | [ ] Missing parameter comment 17 | ERROR | [ ] Missing parameter type 24 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmInterface::pre_execute" is not in | | lowerCamel format 29 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmInterface::post_execute" is not in | | lowerCamel format 44 | ERROR | [x] You must use "/**" style comments for a function | | comment 44 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmInterface::after_construct" is not | | in lowerCamel format 44 | ERROR | [x] Expected 1 blank line before function; 0 found 46 | ERROR | [ ] Doc comment is empty 49 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmInterface::before_pre_execute" is | | not in lowerCamel format 51 | ERROR | [ ] Doc comment is empty 54 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmInterface::before_post_execute" is | | not in lowerCamel format 56 | ERROR | [ ] Doc comment is empty 59 | ERROR | [ ] Public method name | | "GeoclusterAlgorithmInterface::after_post_execute" is | | not in lowerCamel format 64 | ERROR | [ ] Missing short description in doc comment 65 | ERROR | [ ] Description for the @return value is missing 69 | ERROR | [ ] Missing short description in doc comment 70 | ERROR | [ ] Description for the @return value is missing 74 | ERROR | [ ] Missing short description in doc comment 75 | ERROR | [ ] Description for the @return value is missing 79 | ERROR | [ ] Missing short description in doc comment 80 | ERROR | [ ] Description for the @return value is missing 84 | ERROR | [ ] Missing short description in doc comment 85 | ERROR | [ ] Description for the @return value is missing 89 | ERROR | [ ] Doc comment is empty 94 | ERROR | [ ] Doc comment is empty -------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: ...emp/src/Plugin/GeoclusterAlgorithm/PHPGeohashGeoclusterAlgorithm.php -------------------------------------------------------------------------- FOUND 9 ERRORS AND 3 WARNINGS AFFECTING 12 LINES -------------------------------------------------------------------------- 17 | ERROR | [ ] Doc comment is empty 20 | WARNING | [ ] Possible useless method overriding detected 27 | ERROR | [ ] Public method name | | "PHPGeohashGeoclusterAlgorithm::pre_execute" is not | | in lowerCamel format 54 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing | | parentheses 70 | WARNING | [ ] Possible useless method overriding detected 77 | WARNING | [ ] Possible useless method overriding detected 87 | ERROR | [ ] Public method name | | "PHPGeohashGeoclusterAlgorithm::entities_by_type" is | | not in lowerCamel format 107 | ERROR | [ ] Doc comment is empty 110 | ERROR | [ ] Public method name | | "PHPGeohashGeoclusterAlgorithm::load_entity_fields" | | is not in lowerCamel format 158 | ERROR | [ ] Missing parameter type 160 | ERROR | [ ] Missing parameter type 163 | ERROR | [ ] Public method name | | "PHPGeohashGeoclusterAlgorithm::get_geofield_with_geometry" | | is not in lowerCamel format -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: ...w_temp/src/Plugin/GeoclusterAlgorithm/GeohashGeoclusterAlgorithm.php -------------------------------------------------------------------------- FOUND 15 ERRORS AND 3 WARNINGS AFFECTING 14 LINES -------------------------------------------------------------------------- 14 | ERROR | [ ] Doc comment is empty 17 | WARNING | [ ] Possible useless method overriding detected 21 | ERROR | [ ] Doc comment is empty 24 | ERROR | [ ] Public method name | | "GeohashGeoclusterAlgorithm::pre_execute" is not in | | lowerCamel format 30 | ERROR | [ ] Public method name | | "GeohashGeoclusterAlgorithm::post_execute" is not in | | lowerCamel format 33 | WARNING | [ ] Line exceeds 80 characters; contains 119 characters 38 | WARNING | [ ] Line exceeds 80 characters; contains 124 characters 54 | ERROR | [ ] Doc comment is empty 66 | ERROR | [ ] Missing parameter comment 66 | ERROR | [ ] Missing parameter type 108 | ERROR | [x] You must use "/**" style comments for a function | | comment 108 | ERROR | [x] Expected 1 blank line before function; 0 found 124 | ERROR | [ ] Parameter $hash is not described in comment 124 | ERROR | [ ] Parameter $hash2 is not described in comment 124 | ERROR | [ ] Parameter $entities_by_geohash is not described in | | comment 127 | ERROR | [ ] Missing parameter type 129 | ERROR | [ ] Missing parameter type 153 | ERROR | [ ] Doc comment is empty -------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: ...p/src/Plugin/GeoclusterAlgorithm/MySQLGeohashGeoclusterAlgorithm.php -------------------------------------------------------------------------- FOUND 16 ERRORS AND 3 WARNINGS AFFECTING 17 LINES -------------------------------------------------------------------------- 17 | ERROR | [ ] Doc comment is empty 20 | WARNING | [ ] Possible useless method overriding detected 29 | ERROR | [ ] Public method name | | "MySQLGeohashGeoclusterAlgorithm::before_pre_execute" | | is not in lowerCamel format 45 | ERROR | [ ] Public method name | | "MySQLGeohashGeoclusterAlgorithm::pre_execute" is | | not in lowerCamel format 81 | WARNING | [ ] Possible useless method overriding detected 88 | WARNING | [ ] Possible useless method overriding detected 98 | ERROR | [ ] Missing parameter comment 100 | ERROR | [ ] Type hint "views_handler_field" missing for $field 100 | ERROR | [ ] Protected method name | | "MySQLGeohashGeoclusterAlgorithm::add_geocluster_group_by_settings" | | is not in lowerCamel format 110 | ERROR | [ ] String concat is not required here; use a single | | string instead 111 | ERROR | [ ] String concat is not required here; use a single | | string instead 117 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing | | parentheses 120 | ERROR | [ ] Doc comment is empty 123 | ERROR | [ ] Protected method name | | "MySQLGeohashGeoclusterAlgorithm::add_fields" is not | | in lowerCamel format 123 | ERROR | [ ] Arguments with default values must be at the end of | | the argument list 134 | ERROR | [ ] Doc comment is empty 137 | ERROR | [ ] Protected method name | | "MySQLGeohashGeoclusterAlgorithm::get_cluster_field_alias" | | is not in lowerCamel format 142 | ERROR | [ ] Doc comment is empty 145 | ERROR | [ ] Protected method name | | "MySQLGeohashGeoclusterAlgorithm::get_cluster_field_name" | | is not in lowerCamel format -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: ...ewsh/pareview_temp/src/Plugin/views/field/GeoclusterHandlerField.php -------------------------------------------------------------------------- FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 5 LINES -------------------------------------------------------------------------- 18 | ERROR | Missing short description in doc comment 28 | ERROR | Description for the @return value is missing 30 | WARNING | Possible useless method overriding detected 37 | WARNING | Possible useless method overriding detected 41 | ERROR | Missing short description in doc comment -------------------------------------------------------------------------- FILE: ...src/Plugin/views/display_extender/GeoclusterViewsDisplayExtender.php -------------------------------------------------------------------------- FOUND 9 ERRORS AND 1 WARNING AFFECTING 10 LINES -------------------------------------------------------------------------- 25 | ERROR | Missing short description in doc comment 30 | ERROR | Doc comment is empty 118 | ERROR | Doc comment short description must be on a single line, | | further text should be a separate paragraph 129 | ERROR | Public method name | | "GeoclusterViewsDisplayExtender::get_option" is not in | | lowerCamel format 139 | ERROR | Public method name | | "GeoclusterViewsDisplayExtender::set_option" is not in | | lowerCamel format 151 | WARNING | Line exceeds 80 characters; contains 111 characters 162 | ERROR | Description for the @return value is missing 164 | ERROR | Public method name | | "GeoclusterViewsDisplayExtender::get_view" is not in | | lowerCamel format 171 | ERROR | Description for the @return value is missing 173 | ERROR | Public method name | | "GeoclusterViewsDisplayExtender::get_display" is not in | | lowerCamel format -------------------------------------------------------------------------- FILE: ...al/pareviewsh/pareview_temp/src/GeoclusterConfigBackendInterface.php -------------------------------------------------------------------------- FOUND 7 ERRORS AFFECTING 7 LINES -------------------------------------------------------------------------- 13 | ERROR | Description for the @return value is missing 15 | ERROR | Public method name | | "GeoclusterConfigBackendInterface::get_option" is not in | | lowerCamel format 20 | ERROR | Public method name | | "GeoclusterConfigBackendInterface::set_option" is not in | | lowerCamel format 25 | ERROR | Description for the @return value is missing 27 | ERROR | Public method name | | "GeoclusterConfigBackendInterface::get_view" is not in | | lowerCamel format 32 | ERROR | Description for the @return value is missing 34 | ERROR | Public method name | | "GeoclusterConfigBackendInterface::get_display" is not in | | lowerCamel format -------------------------------------------------------------------------- FILE: ...ite1101/web/vendor/drupal/pareviewsh/pareview_temp/geocluster.module -------------------------------------------------------------------------- FOUND 12 ERRORS AND 4 WARNINGS AFFECTING 16 LINES -------------------------------------------------------------------------- 20 | 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." 21 | ERROR | Doc comment short description must be on a single line, | | further text should be a separate paragraph 34 | ERROR | Missing parameter comment 36 | ERROR | Description for the @return value is missing 38 | ERROR | Type hint | | "\Drupal\geocluster\GeoclusterConfigBackendInterface" | | missing for $config_backend 46 | ERROR | Missing parameter comment 48 | ERROR | Description for the @return value is missing 50 | ERROR | Type hint | | "\Drupal\geocluster\GeoclusterConfigBackendInterface" | | missing for $config_backend 59 | ERROR | Function return type is not void, but function is | | returning void here 83 | WARNING | Line exceeds 80 characters; contains 85 characters 107 | ERROR | If the line declaring an array spans longer than 80 | | characters, each element should be broken into its own | | line 116 | ERROR | Missing parameter comment 118 | ERROR | Description for the @return value is missing 120 | ERROR | Type hint "view" missing for $view 129 | WARNING | Line exceeds 80 characters; contains 83 characters 144 | WARNING | Line exceeds 80 characters; contains 106 characters -------------------------------------------------------------------------- FILE: ...1101/web/vendor/drupal/pareviewsh/pareview_temp/geocluster.views.inc -------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------- 22 | WARNING | Line exceeds 80 characters; contains 83 characters -------------------------------------------------------------------------- Time: 3.95 secs; Memory: 6Mb