Fix issues reported by CSpell

Created on 8 July 2024, 5 months ago

Problem/Motivation

With the integration of GitLab CI from 📌 Add Gitlab CI to V2 of the module Active there is now a report for CSpell issues at https://git.drupalcode.org/project/activecampaign/-/jobs/2058693

CSPELL version 8.8.1
$ echo "Executing $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/.bin/cspell -c .cspell.json --show-suggestions --show-context --no-progress $_CSPELL_EXTRA $CSPELL_SEARCH"
$ $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/.bin/cspell -c .cspell.json --show-suggestions --show-context --no-progress $_CSPELL_EXTRA $CSPELL_SEARCH || EXIT_CODE=$?
./modules/activecampaign_dashboard/css/admin-menu.css:16:49     - Unknown word (Csvg)       -- data:image/svg+xml,%3Csvg%20version%3D%221.1%
	 Suggestions: [Csvs, Csv, Svg, Cvss, Scag]
./modules/activecampaign_dashboard/css/admin-menu.css:16:150    - Unknown word (Fwww)       -- xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg
	 Suggestions: [Fwiw, Fwlw, FWIW, Www, WWW]
./modules/activecampaign_dashboard/css/admin-menu.css:16:170    - Unknown word (Fsvg)       -- Fwww.w3.org%2F2000%2Fsvg%22%20x%3D%220%22%20y
	 Suggestions: [Svg, Fang, Fave, Fisv, Five]
./modules/activecampaign_dashboard/css/admin-menu.css:16:254    - Unknown word (Aspace)     -- height%3D%22288%22%20xml%3Aspace%3D%22preserve%22%3E
	 Suggestions: [Apace, Space, Hspace, Lspace, Mspace]
./modules/activecampaign_dashboard/css/admin-menu.css:16:282    - Unknown word (Cstyle)     -- D%22preserve%22%3E%3Cstyle%3E.st0%7Bfill%3A%23
	 Suggestions: [Style, Mstyle, Chyle, coyle, Coyle]
./modules/activecampaign_dashboard/css/admin-menu.css:16:297    - Unknown word (Bfill)      -- %3E%3Cstyle%3E.st0%7Bfill%3A%23356ae6%7D%3C%2Fstyle
	 Suggestions: [bill, Bill, Brill, Fill, Bail]
./modules/activecampaign_dashboard/css/admin-menu.css:16:322    - Unknown word (Fstyle)     -- Bfill%3A%23356ae6%7D%3C%2Fstyle%3E%3Cpath%20class%3D
	 Suggestions: [Style, Mstyle, Ftype, Fatale, Fetile]
./modules/activecampaign_dashboard/css/admin-menu.css:16:333    - Unknown word (Cpath)      -- ae6%7D%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22
	 Suggestions: [cath, Cath, Path, Mpath, Xpath]
./modules/activecampaign_dashboard/css/admin-menu.css:16:607    - Unknown word (Cpath)      -- 07%202.5z%22%2F%3E%3Cpath%20class%3D%22st0%22
	 Suggestions: [cath, Cath, Path, Mpath, Xpath]
./modules/activecampaign_dashboard/css/admin-menu.css:16:920    - Unknown word (Fsvg)       -- 5-9.4z%22%2F%3E%3C%2Fsvg%3E");
	 Suggestions: [Svg, Fang, Fave, Fisv, Five]
./modules/activecampaign_dashboard/css/admin-menu.css:17:41     - Unknown word (Csvg)       -- data:image/svg+xml,%3Csvg%20version%3D%221.1%
	 Suggestions: [Csvs, Csv, Svg, Cvss, Scag]
./modules/activecampaign_dashboard/css/admin-menu.css:17:142    - Unknown word (Fwww)       -- xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg
	 Suggestions: [Fwiw, Fwlw, FWIW, Www, WWW]
./modules/activecampaign_dashboard/css/admin-menu.css:17:162    - Unknown word (Fsvg)       -- Fwww.w3.org%2F2000%2Fsvg%22%20x%3D%220%22%20y
	 Suggestions: [Svg, Fang, Fave, Fisv, Five]
./modules/activecampaign_dashboard/css/admin-menu.css:17:246    - Unknown word (Aspace)     -- height%3D%22288%22%20xml%3Aspace%3D%22preserve%22%3E
	 Suggestions: [Apace, Space, Hspace, Lspace, Mspace]
./modules/activecampaign_dashboard/css/admin-menu.css:17:274    - Unknown word (Cstyle)     -- D%22preserve%22%3E%3Cstyle%3E.st0%7Bfill%3A%23
	 Suggestions: [Style, Mstyle, Chyle, coyle, Coyle]
./modules/activecampaign_dashboard/css/admin-menu.css:17:289    - Unknown word (Bfill)      -- %3E%3Cstyle%3E.st0%7Bfill%3A%23356ae6%7D%3C%2Fstyle
	 Suggestions: [bill, Bill, Brill, Fill, Bail]
./modules/activecampaign_dashboard/css/admin-menu.css:17:314    - Unknown word (Fstyle)     -- Bfill%3A%23356ae6%7D%3C%2Fstyle%3E%3Cpath%20class%3D
	 Suggestions: [Style, Mstyle, Ftype, Fatale, Fetile]
./modules/activecampaign_dashboard/css/admin-menu.css:17:325    - Unknown word (Cpath)      -- ae6%7D%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22
	 Suggestions: [cath, Cath, Path, Mpath, Xpath]
./modules/activecampaign_dashboard/css/admin-menu.css:17:599    - Unknown word (Cpath)      -- 07%202.5z%22%2F%3E%3Cpath%20class%3D%22st0%22
	 Suggestions: [cath, Cath, Path, Mpath, Xpath]
./modules/activecampaign_dashboard/css/admin-menu.css:17:912    - Unknown word (Fsvg)       -- 5-9.4z%22%2F%3E%3C%2Fsvg%3E");
	 Suggestions: [Svg, Fang, Fave, Fisv, Five]
./modules/activecampaign_dashboard/src/Form/ActiveCampaignCampaigns.php:39:24     - Unknown word (sdate)      -- $campaign->sdate,
	 Suggestions: [sate, sdote, skate, slate, spate]
./modules/activecampaign_dashboard/src/Form/ActiveCampaignCampaigns.php:41:45     - Unknown word (uniqueopens) -- convertToRate($campaign->uniqueopens, $campaign->send_amt
	 Suggestions: [uniqueness]
./modules/activecampaign_dashboard/src/Form/ActiveCampaignCampaigns.php:42:45     - Unknown word (linkclicks)  -- convertToRate($campaign->linkclicks, $campaign->send_amt
	 Suggestions: []
./modules/activecampaign_dashboard/src/Form/ActiveCampaignCampaigns.php:43:45     - Unknown word (hardbounces) -- convertToRate($campaign->hardbounces, $campaign->send_amt
	 Suggestions: [hardbound]
./modules/activecampaign_dashboard/src/Form/ActiveCampaignContacts.php:38:23     - Unknown word (cdate)      -- $contact->cdate,
	 Suggestions: [cate, cdata, crate, CDATA, date]
./modules/activecampaign_webform/src/Plugin/WebformHandler/ActiveCampaignFormHandler.php:120:81    - Unknown word (PERS)       -- code> or <code>field[%PERS_1%,0]: '[field_machine
	 Suggestions: [PRES, Pres, PARS, PEAS, PECS]
./README.md:25:12     - Unknown word (webformhandler) -- To use the webformhandler, you need to specify
	 Suggestions: []
./README.md:34:33     - Unknown word (PERS)           -- Personalization Tag: `field[%PERS_1%,0]: '[webform_field
	 Suggestions: [PRES, Pres, PARS, PEAS, PECS]
./src/ActiveCampaignApi.php:56:50     - Unknown word (getforms)   -- activeCampaignSDK->api('form/getforms');
	 Suggestions: [getformat, getFormat, reforms, germs, gform]
CSpell: Files checked: 34, Issues found: 29 in 6 files.

Steps to reproduce

https://git.drupalcode.org/project/activecampaign/-/jobs/2058693

Proposed resolution

Fix the issues and create a merge request.

Review the changes and merge the MR.

Remaining tasks

Add code and review the changes.

📌 Task
Status

RTBC

Version

2.0

Component

Code

Created by

🇧🇪Belgium dtfabio Ninove

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

Merge Requests

Comments & Activities

  • Issue created by @dtfabio
  • First commit to issue fork.
  • Assigned to diwakar07
  • Merge request !18Issue #3459825: Fixed cspell issues. → (Open) created by diwakar07
  • Pipeline finished with Success
    5 months ago
    Total: 145s
    #218643
  • Status changed to Needs review 5 months ago
  • 🇮🇳India diwakar07

    Hi,

    Created MR !18 that fixes the cspell issues.
    Please review.

  • Issue was unassigned.
  • Status changed to RTBC 5 months ago
  • 🇧🇪Belgium dtfabio Ninove

    Hi Diwakar,

    I checked the MR and the code looks good, pipline is also green so thanks for addressing the CSpell issues.

    I will merge the change after all pipline issues are resolved in their respective brances.

    This is to avoid unnecessary merge conflicts for the people who are implementing the changes.

    Greetings,

    Fabio

Production build 0.71.5 2024