propelorm/Propel2

View on GitHub
src/Propel/Common/Config/Loader/FileLoader.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method resolveString has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function resolveString(string $value, array $resolving = [])
    {
        /*
         * %%: to be unescaped
         * %[^%\s]++%: a parameter
Severity: Minor
Found in src/Propel/Common/Config/Loader/FileLoader.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

                return $replaced;
    Severity: Major
    Found in src/Propel/Common/Config/Loader/FileLoader.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return $this->resolveValue($this->get($onlyKey), $resolving);
      Severity: Major
      Found in src/Propel/Common/Config/Loader/FileLoader.php - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status