chamilo/chamilo-lms

View on GitHub
public/main/cron/create_course_sessions.php

Summary

Maintainability
A
0 mins
Test Coverage

Expected 9 spaces after parameter type; 1 found
Open

 * @param int $quarter

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

function getQuarterRoman($quarter)

Missing parameter name
Open

 * @param   string  The month (digit), with or without leading 0

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

function getQuarterFirstMonth($quarter)

Superfluous parameter comment
Open

 * @param int $quarter

Missing parameter name
Open

 * @param   int Quarter

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

function getQuarterFirstAndLastDates($initialDate = null)

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

function createCourseSessions($courses, $administratorId, $startDate, $endDate)

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

function getMonthFirstAndLastDates($initialDate = null)

Expected 47 spaces after parameter type; 1 found
Open

 * @param string $month

Superfluous parameter comment
Open

 * @param string $month

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

function getQuarter($month)

Missing parameter name
Open

 * @param   int Quarter

Expected 9 spaces after parameter type; 1 found
Open

 * @param int $quarter

Superfluous parameter comment
Open

 * @param int $quarter

There are no issues that match your filters.

Category
Status