propelorm/Propel2

View on GitHub
src/Propel/Generator/Behavior/Sluggable/SluggableBehavior.php

Summary

Maintainability
B
4 hrs
Test Coverage

Method addMakeSlugUnique has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function addMakeSlugUnique(string &$script): void
    {
        $script .= "

/**
Severity: Major
Found in src/Propel/Generator/Behavior/Sluggable/SluggableBehavior.php - About 2 hrs to fix

    File SluggableBehavior.php has 265 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    /**
     * MIT License. This file is part of the Propel package.
     * For the full copyright and license information, please view the LICENSE
    Severity: Minor
    Found in src/Propel/Generator/Behavior/Sluggable/SluggableBehavior.php - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status