Problem/Motivation

Currently the module's code has some code quality issues that are visible when running PHPStan checks against it. Those should all be fixed.

Steps to reproduce

Run PHPStan check against view_mode_switch module on a local machine to see all findings.

Proposed resolution

  • Fix all code quality issues

Remaining tasks

  • Create issue fork
  • Fix all code quality issues

User interface changes

n/a

API changes

n/a

Data model changes

n/a

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

hctom created an issue. See original summary.

  • hctom committed ae1052f on 2.x
    Issue #3251282 by hctom: Fix code quality issues
    

  • hctom committed 424f19d on 8.x-1.x
    Issue #3251282 by hctom: Fix code quality issues
    
hctom’s picture

Status: Active » Fixed

All fixed and merged into 2.x. Also cherry-picked to 8.x-1.x

hctom’s picture

Status: Fixed » Closed (fixed)