antidot-framework/installer

View on GitHub
src/Template/Docker/FileStructure.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method getNginxDefaultConf has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function getNginxDefaultConf(): string
    {
        $nginxDefaultConfContents = <<<'EOT'
upstream backend {
    least_conn;
Severity: Major
Found in src/Template/Docker/FileStructure.php - About 2 hrs to fix

    Method getDockerCompose has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static function getDockerCompose(): string
        {
            $dockerComposeContents = <<<YAML
    version: "3"
    
    
    Severity: Minor
    Found in src/Template/Docker/FileStructure.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status