chamilo/chamilo-lms

View on GitHub
public/plugin/customcertificate/src/print_certificate.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "course_plugin" is not in valid camel caps format
Open

$course_plugin = 'customcertificate';

Variable "flat_list" is not in valid camel caps format
Open

                if (empty($flat_list)) {

Missing function doc comment
Open

function getIndexFiltered($index)

Variable "certificate_list" is not in valid camel caps format
Open

    foreach ($certificate_list as $index => $value) {

Consider putting global function "getIndexFiltered" in a static class
Open

function getIndexFiltered($index)

Variable "flat_list" is not in valid camel caps format
Open

                $flat_list = $list->get_flat_list();

Variable "flat_list" is not in valid camel caps format
Open

                foreach ($flat_list as $learnpath) {

Variable "certificate_list" is not in valid camel caps format
Open

    $certificate_list = GradebookUtils::get_list_users_certificates($categoryId);

Variable "flat_list" is not in valid camel caps format
Open

                if (count($categories) > 1 && count($flat_list) > 0) {

There are no issues that match your filters.

Category
Status