Problem/Motivation

There are some files that do not comply to coding standards

Steps to reproduce

Proposed resolution

Replace $i++; and $i--; with $i += 1; and $i -= 1;
Replace all && and || in if() with a $variable
Replace all functions inside a foreach(): not foreach(array_keys($array)) but foreach($array_keys)
Add `declare(strict_types=1);` to any php file missing it

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork name-3590956

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

bluegeek9 created an issue. See original summary.

bluegeek9’s picture

Title: Reduce Complexity: NameFormatter.php » Miner Coding standards
Issue summary: View changes
bluegeek9’s picture

Title: Miner Coding standards » Minor Coding standards
bluegeek9’s picture

Issue summary: View changes

bluegeek9’s picture

Status: Active » Fixed
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:

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

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

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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