GaryJones/Gamajo-Registerable

View on GitHub
examples/class-meal-planner-post-type-recipe.php

Summary

Maintainability
A
1 hr
Test Coverage

Method default_args has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function default_args() {
        $labels = array(
            'name'                  => _x( 'Recipes', 'post type general name', 'meal-planner' ),
            'singular_name'         => _x( 'Recipe', 'post type singular name', 'meal-planner' ),
            'menu_name'             => _x( 'Recipes', 'admin menu', 'meal-planner' ),
Severity: Minor
Found in examples/class-meal-planner-post-type-recipe.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status