Fix the issues reported by phpcs

Created on 7 July 2023, 12 months ago
Updated 7 June 2024, 21 days ago

Problem/Motivation

FILE: ...earch_api_embeddings/src/Plugin/search_api/processor/Word2VecProcessor.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------
94 | WARNING | #options values usually have to run through t() for translation
95 | WARNING | #options values usually have to run through t() for translation
--------------------------------------------------------------------------------

Time: 71ms; Memory: 10MB

Steps to reproduce

Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig search_api_embeddings/

Remaining tasks

Patch review

šŸ“Œ Task
Status

RTBC

Version

1.0

Component

Code

Created by

šŸ‡®šŸ‡³India urvashi_vora Madhya Pradesh, India

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

  • Issue created by @urvashi_vora
  • Status changed to RTBC 21 days ago
  • Hi @urvashi_vora,

    Applied your patch successfully and confirmed fixed the issue.

    search_api_embeddings git:(1.0.x) curl https://www.drupal.org/files/issues/2023-07-07/coding-standard-fixes_13.patch | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   846  100   846    0     0   2713      0 --:--:-- --:--:-- --:--:--  2858
    patching file src/Plugin/search_api/processor/Word2VecProcessor.php
    āžœ  search_api_embeddings git:(1.0.x) āœ— cd ..
    āžœ  contrib git:(master) āœ— phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig search_api_embeddings
    āžœ  contrib git:(master) āœ—

    Will now move this to RTBC

    Thanks,
    Jake

Production build 0.69.0 2024