Problem/Motivation

Fixing some linting issues with Gitlab CI

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

mikelutz created an issue. See original summary.

berdir’s picture

did you meant to create this against 8.x-3.x?

mikelutz’s picture

Nope, didn't realize that was still the default branch. I'm working on it. :-)

mikelutz’s picture

Status: Active » Needs review

@berdir IF you are interested in doing this, I think I flagged the non-obvious fixes that need maintainer eyes.

mikelutz’s picture

Version: 4.0.0 » 4.x-dev
nikolay shapovalov’s picture

It looks like changes made in this issue is very similar to #3382137: Fix the issues reported by phpcs, maybe it's better to keep only one?

nikolay shapovalov’s picture

Issue tags: +Coding standards
nikolay shapovalov’s picture

nikolay shapovalov’s picture

I made review, but it would be good if somebody else can take a look.
Thanks for your changes.
Are we going to apply changes to 8.x-3.x-dev as well?

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

roberttabigue’s picture

Status: Needs review » Reviewed & tested by the community

Hi,

I reviewed the results in the GitLab CI pipeline and confirmed that the errors no longer exist.
Here are the links for reference:
PHPCS: https://git.drupalcode.org/issue/simplesamlphp_auth-3401289/-/jobs/8422473
ESLINT: https://git.drupalcode.org/issue/simplesamlphp_auth-3401289/-/jobs/8422474
PHPSTAN: https://git.drupalcode.org/issue/simplesamlphp_auth-3401289/-/jobs/8422475

I'm moving this now to "RTBC".

Thank you!