- 🇮🇳India abhinavk
I tested patch #2 and got below errors in drupal-check. Autocomplete gives error while checking in local, in local dblog, due these drupal-check errors. So I have fixed them.
$ drupal-check ckeditor_link_with_text
3/3 [============================] 100%------ ---------------------------------------------------------------------------------------------------------------
Line src\Controller\AutocompleteController.php
------ ---------------------------------------------------------------------------------------------------------------
30 Property Drupal\ckeditor_link_with_text\Controller\AutocompleteController::$entityQuery has unknown class
Drupal\Core\Entity\Query\QueryFactory as its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
37 Property Drupal\ckeditor_link_with_text\Controller\AutocompleteController::$aliasManager has unknown class
Drupal\Core\Path\AliasManager as its type.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
47 PHPDoc tag @param for parameter $aliasManager with type Drupal\Core\Path\AliasManagerInterface is not subtype
of native type Drupal\Core\Path\AliasManager.
47 Parameter $aliasManager of method
Drupal\ckeditor_link_with_text\Controller\AutocompleteController::__construct() has invalid type
Drupal\Core\Path\AliasManager.
47 Parameter $aliasManager of method
Drupal\ckeditor_link_with_text\Controller\AutocompleteController::__construct() has invalid type
Drupal\Core\Path\AliasManagerInterface.
47 Parameter $entityQuery of method
Drupal\ckeditor_link_with_text\Controller\AutocompleteController::__construct() has invalid type
Drupal\Core\Entity\Query\QueryFactory.
47 Parameter $entityQuery of method
Drupal\ckeditor_link_with_text\Controller\AutocompleteController::__construct() has invalid type
Drupal\Core\Entity\Query\QueryFactory.
79 Call to method get() on an unknown class Drupal\Core\Entity\Query\QueryFactory.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
81 Function db_like not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
83 Function entity_load_multiple not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
85 Call to method getAliasByPath() on an unknown class Drupal\Core\Path\AliasManager.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ --------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------
Line src\Form\LinkTextEditorDialog.php
------ ---------------------------------------------------------------
43 PHPDoc tag @param references unknown parameter: $file_storage
------ ---------------------------------------------------------------[ERROR] Found 12 errors
- Status changed to RTBC
over 1 year ago 12:46pm 12 April 2023 - 🇮🇳India Chandra Gowsalya Kannan
Applied patch #3 which is making module D10 compatible and it is solving all drupal check errors.
Checked in D9.5 and D10 Php 8.1
Refer attached screenshot for functionality check
Moving to RTBC :) - First commit to issue fork.
Tushar1 → changed the visibility of the branch 3296763-automated-drupal-10 to hidden.