EscolaLMS/Consultations

View on GitHub

Showing 985 of 985 total issues

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class RemoveUniqueIndexInConsultaionUserTable extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class CreateLogotypeColumnInConsultationsTable extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class AddMissingsColumnToConsultationsTable extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class CreateConsultationCategoryTable extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class AddShortDescInConsultationsTable extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class AddMaxParticipantsOnSessionToConsultationsTable extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class AddNewPermissionMigrate extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class CreateConsultationsTable extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class ChangeNameColumnsForConsultationsTable extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class AddColumnImagePathForConsultationsTable extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class AddTableRelationsUsersConsultations extends Migration

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class CreateConsultationProposedTermsTale extends Migration

Avoid variables with short names like $id. Configured minimum length is 3.
Open

    public function show(ShowAPIConsultationRequest $showAPIConsultationRequest, int $id): JsonResponse

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

Avoid variables with short names like $oa. Configured minimum length is 3.
Open

                return preg_match('/^(http|https):.*$/', $logotype, $oa) ?
Severity: Minor
Found in src/Models/Consultation.php by phpmd

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

Avoid variables with short names like $id. Configured minimum length is 3.
Open

    public function show(ShowConsultationRequest $showConsultationRequest, int $id): JsonResponse

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

Avoid variables with short names like $id. Configured minimum length is 3.
Open

    public function schedule(int $id, ScheduleConsultationRequest $scheduleConsultationRequest): JsonResponse;

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

Avoid variables with short names like $id. Configured minimum length is 3.
Open

    public function schedule(int $id, ScheduleConsultationRequest $scheduleConsultationRequest): JsonResponse

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

Avoid variables with short names like $id. Configured minimum length is 3.
Open

    public function update(int $id, UpdateConsultationRequest $updateConsultationRequest): JsonResponse

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

Avoid variables with short names like $id. Configured minimum length is 3.
Open

    public function show(ShowAPIConsultationRequest $showAPIConsultationRequest, int $id): JsonResponse;

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

Avoid variables with short names like $oa. Configured minimum length is 3.
Open

                return preg_match('/^(http|https):.*$/', $imagePath, $oa) ?
Severity: Minor
Found in src/Models/Consultation.php by phpmd

ShortVariable

Since: 0.2

Detects when a field, local, or parameter has a very short name.

Example

class Something {
    private $q = 15; // VIOLATION - Field
    public static function main( array $as ) { // VIOLATION - Formal
        $r = 20 + $this->q; // VIOLATION - Local
        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
            $r += $this->q;
        }
    }
}

Source https://phpmd.org/rules/naming.html#shortvariable

Severity
Category
Status
Source
Language