Closed (fixed)
Project:
Custom Search
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2025 at 14:10 UTC
Updated:
11 Dec 2025 at 14:44 UTC
Jump to comment: Most recent
No CI scripts for the module.
None.
Implement Drupal CI into the module.
Configure .gitlab-ci.yml using Drupal templates.
None.
None.
None.
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
Comment #3
konot commentedHi.
I have added the Drupal CI Templates to the project and resolved as many problems as I could.
However, the only issue is with the PHPStan for a new Drupal version. The issue is that in Drupal 13, the function `node_type_get_names()` would be removed, which is used actively in the project.
I have tried locally to change it by using `\Drupal::service('entity_type.bundle.info')->getBundleLabels('node')`, but faced the issue that the function `getBundleLabels` does not exist in Drupal <=11.2.
But the `node_type_get_names()` should be fine for 10-12 Drupal.
Let me know if there are any adjustments to be made in the scripts :-)
Comment #5
just-me commentedHello,
I've resolved all the warnings in the CustomSearchBlock.php and tested it on Drupal 11.
Comment #6
just-me commentedHello,
I've finished testing the module on the Drupal 10 version. It works.
Comment #7
just-me commentedHello,
All changes in the CustomSearchBlock.php file, which are related to warnings, were reverted. It'll be resolved in a separate issue.
Error: Call to a member function getStorage() on null was fixed.
Comment #9
loon commentedThanks all, merged