Skip to content

Conversation

@christianbeeznest
Copy link
Contributor

No description provided.

$all_user_info = self::get_all_info_to_certificate(
$user_id,
$courseInfo,
$course_id,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable "course_id" is not in valid camel caps format

* @return array
*/
public static function get_all_info_to_certificate($user_id, $course_info, $sessionId, $is_preview = false)
public static function get_all_info_to_certificate($user_id, $courseId, $sessionId, $is_preview = false)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method name "DocumentManager::get_all_info_to_certificate" is not in camel caps format

* @return array
*/
public static function get_all_info_to_certificate($user_id, $course_info, $sessionId, $is_preview = false)
public static function get_all_info_to_certificate($user_id, $courseId, $sessionId, $is_preview = false)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable "user_id" is not in valid camel caps format

* @return array
*/
public static function get_all_info_to_certificate($user_id, $course_info, $sessionId, $is_preview = false)
public static function get_all_info_to_certificate($user_id, $courseId, $sessionId, $is_preview = false)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable "is_preview" is not in valid camel caps format

$info_list = [];
$user_id = (int) $user_id;
$sessionId = (int) $sessionId;
$course_info = api_get_course_info_by_id($courseId);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable "course_info" is not in valid camel caps format

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit c457ad2 and detected 29 issues on this pull request.

Here's the issue category breakdown:

Category Count
Style 28
Clarity 1

View more on Code Climate.

@christianbeeznest christianbeeznest merged commit 240154a into chamilo:master Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant