Problem/Motivation

There are many phpstan issue and phpcs issues reported by gitlab CI, hence as per drupal standard these issues should be fixed.
https://git.drupalcode.org/issue/config_update-3452453/-/pipelines/241400

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

deepakkm created an issue. See original summary.

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

ankitv18’s picture

Status: Needs work » Needs review

Please review MR!14

deepak5423’s picture

Status: Needs review » Reviewed & tested by the community

Hi,

I have tested the MR !14.
All the issues of phpstan and phpcs are fixed.
Moving the issue to RTBC.

Thanks.

ankitv18’s picture

Title: Fix phpstan and phpcs issues reported in gitlab CI » Fix validate pipeline
ankitv18’s picture

Validated on local with these changes ~~ functionalities are working fine
Enable module

Report page
Report page

vishalkhode’s picture

Status: Reviewed & tested by the community » Needs work

Requested some changes, hence moving it back to Needs Work. Also, let's not skip eslint and fix that as well. If that's a major change and required more changes, we can skip eslint and cslint for now and handle that in a separate ticket and limit this ticket for PHPCS and PHPStan fixes only.

ankitv18’s picture

Status: Needs work » Needs review

Addressed the MR feedback, hence moving into review.

vishalkhode’s picture

I ran the ESlint in local and it showed errors in config_update_ui.settings.yml file. I think we should handle & fix that in a separate ticket. So, I'm Ok, if we've skipped the ESlint job here, as we can enable back again and fix it separately. Thanks.

ankitv18’s picture

Related issues: +#3467752: Fix ESLINT job

vishalkhode’s picture

Status: Fixed » Closed (fixed)

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