JoryHogeveen/view-admin-as

View on GitHub
includes/class-controller.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid too many return statements within this method.
Wontfix

        return VAA_API::array_equal( $data, $this->store->get_view() );
Severity: Major
Found in includes/class-controller.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Wontfix

                return ( (string) $data === (string) $current );
    Severity: Major
    Found in includes/class-controller.php - About 30 mins to fix

      Expected 1 space after comma in function call; 2 found
      Open

              $this->add_action( 'wp_login',  array( $this, 'reset_view' ), 10, 2 );

      Expected 1 space after comma in function call; 2 found
      Open

              $this->add_action( 'wp_login',  array( $this, 'cleanup_views' ), 10, 2 );

      There are no issues that match your filters.

      Category
      Status