chamilo/chamilo-lms

View on GitHub
public/main/gradebook/gradebook_display_certificate.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        $stud_id,

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

    $total_weight = $cats[0]->get_weight();

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

$certificate_list = [];

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

$this_section = SECTION_COURSES;

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

$current_course_tool = TOOL_GRADEBOOK;

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

        $stud_id = api_get_user_id();

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

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

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

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

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

    $alleval = $cats[0]->get_evaluations($stud_id);

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

                $total_resource_weight = $total_resource_weight + $item['2'];

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

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

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

    $alllink = $cats[0]->get_links($stud_id);

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

        $stud_id = (api_is_allowed_to_edit() ? null : api_get_user_id());

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

    if ($total_resource_weight != $total_weight) {

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

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

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

        $data_array = $datagen->get_data(

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

            foreach ($data_array as $data) {

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

                $total_resource_weight = $total_resource_weight + $item['2'];

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

                $certificate_list = GradebookUtils::get_list_users_certificates(

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

if (0 == count($certificate_list)) {

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

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

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

        if (!empty($data_array)) {

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

    $total_resource_weight = 0;

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

    if ($total_resource_weight != $total_weight) {

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

if (count($certificate_list) > 0 && 'true' !== $hideCertificateExport) {

There are no issues that match your filters.

Category
Status