CSpell: .install,.module etc should be treated as PHP so 'varchar' is not treated as a spelling mistake

Migrated issue

Reported by: elc

Related to !317 (merged)

Problem/Motivation

Since mid December 2024 the word "varchar" has been flagged as a spelling mistake in many contrib projects. This is a reserved word used thousands of times in many projects and core. It seems to have been erroneously removed back on July 10th 2024, but only affected tests in the past 3-4 weeks after the dictionary was rebuild.

There are many other words that have been removed in this commit:
drupal@09020e6b

Original issue and linked issue
- #3493141: Bump cspell to 8.16.1
- #3460114: Update JavaScript dependencies for Drupal 11.0-rc

Steps to reproduce

Run a test pipeline with cspell including a varchar field in the hook_schema() of a contrib module. Or run cspell on Drupal Core.

Proposed resolution

  • Review words that have been removed
  • Add words that should not have been removed back into the dictionary or drupal-dictionary

Remaining tasks

Add the following words to the appropriate dictionary

  • varchar

User interface changes

n/a

Introduced terminology

n/a

API changes

n/a

Data model changes

n/a

Release notes snippet

Related issue: Issue #3460114

Related issue: Issue #3494834

Related issue: Issue #3495674

Related issue: Issue #3494858

Related issue: Issue #3493141

Edited Feb 12, 2026 by drupalbot
Assignee Loading
Time tracking Loading