--------------------------------------------------------------------------------
  58 | ERROR   | The array declaration extends to column 110 (the limit is 80).
     |         | The array content should be split up over multiple lines
  99 | ERROR   | Missing short description in doc comment
 100 | ERROR   | Missing parameter comment
 100 | ERROR   | Missing parameter type
 101 | ERROR   | Missing parameter comment
 102 | ERROR   | Missing parameter comment
 103 | ERROR   | Description for the @return value is missing
 310 | ERROR   | Description for the @return value is missing
 329 | ERROR   | Missing parameter comment
 329 | ERROR   | Missing parameter type
 616 | WARNING | Line exceeds 80 characters; contains 82 characters
 629 | ERROR   | Missing parameter comment
 630 | ERROR   | Missing parameter comment
 654 | ERROR   | Missing parameter comment
 654 | ERROR   | Missing parameter type
 656 | ERROR   | Description for the @return value is missing
 672 | ERROR   | Missing parameter comment
 672 | ERROR   | Missing parameter type
 674 | ERROR   | Description for the @return value is missing
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

sonam_sharma created an issue. See original summary.

sonam_sharma’s picture

Issue summary: View changes
StatusFileSize
new1.16 KB
froboy’s picture

Issue summary: View changes

Hi @sonam_sharma, thanks and welcome! We appreciate you testing this project, but if you're running automated tests could you please ensure you're making high-value contributions? Unsolicited one-line patches are appreciated, but can also be considered "gaming the system".

We appreciate contributions, but we request that you:

1. open an MR with it instead.
2. Show logs that you're resolving linting issues for the entire project instead of just a single file.

Thanks.

froboy’s picture

Issue summary: View changes
Status: Active » Needs work
sonam_sharma’s picture

Title: missing parameter type » Fix the issues reported by phpcs
Issue summary: View changes
StatusFileSize
new3.62 KB

hello @froboy,
I have fixed remaining issues reported by phpcs.
please review the patch

froboy’s picture

@sonam_sharma thanks, that's closer. please show your work by pasting in the phpcs command that you ran to get those results so we can validate. Also, see item 1 in #3 above - this should be in a Merge Request instead of a patch. Learning the MR process will help you help others even better! Thanks.

froboy’s picture

Issue summary: View changes

@sonam_sharmaI see the merge request open, but it looks like there is no code pushed to the branch.

Now that the issue fork is open, you'll need to use the "Show Commands" link above to connect the branch to your local and commit the changes in the patch. Alternatively, you could use the GitLab Web IDE to spin up a copy of the branch, upload the patch, apply it, and commit it.

Thanks for going through the process with us. Please let me know if you have any questions.

bharath-kondeti made their first commit to this issue’s fork.

bharath-kondeti’s picture

Status: Needs work » Needs review

hello @froboy, Updated the patch changes into the merge request. Please review the same.
For verified used this command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/openy_carnation

avpaderno’s picture

Assigned: sonam_sharma » Unassigned
Category: Bug report » Task
Status: Needs review » Needs work
Issue tags: +Coding standards, +Needs issue summary update

The issue summary should always describe what the issue is trying to fix and, in the case of coding standards issues, show which command and arguments have been used and which report that command shown. In this way, project maintainers can verify the patch/MR fixes all the warnings/errors.

podarok made their first commit to this issue’s fork.

podarok’s picture

Version: 3.0.x-dev » 3.0.8
Status: Needs work » Fixed

tnx

Status: Fixed » Closed (fixed)

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