Add CSPELL integration and fix spelling errors

Created on 6 March 2024, 7 months ago
Updated 20 March 2024, 6 months ago

Problem/Motivation

Drupal core 9.1.0-alpha1 and later supports automated code spell checking using cspell. So, this issue has been opened to integrate it and fix spelling errors.

⛔ Spelling errors

./autotagger.info.yml:1:7       - Unknown word (autotagger) -- name: autotagger
	 Suggestions: [automaker]
./autotagger.info.yml:4:10      - Unknown word (autotagger) -- package: autotagger
	 Suggestions: [automaker]
./autotagger.module:5:17      - Unknown word (autotagger) -- * Contains the autotagger.module.
	 Suggestions: [automaker]
./autotagger.module:15:10     - Unknown word (autotagger) -- function autotagger_help($route_name, RouteMatchI
	 Suggestions: [automaker]
./autotagger.module:17:33     - Unknown word (autotagger) -- module help for the autotagger module.
	 Suggestions: [automaker]
./autotagger.module:18:21     - Unknown word (autotagger) -- case 'help.page.autotagger':
	 Suggestions: [automaker]
./autotagger.module:31:10     - Unknown word (autotagger) -- function autotagger_form_alter(&$form, FormStateI
	 Suggestions: [automaker]
./autotagger.module:32:31     - Unknown word (Autotagger) -- var \Drupal\autotagger\AutotaggerPluginManager $manager
	 Suggestions: [Automaker]
./autotagger.module:48:31     - Unknown word (Autotagger) -- var \Drupal\autotagger\AutotaggerPluginManager $manager
	 Suggestions: [Automaker]
./autotagger.services.yml:2:18      - Unknown word (autotagger) -- plugin.manager.autotagger:
	 Suggestions: [automaker]
./autotagger.services.yml:3:19      - Unknown word (autotagger) -- class: Drupal\autotagger\AutotaggerPluginManager
	 Suggestions: [automaker]
./autotagger.services.yml:3:30      - Unknown word (Autotagger) -- class: Drupal\autotagger\AutotaggerPluginManager
	 Suggestions: [Automaker]
./composer.json:2:19      - Unknown word (autotagger) -- "name": "drupal/autotagger",
	 Suggestions: [automaker]
./config/schema/autotagger.schema.yml:1:25      - Unknown word (autotagger) -- node.type.*.third_party.autotagger:
	 Suggestions: [automaker]
./config/schema/autotagger.schema.yml:3:11      - Unknown word (Autotagger) -- label: 'Autotagger options'
	 Suggestions: [Automaker]
./modules/autotagger_search_in_text/autotagger_search_in_text.info.yml:4:10      - Unknown word (autotagger) -- package: autotagger
	 Suggestions: [automaker]
./modules/autotagger_search_in_text/autotagger_search_in_text.info.yml:8:5       - Unknown word (autotagger) -- - autotagger:autotagger
	 Suggestions: [automaker]
./modules/autotagger_search_in_text/autotagger_search_in_text.info.yml:8:16      - Unknown word (autotagger) -- - autotagger:autotagger
	 Suggestions: [automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:3:18      - Unknown word (autotagger) -- namespace Drupal\autotagger_search_in_text\Plugin
	 Suggestions: [automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:3:51      - Unknown word (Autotagger) -- search_in_text\Plugin\Autotagger;
	 Suggestions: [Automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:5:12      - Unknown word (autotagger) -- use Drupal\autotagger\AutotaggerPluginBase
	 Suggestions: [automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:5:23      - Unknown word (Autotagger) -- use Drupal\autotagger\AutotaggerPluginBase;
	 Suggestions: [Automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:21:33     - Unknown word (autotagger) -- implementation of the autotagger.
	 Suggestions: [automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:23:5      - Unknown word (Autotagger) -- * @Autotagger(
	 Suggestions: [Automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:30:40     - Unknown word (Autotagger) -- SearchInTextFields extends AutotaggerPluginBase implements
	 Suggestions: [Automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:69:88     - Unknown word (autotagger) -- getThirdPartySetting('autotagger', 'search_in_text_fields
	 Suggestions: [automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:70:12     - Unknown word (autotagger) -- $form['autotagger'] = [
	 Suggestions: [automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:73:20     - Unknown word (Autotagger) -- '#title' => 'Autotagger : ' . $this->label(
	 Suggestions: [Automaker]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:199:6     - Unknown word (autotag)    -- $autotag_values = $node_type
	 Suggestions: [autoing, automat, automata, automate, automats]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:201:16    - Unknown word (autotag)    -- $source = $autotag_values['autotagger_source
	 Suggestions: [autoing, automat, automata, automate, automats]
./modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php:202:21    - Unknown word (autotag)    -- $destination = $autotag_values['autotagger_destinatio
	 Suggestions: [autoing, automat, automata, automate, automats]
./README.md:1:3       - Unknown word (Autotagger) -- # Autotagger
	 Suggestions: [Automaker]
./README.md:35:10     - Unknown word (Hurtado)    -- - Alvaro Hurtado - [alvar0hurtad0](https
	 Suggestions: [horatio, Horatio, hurd, Hurd, Hurt]
./README.md:35:21     - Unknown word (alvar)      -- - Alvaro Hurtado - [alvar0hurtad0](https://alvar
	 Suggestions: [alar, alva, avar, altar, alvah]
./README.md:35:27     - Unknown word (hurtad)     -- Alvaro Hurtado - [alvar0hurtad0](https://alvar0hurtad
	 Suggestions: [hurd, hurt, horta, hurts, hartal]
./src/Annotation/Autotagger.php:3:18      - Unknown word (autotagger) -- namespace Drupal\autotagger\Annotation;
	 Suggestions: [automaker]
./src/Annotation/Autotagger.php:8:12      - Unknown word (autotagger) -- * Defines autotagger annotation object.
	 Suggestions: [automaker]
./src/Annotation/Autotagger.php:12:7      - Unknown word (Autotagger) -- class Autotagger extends Plugin {
	 Suggestions: [Automaker]
./src/AutotaggerInterface.php:3:18      - Unknown word (autotagger) -- namespace Drupal\autotagger;
	 Suggestions: [automaker]
./src/AutotaggerInterface.php:8:18      - Unknown word (autotagger) -- * Interface for autotagger plugins.
	 Suggestions: [automaker]
./src/AutotaggerInterface.php:10:11     - Unknown word (Autotagger) -- interface AutotaggerInterface {
	 Suggestions: [Automaker]
./src/AutotaggerInterface.php:41:21     - Unknown word (autotagger) -- * @param \Drupal\autotagger\FormStateInterface
	 Suggestions: [automaker]
./src/AutotaggerPluginBase.php:3:18      - Unknown word (autotagger) -- namespace Drupal\autotagger;
	 Suggestions: [automaker]
./src/AutotaggerPluginBase.php:8:19      - Unknown word (autotagger) -- * Base class for autotagger plugins.
	 Suggestions: [automaker]
./src/AutotaggerPluginBase.php:10:16     - Unknown word (Autotagger) -- abstract class AutotaggerPluginBase extends PluginBase
	 Suggestions: [Automaker]
./src/AutotaggerPluginBase.php:10:67     - Unknown word (Autotagger) -- PluginBase implements AutotaggerInterface {
	 Suggestions: [Automaker]
./src/AutotaggerPluginManager.php:3:18      - Unknown word (autotagger) -- namespace Drupal\autotagger;
	 Suggestions: [automaker]
./src/AutotaggerPluginManager.php:10:4      - Unknown word (Autotagger) -- * Autotagger plugin manager.
	 Suggestions: [Automaker]
./src/AutotaggerPluginManager.php:12:7      - Unknown word (Autotagger) -- class AutotaggerPluginManager extends
	 Suggestions: [Automaker]
./src/AutotaggerPluginManager.php:15:17     - Unknown word (Autotagger) -- * Constructs AutotaggerPluginManager object
	 Suggestions: [Automaker]
./src/AutotaggerPluginManager.php:27:15     - Unknown word (Autotagger) -- 'Plugin/Autotagger',
	 Suggestions: [Automaker]
./src/AutotaggerPluginManager.php:30:15     - Unknown word (autotagger) -- 'Drupal\autotagger\AutotaggerInterface
	 Suggestions: [automaker]
./src/AutotaggerPluginManager.php:30:26     - Unknown word (Autotagger) -- 'Drupal\autotagger\AutotaggerInterface',
	 Suggestions: [Automaker]
./src/AutotaggerPluginManager.php:31:15     - Unknown word (autotagger) -- 'Drupal\autotagger\Annotation\Autotagger
	 Suggestions: [automaker]
./src/AutotaggerPluginManager.php:33:23     - Unknown word (autotagger) -- $this->alterInfo('autotagger_info');
	 Suggestions: [automaker]
./src/AutotaggerPluginManager.php:34:45     - Unknown word (autotagger) -- CacheBackend($cache_backend, 'autotagger_plugins');
	 Suggestions: [automaker]
./tests/src/Kernel/SearchInTextFieldsTest.php:3:24      - Unknown word (autotagger) -- namespace Drupal\Tests\autotagger\Kernel;
	 Suggestions: [automaker]
./tests/src/Kernel/SearchInTextFieldsTest.php:19:35     - Unknown word (plygin)     -- Search in text fields plygin.
	 Suggestions: [plugin, plain, pidgin, piggin, plying]
./tests/src/Kernel/SearchInTextFieldsTest.php:21:11     - Unknown word (autotagger) -- * @group autotagger
	 Suggestions: [automaker]
./tests/src/Kernel/SearchInTextFieldsTest.php:30:6      - Unknown word (autotagger) -- 'autotagger',
	 Suggestions: [automaker]
./tests/src/Kernel/SearchInTextFieldsTest.php:31:6      - Unknown word (autotagger) -- 'autotagger_search_in_text',
	 Suggestions: [automaker]
./tests/src/Kernel/SearchInTextFieldsTest.php:79:43     - Unknown word (testuser)   -- this->createUser([], 'testuser');
	 Suggestions: [tester, testier, testes, tsetse, testees]
./tests/src/Kernel/SearchInTextFieldsTest.php:83:54     - Unknown word (Bahamontes) -- vocabulary, ['name' => 'Bahamontes']);
	 Suggestions: []
./tests/src/Kernel/SearchInTextFieldsTest.php:84:54     - Unknown word (Perico)     -- vocabulary, ['name' => 'Perico']);
	 Suggestions: [peirce, Peirce, Peri, Parco, Perch]
./tests/src/Kernel/SearchInTextFieldsTest.php:85:54     - Unknown word (Indurain)   -- vocabulary, ['name' => 'Indurain']);
	 Suggestions: [Indrawn, Ingrain, Indurate, Indurating, Induration]
./tests/src/Kernel/SearchInTextFieldsTest.php:86:54     - Unknown word (Valverde)   -- vocabulary, ['name' => 'Valverde']);
	 Suggestions: [Valved, valerie, Valerie, Clavered, Slavered]
./tests/src/Kernel/SearchInTextFieldsTest.php:87:54     - Unknown word (Zugasti)    -- vocabulary, ['name' => 'Zugasti']);
	 Suggestions: [bugatti, Bugatti, zug's, Zug's]
./tests/src/Kernel/SearchInTextFieldsTest.php:144:38    - Unknown word (autotagger) -- setThirdPartySetting('autotagger', 'search_in_text_fields
	 Suggestions: [automaker]
./tests/src/Kernel/SearchInTextFieldsTest.php:159:10    - Unknown word (Bahamontes) -- 'Bahamontes is the biggest idol
	 Suggestions: []
./tests/src/Kernel/SearchInTextFieldsTest.php:160:11    - Unknown word (Bahamontes) -- ['Bahamontes'],
	 Suggestions: []
./tests/src/Kernel/SearchInTextFieldsTest.php:161:11    - Unknown word (Perico)     -- ['Perico'],
	 Suggestions: [peirce, Peirce, Peri, Parco, Perch]
./tests/src/Kernel/SearchInTextFieldsTest.php:164:10    - Unknown word (Valverde)   -- 'Valverde is from Murcia, but
	 Suggestions: [Valved, valerie, Valerie, Clavered, Slavered]
./tests/src/Kernel/SearchInTextFieldsTest.php:164:39    - Unknown word (Zugasti)    -- is from Murcia, but Zugasti is from Lezo',
	 Suggestions: [bugatti, Bugatti, zug's, Zug's]
./tests/src/Kernel/SearchInTextFieldsTest.php:164:55    - Unknown word (Lezo)       -- but Zugasti is from Lezo',
	 Suggestions: [lego, Lego, leno, Leno, Leto]
./tests/src/Kernel/SearchInTextFieldsTest.php:165:11    - Unknown word (Valverde)   -- ['Valverde', 'Zugasti'],
	 Suggestions: [Valved, valerie, Valerie, Clavered, Slavered]
./tests/src/Kernel/SearchInTextFieldsTest.php:165:23    - Unknown word (Zugasti)    -- ['Valverde', 'Zugasti'],
	 Suggestions: [bugatti, Bugatti, zug's, Zug's]
./tests/src/Kernel/SearchInTextFieldsTest.php:166:11    - Unknown word (Bahamontes) -- ['Bahamontes', 'Perico'],
	 Suggestions: []
./tests/src/Kernel/SearchInTextFieldsTest.php:166:25    - Unknown word (Perico)     -- ['Bahamontes', 'Perico'],
	 Suggestions: [peirce, Peirce, Peri, Parco, Perch]
./tests/src/Kernel/SearchInTextFieldsTest.php:215:53    - Unknown word (referece)   -- getValue() as $term_referece) {
	 Suggestions: [referee, reference, refreeze, reerect, referer]
./tests/src/Kernel/SearchInTextFieldsTest.php:216:34    - Unknown word (referece)   -- id = array_pop($term_referece);
	 Suggestions: [referee, reference, refreeze, reerect, referer]
CSpell: Files checked: 13, Issues found: 80 in 13 files
$ WORDS_FILE=_cspell_unrecognized_words.txt
$ touch $CI_PROJECT_DIR/$WORDS_FILE
$ if [ "$EXIT_CODE" != "" ]; then # collapsed multi-line command
CSpell: Files checked: 13, Issues found: 80 in 13 files

🔌 Failed cspell pipeline

Documentation: https://www.drupal.org/docs/develop/development-tools/cspell

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇸Spain gxleano Cáceres

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024