@ Sahana _N Also add below issue patch for the same, If you are interested to work on these issues.
19/19 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------------------------
Line src/Form/MicroPathForm.php
------ ----------------------------------------------------------------------
138 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
141 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line src/MicroPathautoGenerator.php
------ -------------------------------------------------------------------------------
159 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode:
in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use
mb_strlen() instead.
227 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ -------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line src/SiteAliasUniquifier.php
------ -------------------------------------------------------------------------------
100 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode:
in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use
mb_strlen() instead.
------ -------------------------------------------------------------------------------
[ERROR] Found 5 errors
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | interdiff_2-9.txt | 3.71 KB | suresh prabhu parkala |
| #9 | 3099658-9.patch | 6.35 KB | suresh prabhu parkala |
| #2 | 3099658-2.patch | 2.45 KB | sahana _n |
Comments
Comment #2
sahana _n commentedPlease review the patch.
Comment #3
ankush_03patch working fine !
Comment #4
ankush_03Review of the 8.x-1.x branch (commit 172f81d):
The micro_path.module does not implement hook_help(). See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... .
Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
DrupalPractice has found some issues with your code, but could be false positives.
FILE: ...01/web/vendor/drupal/pareviewsh/pareview_temp/micro_path.routing.yml
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
7 | WARNING | The administration page callback should probably use
| | "administer site configuration" - which implies the user
| | can change something - rather than "access administration
| | pages" which is about viewing but not changing
| | configurations.
--------------------------------------------------------------------------
FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/src/MicroPathHelper.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------
225 | WARNING | Unused variable $alias.
287 | WARNING | Unused variable $default_alias.
308 | WARNING | There must be no blank line following an inline comment
--------------------------------------------------------------------------
FILE: ...rupal/pareviewsh/pareview_temp/src/Form/MicroPathPatternSiteForm.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------
190 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
245 | WARNING | There must be no blank line following an inline comment
410 | WARNING | Unused variable $key.
466 | WARNING | Unused variable $id.
--------------------------------------------------------------------------
Time: 2.64 secs; 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.
This automated report was generated with PAReview.sh, your friendly project application review script.
FILE: ...00/site1101/web/vendor/drupal/pareviewsh/pareview_temp/css/admin.css
--------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------
18 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
20 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
22 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
31 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...ite1101/web/vendor/drupal/pareviewsh/pareview_temp/micro_path.module
--------------------------------------------------------------------------
FOUND 7 ERRORS AND 1 WARNING AFFECTING 6 LINES
--------------------------------------------------------------------------
5 | ERROR | [x] Function comment short description must start with
| | exactly one space
92 | ERROR | [x] Space found before comma in function call
127 | ERROR | [ ] Doc comment short description must be on a single
| | line, further text should be a separate paragraph
143 | ERROR | [ ] If the line declaring an array spans longer than 80
| | characters, each element should be broken into its
| | own line
143 | ERROR | [x] Short array syntax must be used to define arrays
147 | WARNING | [ ] Avoid backslash escaping in translatable strings
| | when possible, use "" quotes instead
147 | ERROR | [x] Short array syntax must be used to define arrays
169 | ERROR | [x] Functions must not contain multiple empty lines in a
| | row; found 2 empty lines
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...upal/pareviewsh/pareview_temp/config/install/micro_path.settings.yml
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
3 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...endor/drupal/pareviewsh/pareview_temp/src/MicroPathautoGenerator.php
--------------------------------------------------------------------------
FOUND 10 ERRORS AND 1 WARNING AFFECTING 11 LINES
--------------------------------------------------------------------------
15 | WARNING | [x] Unused use statement
52 | ERROR | [x] Data types in @param tags need to be fully
| | namespaced
61 | ERROR | [x] Parameter comment must end with a full stop
98 | ERROR | [x] Short array syntax must be used to define arrays
136 | ERROR | [x] Short array syntax must be used to define arrays
138 | ERROR | [x] Short array syntax must be used to define arrays
168 | ERROR | [x] Short array syntax must be used to define arrays
189 | ERROR | [x] Short array syntax must be used to define arrays
205 | ERROR | [x] Short array syntax must be used to define arrays
239 | ERROR | [x] Expected 1 blank line after function; 0 found
240 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: .../web/vendor/drupal/pareviewsh/pareview_temp/src/Entity/MicroPath.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
13 | ERROR | [x] There must be a single blank line after a tag group
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...or/drupal/pareviewsh/pareview_temp/src/Plugin/Condition/SiteType.php
--------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES
--------------------------------------------------------------------------
105 | ERROR | [x] Expected 1 space before "="; 0 found
133 | ERROR | [x] Expected 1 space after IF keyword; 0 found
149 | WARNING | [ ] Line exceeds 80 characters; contains 91 characters
173 | ERROR | [x] Expected 1 blank line after function; 0 found
174 | 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: ...1/web/vendor/drupal/pareviewsh/pareview_temp/src/MicroPathHelper.php
--------------------------------------------------------------------------
FOUND 62 ERRORS AND 6 WARNINGS AFFECTING 59 LINES
--------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
15 | WARNING | [x] Unused use statement
18 | WARNING | [x] Unused use statement
20 | ERROR | [x] Missing class doc comment
25 | ERROR | [ ] Missing short description in doc comment
30 | ERROR | [ ] Missing short description in doc comment
35 | ERROR | [ ] Missing short description in doc comment
40 | ERROR | [ ] Missing short description in doc comment
114 | ERROR | [x] Return type must not contain variable name "$form"
117 | ERROR | [ ] Type hint "array" missing for $form
117 | ERROR | [ ] Type hint
| | "\Drupal\Core\Entity\ContentEntityInterface" missing
| | for $entity
151 | ERROR | [x] Return type must not contain variable name
| | "$element"
154 | ERROR | [ ] Type hint "array" missing for $element
154 | ERROR | [ ] Type hint "array" missing for $context
154 | ERROR | [ ] Type hint
| | "\Drupal\Core\Entity\ContentEntityInterface" missing
| | for $entity
195 | ERROR | [x] Concat operator must be surrounded by a single space
195 | ERROR | [x] Concat operator must be surrounded by a single space
196 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
275 | ERROR | [ ] Type hint "array" missing for $form
276 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
286 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
294 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
308 | WARNING | [x] There must be no blank line following an inline
| | comment
317 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
331 | ERROR | [x] Array indentation error, expected 8 spaces but found
| | 10
332 | ERROR | [x] Array indentation error, expected 8 spaces but found
| | 10
333 | ERROR | [x] Array closing indentation error, expected 6 spaces
| | but found 8
350 | ERROR | [ ] Missing short description in doc comment
351 | ERROR | [ ] Missing parameter comment
351 | ERROR | [ ] Missing parameter type
352 | ERROR | [ ] Missing parameter comment
353 | ERROR | [ ] Description for the @return value is missing
381 | ERROR | [ ] Missing short description in doc comment
382 | ERROR | [ ] Missing parameter comment
382 | ERROR | [ ] Missing parameter type
383 | ERROR | [ ] Missing parameter comment
384 | ERROR | [ ] Missing parameter comment
385 | ERROR | [ ] Description for the @return value is missing
399 | ERROR | [ ] Missing short description in doc comment
400 | ERROR | [ ] Missing parameter comment
400 | ERROR | [ ] Missing parameter type
401 | ERROR | [ ] Missing parameter comment
402 | ERROR | [ ] Description for the @return value is missing
412 | ERROR | [ ] Missing short description in doc comment
413 | ERROR | [ ] Missing parameter comment
413 | ERROR | [ ] Missing parameter type
414 | ERROR | [ ] Missing parameter comment
415 | ERROR | [ ] Description for the @return value is missing
467 | ERROR | [x] Expected "bool" but found "boolean" for function
| | return type
485 | ERROR | [ ] Missing short description in doc comment
486 | ERROR | [ ] Missing parameter comment
487 | ERROR | [ ] Missing parameter comment
488 | ERROR | [ ] Description for the @return value is missing
508 | ERROR | [ ] Missing short description in doc comment
509 | ERROR | [ ] Missing parameter comment
510 | ERROR | [ ] Description for the @return value is missing
520 | ERROR | [ ] Missing short description in doc comment
521 | ERROR | [ ] Missing parameter comment
522 | ERROR | [ ] Missing parameter comment
523 | ERROR | [ ] Description for the @return value is missing
529 | ERROR | [ ] Missing short description in doc comment
530 | ERROR | [ ] Missing parameter comment
531 | ERROR | [ ] Missing parameter comment
532 | ERROR | [ ] Description for the @return value is missing
544 | ERROR | [x] Doc comment short description must end with a full
| | stop
544 | ERROR | [ ] Doc comment short description must be on a single
| | line, further text should be a separate paragraph
546 | ERROR | [ ] Missing parameter comment
548 | ERROR | [ ] Description for the @return value is missing
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...or/drupal/pareviewsh/pareview_temp/src/Access/MicroPathListCheck.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
19 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------
FILE: ...l/pareviewsh/pareview_temp/src/Access/MicroPathPatternSiteAccess.php
--------------------------------------------------------------------------
FOUND 1 ERROR AND 7 WARNINGS AFFECTING 8 LINES
--------------------------------------------------------------------------
6 | WARNING | [x] Unused use statement
9 | WARNING | [x] Unused use statement
10 | WARNING | [x] Unused use statement
11 | WARNING | [x] Unused use statement
12 | WARNING | [x] Unused use statement
15 | WARNING | [x] Unused use statement
16 | WARNING | [x] Unused use statement
29 | ERROR | [x] Parameter comment must end with a full stop
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...al/pareviewsh/pareview_temp/src/PathProcessor/MicroPathProcessor.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
55 | ERROR | Parameter $entity_type_manager is not described in comment
60 | ERROR | Missing parameter name
--------------------------------------------------------------------------
FILE: ...drupal/pareviewsh/pareview_temp/src/SiteAliasUniquifierInterface.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------
13 | WARNING | [ ] Line exceeds 80 characters; contains 96 characters
23 | ERROR | [x] Expected "int" but found "integer" for parameter type
37 | ERROR | [x] Expected "int" but found "integer" for parameter type
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...pal/pareviewsh/pareview_temp/src/Controller/MicroPathListBuilder.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
30 | ERROR | [x] Expected 1 blank line before function; 2 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...b/vendor/drupal/pareviewsh/pareview_temp/src/SiteAliasUniquifier.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------
12 | WARNING | [x] Unused use statement
43 | ERROR | [x] Expected
| | "\Drupal\Core\Routing\RouteProviderInterface" but
| | found "\Drupal\Core\Routing\RouteProviderInterface."
| | for @var tag in member variable comment
54 | ERROR | [ ] Missing short description in doc comment
129 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
141 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...pal/pareviewsh/pareview_temp/src/MicroPathautoGeneratorInterface.php
--------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------
26 | ERROR | [x] Additional blank lines found at end of doc comment
32 | ERROR | [x] Data types in @param tags need to be fully namespaced
34 | ERROR | [x] Expected "int" but found "integer" for parameter type
39 | ERROR | [ ] Parameter comment must start with a capital letter
40 | ERROR | [x] Parameter comment must end with a full stop
46 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/src/MicroPathFields.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
5 | ERROR | [x] Missing class doc comment
21 | ERROR | [x] The closing brace for the class must have an empty line
| | before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...dor/drupal/pareviewsh/pareview_temp/src/Form/MicroPathDeleteForm.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
18 | ERROR | [x] Expected 1 blank line before function; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...r/drupal/pareviewsh/pareview_temp/src/Form/MicroPathSettingsForm.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------
27 | ERROR | [ ] Missing short description in doc comment
93 | ERROR | [x] Short array syntax must be used to define arrays
101 | ERROR | [x] Short array syntax must be used to define arrays
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...rupal/pareviewsh/pareview_temp/src/Form/MicroPathPatternSiteForm.php
--------------------------------------------------------------------------
FOUND 38 ERRORS AND 8 WARNINGS AFFECTING 36 LINES
--------------------------------------------------------------------------
7 | WARNING | [x] Unused use statement
15 | WARNING | [x] Unused use statement
16 | WARNING | [x] Unused use statement
17 | WARNING | [x] Unused use statement
20 | WARNING | [x] Unused use statement
211 | ERROR | [x] Short array syntax must be used to define arrays
212 | ERROR | [x] Short array syntax must be used to define arrays
221 | ERROR | [x] Concat operator must be surrounded by a single space
231 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
242 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 0
243 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 0
244 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 0
244 | ERROR | [ ] Comment indentation error, expected only 6 spaces
245 | WARNING | [x] There must be no blank line following an inline
| | comment
245 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 0
245 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
261 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
342 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
349 | ERROR | [x] Missing function doc comment
372 | ERROR | [ ] Description for the @return value is missing
381 | ERROR | [ ] Missing parameter comment
383 | ERROR | [ ] Description for the @return value is missing
387 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 0
387 | ERROR | [x] 4 spaces found before inline comment; expected "//
| | if (!$this->languageManager->isMultilingual()) {"
| | but found "// if
| | (!$this->languageManager->isMultilingual()) {"
387 | ERROR | [x] Inline comments must start with a capital letter
388 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 0
388 | ERROR | [ ] Comment indentation error, expected only 4 spaces
389 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 0
389 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
400 | ERROR | [ ] Missing parameter comment
402 | ERROR | [ ] Description for the @return value is missing
419 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 0
419 | ERROR | [x] 6 spaces found before inline comment; expected "//
| | 'taxonomy_term' => 'taxonomy_term'," but found "//
| | 'taxonomy_term' => 'taxonomy_term',"
419 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
425 | ERROR | [ ] Parameter $site is not described in comment
428 | ERROR | [ ] Missing parameter comment
428 | ERROR | [ ] Missing parameter type
430 | ERROR | [ ] Description for the @return value is missing
443 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
446 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
454 | ERROR | [x] Missing function doc comment
485 | ERROR | [x] Missing function doc comment
494 | ERROR | [x] Missing function doc comment
504 | ERROR | [x] Expected 1 blank line after function; 3 found
507 | ERROR | [ ] More than 2 empty lines are not allowed
508 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 34 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...1/web/vendor/drupal/pareviewsh/pareview_temp/micro_path.services.yml
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
19 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
Time: 4.88 secs; Memory: 8Mb
Comment #5
panshulk commentedComment #6
ankush_03Comment #7
BalajiDS commentedAfter applying patch #2,
modules\contrib\micro_path\src\Form\MicroPathForm.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix now │ 50 │ Parameter $entity_manager of method │
│ │ │ Drupal\micro_path\Form\MicroPathForm::__construct() has │
│ │ │ typehint with deprecated interface │
│ │ │ Drupal\Core\Entity\EntityManagerInterface. Deprecated in │
│ │ │ drupal:8.0.0 and is removed from drupal:9.0.0. │
│ │ │ │
│ Fix with │ 138 │ Call to deprecated function drupal_set_message(). Deprecated │
│ rector │ │ in drupal:8.5.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\Core\Messenger\MessengerInterface::addMessage() │
│ │ │ instead. │
│ │ │ │
│ Fix with │ 141 │ Call to deprecated function drupal_set_message(). Deprecated │
│ rector │ │ in drupal:8.5.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\Core\Messenger\MessengerInterface::addMessage() │
│ │ │ instead. │
│ │ │ │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘
modules\contrib\micro_path\src\MicroPathHelper.php:
┌─────────┬──────┬───────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├─────────┼──────┼───────────────────────────────────────────────────────┤
│ Fix now │ 93 │ Parameter $alias_manager of method │
│ │ │ Drupal\micro_path\MicroPathHelper::__construct() has │
│ │ │ typehint with deprecated interface │
│ │ │ Drupal\Core\Path\AliasManagerInterface. Deprecated in │
│ │ │ drupal:8.8.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\path_alias\AliasManagerInterface. │
│ │ │ │
└─────────┴──────┴───────────────────────────────────────────────────────┘
modules\contrib\micro_path\src\MicroPathautoGenerator.
php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix with │ 159 │ Call to deprecated method strlen() of class │
│ rector │ │ Drupal\Component\Utility\Unicode. Deprecated in drupal:8.6.0 │
│ │ │ and is removed from drupal:9.0.0. Use mb_strlen() instead. │
│ │ │ │
│ Fix with │ 227 │ Call to deprecated function drupal_set_message(). Deprecated │
│ rector │ │ in drupal:8.5.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\Core\Messenger\MessengerInterface::addMessage() │
│ │ │ instead. │
│ │ │ │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘
modules\contrib\micro_path\src\PathProcessor\MicroPath
Processor.php:
┌─────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├─────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix now │ 67 │ Parameter $alias_manager of method │
│ │ │ Drupal\micro_path\PathProcessor\MicroPathProcessor::__constr │
│ │ │ uct() has typehint with deprecated interface │
│ │ │ Drupal\Core\Path\AliasManagerInterface. Deprecated in │
│ │ │ drupal:8.8.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\path_alias\AliasManagerInterface. │
│ │ │ │
└─────────┴──────┴──────────────────────────────────────────────────────────────┘
modules\contrib\micro_path\src\SiteAliasUniquifier.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix now │ 73 │ Parameter $alias_manager of method │
│ │ │ Drupal\micro_path\SiteAliasUniquifier::__construct() has │
│ │ │ typehint with deprecated interface │
│ │ │ Drupal\Core\Path\AliasManagerInterface. Deprecated in │
│ │ │ drupal:8.8.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\path_alias\AliasManagerInterface. │
│ │ │ │
│ Fix with │ 100 │ Call to deprecated method strlen() of class │
│ rector │ │ Drupal\Component\Utility\Unicode. Deprecated in drupal:8.6.0 │
│ │ │ and is removed from drupal:9.0.0. Use mb_strlen() instead. │
│ │ │ │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘
modules/contrib/micro_path/micro_path.info.yml:
┌──────────┬──────┬─────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼─────────────────────────────────────────────────────────────┤
│ Check │ 0 │ Add
core_version_requirement: ^8 || ^9to ││ manually │ │ modules/contrib/micro_path/micro_path.info.yml to designate │
│ │ │ that the module is compatible with Drupal 9. See │
│ │ │ https://drupal.org/node/3070687. │
│ │ │ │
└──────────┴──────┴─────────────────────────────────────────────────────────────┘
Comment #8
BalajiDS commentedComment #9
suresh prabhu parkala commentedplease review!