Problem/Motivation

CSpell now reports three incorrect words, when running Core 11.3 and CSpell 9.2

phpcs.xml:9:81      - Unknown word (sirbrillig) -- coder_sniffer/,../../sirbrillig/phpcs-variable-analysis
	 Suggestions: []
scheduler.install:88:39     - Unknown word (incase)     -- not be necessary but incase the entity db tables
	 Suggestions: [incas, incare, incise, incuse, incased]
tests/src/Functional/SchedulerHooksLegacyTest.php:429:40    - Unknown word (colour)     -- introduce a different colour.
	 Suggestions: [color, cooler, colo, calor, cloud]
tests/src/Functional/SchedulerHooksTest.php:516:40    - Unknown word (colour)     -- introduce a different colour - Blue.
	 Suggestions: [color, cooler, colo, calor, cloud]
CSpell: Files checked: 202, Issues found: 4 in 4 files.
The number of distinct unrecognised/misspelled words is 3
------------
colour
incase
sirbrillig
------------

See this job run on 25 Dec

Previously, when running Core 11.2 and CSpell 8.19 there were no errors. See this job run on 21 Dec

Issue fork scheduler-3565951

Command icon Show commands

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

jonathan1055 created an issue. See original summary.

jonathan1055’s picture

Issue summary: View changes

Two of the words (colour and sirbrillig) were in the Core 11.2.10 dictionary.txt but not in the corresponding 11.3.1 file

jonathan1055’s picture

Issue summary: View changes

The word incase is not in either of the two core dictionariy files, not even at 11.2.

In the pipeline, in cspell version 9.2.2 it is in the cpp dictionary, but this dictionary is not used here either. So I have no idea how the job used to pass previously.

jonathan1055’s picture

The word "incase" used to be in the en_us dictionary, but it has been removed in a recent update. Before we had:

Drupal version : 11.2.8                                                      
GITLAB_TEMPLATES_VERSION = 1.12.1
CSpell version 8.19.4
Word   F Dictionary Dictionary Location
incase * cpp        node_modules/@cspell/dict-cpp/dict/cpp.txt
incase * en_us*     node_modules/@cspell/dict-en_us/en_US.trie.gz

https://git.drupalcode.org/issue/scheduler-3565951/-/jobs/7908130

Latest - the word is only in the cpp dictionary, which is not used in our configuration:

Drupal version : 11.3.1                                                 
GITLAB_TEMPLATES_VERSION = 1.13.0, 1.13.x-latest, 1.x-latest, default-ref
CSpell version 9.2.2
Word   F Dictionary Dictionary Location                          
incase * cpp        node_modules/@cspell/dict-cpp/dict/cpp.txt.gz

https://git.drupalcode.org/project/scheduler/-/jobs/7908073

  • jonathan1055 committed 96c7776f on 2.x
    #3565951 Fix spelling - words dropped from dictionaries in Core 11.3 /...

jonathan1055’s picture

Status: Active » Fixed

Fixed in 2.x and 1.x

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.