nachonerd/silex-markdown-provider

View on GitHub
src/Provider.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method register has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function register(Application $app)
    {
        $app['nn.markdown'] = $app->share(
            function () {
                return new Markdown(
Severity: Minor
Found in src/Provider.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

                            return $twig;
    Severity: Major
    Found in src/Provider.php - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status