Problem/Motivation

Now that gitlab has nice runnable pipelines, we should utilize these and fix up the gitlab ci.

Fix up phpcs warnings in pipeline

CommentFileSizeAuthor
#7 phpcs-done.png47.27 KBtechmantejas
#6 gitlab-ci.png45.78 KBtechmantejas
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

atowl created an issue. See original summary.

atowl’s picture

Issue tags: +phpcs, +good first issue

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

techmantejas’s picture

Assigned: Unassigned » techmantejas

Added phpcs in the gitlab-cli.yml now working on fixing the issues here.

techmantejas’s picture

StatusFileSize
new45.78 KB

Hi maintainers I have added this template, please review it

gitlab ci

techmantejas’s picture

Assigned: techmantejas » Unassigned
Status: Active » Needs review
StatusFileSize
new47.27 KB

phpcs completed

PHPCS is done, Php unit though is throwing an error.

atowl’s picture

Thanks @techmantejas

i'll get onto review this shortly.

I was thinking we could merge all these into the gitlab-resolve branch, so that #3408084 would resolve?

techmantejas’s picture

Yup, in this MR:-

  1. Updated gitlab-ci.yml to have the template for composer phpcs phpstan phpunit
  2. Fixed phpcs issues that were occuring in file

So you can consider the phpcs issue fixes in the src files of the module, that should solve things from this child issue.

atowl changed the visibility of the branch 8.x-1.x to hidden.

atowl changed the visibility of the branch 8.x-1.x to active.

atowl’s picture

Status: Needs review » Fixed

Thanks - looks like it's now passing phpcs!

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

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

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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