Pink-Crab/Perique-Registerables

View on GitHub
src/Registrar/Post_Type_Registrar.php

Summary

Maintainability
A
0 mins
Test Coverage

Method compile_args has 78 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

    protected function compile_args( Post_Type $post_type ): array {
        // Create the labels.
        $labels = array(
            'name'                     => $post_type->plural,
            'singular_name'            => $post_type->singular,
Severity: Major
Found in src/Registrar/Post_Type_Registrar.php - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status