The method aicc::import_package() calls the typical debug function print_r() which is mostly only used during development. Open
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
- Read upRead up
- Exclude checks
DevelopmentCodeFragment
Since: 2.3.0
Functions like vardump(), printr() etc. are normally only used during development and therefore such calls in production code are a good indicator that they were just forgotten.
Example
class SuspectCode {
public function doSomething(array $items)
{
foreach ($items as $i => $item) {
// …
if ('qafoo' == $item) var_dump($i);
// …
}
}
}
Source https://phpmd.org/rules/design.html#developmentcodefragment
The method aicc::import_package() calls the typical debug function print_r() which is mostly only used during development. Open
error_log('New LP - aicc::import_package() - $files_found: '.print_r($files_found, true), 0);
- Read upRead up
- Exclude checks
DevelopmentCodeFragment
Since: 2.3.0
Functions like vardump(), printr() etc. are normally only used during development and therefore such calls in production code are a good indicator that they were just forgotten.
Example
class SuspectCode {
public function doSomething(array $items)
{
foreach ($items as $i => $item) {
// …
if ('qafoo' == $item) var_dump($i);
// …
}
}
}
Source https://phpmd.org/rules/design.html#developmentcodefragment
The method parse_config_files() has an NPath complexity of 1153433608. The configured NPath complexity threshold is 200. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The method import_aicc() has an NPath complexity of 1056. The configured NPath complexity threshold is 200. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The method import_package() has an NPath complexity of 1916928. The configured NPath complexity threshold is 200. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The method parse_csv_file() has an NPath complexity of 204. The configured NPath complexity threshold is 200. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
Missing class import via use statement (line '173', column '29'). Open
$oCst = new aiccBlock('config', $cst);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '412', column '24'). Open
$zipFile = new PclZip($zip_file_path);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '148', column '29'). Open
$oDes = new aiccResource('config', $des);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '160', column '28'). Open
$oAu = new aiccItem('config', $au);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '187', column '33'). Open
$oOre = new aiccObjective('config', $ore);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Remove error control operator '@' on line 555. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 750. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 789. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 813. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 848. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 733. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 751. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 787. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 812. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 741. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 751. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 811. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 728. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 809. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 731. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 643. Open
public function get_res_path($id)
{
if ($this->debug > 0) {
error_log('In aicc::get_res_path('.$id.') method', 0);
}
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 740. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 749. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Missing class import via use statement (line '619', column '27'). Open
$zip_folder = new PclZip($zipfilename);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Remove error control operator '@' on line 808. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 740. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 796. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 797. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 741. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 747. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 797. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 746. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 796. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 812. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 811. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 749. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 750. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 813. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
The method import_package uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (!$subdir_isset) {
if (preg_match('?^.*/aicc$?i', dirname($thisContent['filename']))) {
//echo "Cutting subdir<br/>";
$this->subdir .= '/'.substr(dirname($thisContent['filename']), 0, -5);
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method import_package uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return '';
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method import_package uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if ($this->debug > 3) {
error_log('New LP - aicc::import_package() - File '.$thisContent['filename'].' didnt match any check', 0);
}
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method import_package uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
//echo "Not cutting subdir<br/>";
$this->subdir .= '/'.dirname($thisContent['filename']);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method import_package uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// else, look for one of the files we're searching for (something.crs case insensitive).
$res = [];
if (preg_match('?^(.*)\.(crs|au|des|cst|ore|pre|cmp)$?i', $thisContent['filename'], $res)) {
if ($this->debug > 1) {
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method import_aicc uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row = Database::fetch_array($res_max);
$dsp = $row[0] + 1;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_csv_file uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$fldval .= $chr;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_ini_string_quotes_safe uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if ('course_description' == api_strtolower($sec)) { // A special case.
$r[api_strtolower($sec)] = $k;
} else {
$r[api_strtolower($sec)][api_strtolower($k)] = $v;
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_ini_string_quotes_safe uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$r[api_strtolower($k)] = $v;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_csv_file uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$fldval .= $chr;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method export_zip uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$lp_id = $this->get_id();
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_ini_string_quotes_safe uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$r[api_strtolower($sec)][api_strtolower($k)] = $v;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_csv_file uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$fldval .= $chr;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method export_zip uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$id = $this->get_id();
if (empty($id)) {
return false;
} else {
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_csv_file uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$enclosed = !$enclosed;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_csv_file uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$ret_ret_array[$line_idx][api_strtolower($titles[$idx])] = $val;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_ini_file_quotes_safe uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$r[api_strtolower($sec)][api_strtolower($k)] = $v;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_csv_file uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$ret_ret_array[$line_idx] = [];
foreach ($line as $idx => $val) {
if ($multiples && !empty($ret_ret_array[$line_idx][api_strtolower($titles[$idx])])) {
$ret_ret_array[$line_idx][api_strtolower($titles[$idx])] .= ','.$val;
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse_ini_file_quotes_safe uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$r[api_strtolower($k)] = $v;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid unused parameters such as '$id'. Open
public function open($id)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused local variables such as '$cmp'. Open
foreach ($cmp_params as $cmp) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$dummy'. Open
foreach ($this->aulist as $identifier => $dummy) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$maxFilledSpace'. Open
$maxFilledSpace = 1000000000;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$at_root'. Open
$at_root = false; // Check if the config files are at zip root.
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$realFileSize'. Open
$realFileSize = 0;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$package'. Open
$package = ''; // The basename of the config files (if 'courses.crs' => 'courses').
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$file_exts'. Open
foreach ($files_found as $file_name => $file_exts) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$course_id'. Open
$course_id = api_get_course_int_id();
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$value'. Open
foreach ($this->organizations as $id => $value) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid using count() function in for loops. Open
for ($i = 0; $i < @count($f); $i++) {
$newsec = 0;
$w = @trim($f[$i]);
if (';' == substr($w, 0, 1)) {
// Ignore comment lines
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($i = 0; $i < @count($f); $i++) {
$newsec = 0;
$w = @trim($f[$i]);
if (';' == substr($w, 0, 1)) {
// Ignore comment lines
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
The parameter $course_code is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The class aicc is not named in CamelCase. Open
class aicc extends learnpath
{
public $config = [];
// The configuration files might be multiple and might have
// funny names. We need to keep the name of that file while we
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}
Source
The property $au_order_list is not named in camelCase. Open
class aicc extends learnpath
{
public $config = [];
// The configuration files might be multiple and might have
// funny names. We need to keep the name of that file while we
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $config_encoding is not named in camelCase. Open
class aicc extends learnpath
{
public $config = [];
// The configuration files might be multiple and might have
// funny names. We need to keep the name of that file while we
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $config_exts is not named in camelCase. Open
class aicc extends learnpath
{
public $config = [];
// The configuration files might be multiple and might have
// funny names. We need to keep the name of that file while we
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The parameter $course_code is not named in camelCase. Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
{
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
parent::__construct($course_code, $resource_id, $user_id);
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $au_order_list_new_id is not named in camelCase. Open
class aicc extends learnpath
{
public $config = [];
// The configuration files might be multiple and might have
// funny names. We need to keep the name of that file while we
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The parameter $resource_id is not named in camelCase. Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
{
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
parent::__construct($course_code, $resource_id, $user_id);
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $config_files is not named in camelCase. Open
class aicc extends learnpath
{
public $config = [];
// The configuration files might be multiple and might have
// funny names. We need to keep the name of that file while we
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The parameter $user_id is not named in camelCase. Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
{
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
parent::__construct($course_code, $resource_id, $user_id);
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $config_basename is not named in camelCase. Open
class aicc extends learnpath
{
public $config = [];
// The configuration files might be multiple and might have
// funny names. We need to keep the name of that file while we
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The parameter $current_dir is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $current_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $zip_file_info is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $lp_id is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $file_path is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $pure_strings is not named in camelCase. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
Variable "course_code" is not in valid camel caps format Open
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
parent::__construct($course_code, $resource_id, $user_id);
- Exclude checks
Variable "crs_file" is not in valid camel caps format Open
$crs_file = $dir.'/'.$this->config_files['crs'];
- Exclude checks
Variable "crs_file" is not in valid camel caps format Open
$crs_params = $this->parse_ini_file_quotes_safe($crs_file);
- Exclude checks
Variable "course_max_fields_ort" is not in valid camel caps format Open
$this->course_max_fields_ort = $crs_params['course']['max_fields_ort'];
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_version = $crs_params['course']['version'];
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course_description'])) {
- Exclude checks
Variable "des_params" is not in valid camel caps format Open
foreach ($des_params as $des) {
- Exclude checks
Member variable "au_order_list_new_id" is not in valid camel caps format Open
public $au_order_list_new_id = [];
- Exclude checks
Variable "course_total_aus" is not in valid camel caps format Open
$this->course_total_aus = $crs_params['course']['total_aus'];
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['total_objectives'])) {
- Exclude checks
Variable "ore_file" is not in valid camel caps format Open
$ore_file = $dir.'/'.$this->config_files['ore'];
- Exclude checks
Variable "ore_params" is not in valid camel caps format Open
$ore_params = $this->parse_csv_file($ore_file, ',', '"', true);
- Exclude checks
Variable "ore_file" is not in valid camel caps format Open
error_log('New LP - In aicc::parse_config_files() - '.$ore_file.' has been parsed', 0);
- Exclude checks
Member variable "config_exts" is not in valid camel caps format Open
public $config_exts = [
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['version'])) {
- Exclude checks
Variable "au_params" is not in valid camel caps format Open
$au_params = $this->parse_csv_file($au_file);
- Exclude checks
Variable "au_order_list" is not in valid camel caps format Open
$this->au_order_list[] = $oAu->identifier;
- Exclude checks
Missing parameter name Open
* @param int Database ID of the resource
- Exclude checks
Variable "course_total_complex_objectives" is not in valid camel caps format Open
$this->course_total_complex_objectives = $crs_params['course']['total_complex_objectives'];
- Exclude checks
Variable "au_file" is not in valid camel caps format Open
$au_params = $this->parse_csv_file($au_file);
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_level = $crs_params['course']['course_level'];
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_total_aus = $crs_params['course']['total_aus'];
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_total_objectives = $crs_params['course']['total_objectives'];
- Exclude checks
Variable "course_description" is not in valid camel caps format Open
$this->course_description = Database::escape_string($crs_params['course_description']);
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_description = Database::escape_string($crs_params['course_description']);
- Exclude checks
Variable "des_file" is not in valid camel caps format Open
$des_file = $dir.'/'.$this->config_files['des'];
- Exclude checks
Variable "cst_file" is not in valid camel caps format Open
$cst_params = $this->parse_csv_file($cst_file, ',', '"', true);
- Exclude checks
Variable "pre_file" is not in valid camel caps format Open
$pre_params = $this->parse_csv_file($pre_file);
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
$crs_file = $dir.'/'.$this->config_files['crs'];
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_id = Database::escape_string($crs_params['course']['course_id']);
- Exclude checks
Variable "course_title" is not in valid camel caps format Open
$this->course_title = Database::escape_string($crs_params['course']['course_title']);
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_total_blocks = $crs_params['course']['total_blocks'];
- Exclude checks
Variable "au_params" is not in valid camel caps format Open
foreach ($au_params as $au) {
- Exclude checks
Variable "ore_file" is not in valid camel caps format Open
$ore_params = $this->parse_csv_file($ore_file, ',', '"', true);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
parent::__construct($course_code, $resource_id, $user_id);
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['total_aus'])) {
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['total_complex_objectives'])) {
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_total_complex_objectives = $crs_params['course']['total_complex_objectives'];
- Exclude checks
Variable "course_version" is not in valid camel caps format Open
$this->course_version = $crs_params['course']['version'];
- Exclude checks
Variable "au_file" is not in valid camel caps format Open
$au_file = $dir.'/'.$this->config_files['au'];
- Exclude checks
Variable "pre_file" is not in valid camel caps format Open
$pre_file = $dir.'/'.$this->config_files['pre'];
- Exclude checks
Member variable "config_files" is not in valid camel caps format Open
public $config_files = [];
- Exclude checks
Variable "resource_id" is not in valid camel caps format Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['max_fields_ort'])) {
- Exclude checks
Variable "cst_file" is not in valid camel caps format Open
$cst_file = $dir.'/'.$this->config_files['cst'];
- Exclude checks
Variable "ore_params" is not in valid camel caps format Open
foreach ($ore_params as $ore) {
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
if (!empty($this->config_files['pre'])) {
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_max_fields_ort = $crs_params['course']['max_fields_ort'];
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['total_blocks'])) {
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
$pre_file = $dir.'/'.$this->config_files['pre'];
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['course_creator'])) {
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['course_title'])) {
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_title = Database::escape_string($crs_params['course']['course_title']);
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['max_fields_cst'])) {
- Exclude checks
Variable "course_total_blocks" is not in valid camel caps format Open
$this->course_total_blocks = $crs_params['course']['total_blocks'];
- Exclude checks
Variable "des_params" is not in valid camel caps format Open
$des_params = $this->parse_csv_file($des_file);
- Exclude checks
Variable "des_file" is not in valid camel caps format Open
error_log('New LP - In aicc::parse_config_files() - '.$des_file.' has been parsed', 0);
- Exclude checks
Variable "cst_params" is not in valid camel caps format Open
$cst_params = $this->parse_csv_file($cst_file, ',', '"', true);
- Exclude checks
Variable "pre_params" is not in valid camel caps format Open
$pre_params = $this->parse_csv_file($pre_file);
- Exclude checks
Variable "resource_id" is not in valid camel caps format Open
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
- Exclude checks
Variable "resource_id" is not in valid camel caps format Open
parent::__construct($course_code, $resource_id, $user_id);
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$crs_params = $this->parse_ini_file_quotes_safe($crs_file);
- Exclude checks
Variable "course_creator" is not in valid camel caps format Open
$this->course_creator = Database::escape_string($crs_params['course']['course_creator']);
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_system = $crs_params['course']['course_system'];
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['course_level'])) {
- Exclude checks
Variable "cst_file" is not in valid camel caps format Open
error_log('New LP - In aicc::parse_config_files() - '.$cst_file.' has been parsed', 0);
- Exclude checks
Variable "cst_params" is not in valid camel caps format Open
foreach ($cst_params as $cst) {
- Exclude checks
Member variable "config_encoding" is not in valid camel caps format Open
public $config_encoding = 'ISO-8859-1';
- Exclude checks
Variable "course_system" is not in valid camel caps format Open
$this->course_system = $crs_params['course']['course_system'];
- Exclude checks
Variable "au_file" is not in valid camel caps format Open
error_log('New LP - In aicc::parse_config_files() - '.$au_file.' has been parsed', 0);
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
$cst_file = $dir.'/'.$this->config_files['cst'];
- Exclude checks
Member variable "au_order_list" is not in valid camel caps format Open
public $au_order_list = [];
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['course_id'])) {
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
if (!empty($crs_params['course']['course_system'])) {
- Exclude checks
Variable "course_level" is not in valid camel caps format Open
$this->course_level = $crs_params['course']['course_level'];
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
$des_file = $dir.'/'.$this->config_files['des'];
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
$ore_file = $dir.'/'.$this->config_files['ore'];
- Exclude checks
Member variable "config_basename" is not in valid camel caps format Open
public $config_basename = '';
- Exclude checks
Missing parameter name Open
* @param string Path to the config files dir on the system.
- Exclude checks
Method name "aicc::parse_config_files" is not in camel caps format Open
public function parse_config_files($dir = '')
- Exclude checks
Variable "crs_file" is not in valid camel caps format Open
error_log('New LP - In aicc::parse_config_files() - '.$crs_file.' has been parsed');
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
if (!empty($this->config_files['ore'])) {
- Exclude checks
Variable "course_max_fields_cst" is not in valid camel caps format Open
$this->course_max_fields_cst = $crs_params['course']['max_fields_cst'];
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_max_fields_cst = $crs_params['course']['max_fields_cst'];
- Exclude checks
Variable "des_file" is not in valid camel caps format Open
$des_params = $this->parse_csv_file($des_file);
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
$au_file = $dir.'/'.$this->config_files['au'];
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
- Exclude checks
Variable "crs_params" is not in valid camel caps format Open
$this->course_creator = Database::escape_string($crs_params['course']['course_creator']);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$this->course_id = Database::escape_string($crs_params['course']['course_id']);
- Exclude checks
Variable "course_total_objectives" is not in valid camel caps format Open
$this->course_total_objectives = $crs_params['course']['total_objectives'];
- Exclude checks
Variable "course_description" is not in valid camel caps format Open
"($course_id, 3, '".$this->course_title."', '".$this->course_id."','".$this->course_description."',".
- Exclude checks
Variable "field_add" is not in valid camel caps format Open
$sql_item = "INSERT INTO $new_lp_item (c_id, lp_id,item_type,ref,title, path,min_score,max_score, $field_add parent_item_id,previous_item_id,next_item_id, prerequisite,display_order,parameters) ".
- Exclude checks
Variable "zip_file_info" is not in valid camel caps format Open
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
$this->subdir = $new_dir;
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
if (!is_array($files_found[$res[1]])) {
- Exclude checks
Variable "config_exts" is not in valid camel caps format Open
$files_found[$res[1]] = $this->config_exts; // Initialise list of expected extensions (defined in class definition).
- Exclude checks
Variable "package_type" is not in valid camel caps format Open
if ('' == $package_type || !$mandatory) {
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
$new_dir = '/'.$new_dir;
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
@mkdir($course_sys_dir.$new_dir, api_get_permissions_for_new_directories())
- Exclude checks
Variable "cmp_params" is not in valid camel caps format Open
foreach ($cmp_params as $cmp) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
"($course_id, 3, '".$this->course_title."', '".$this->course_id."','".$this->course_description."',".
- Exclude checks
Variable "course_title" is not in valid camel caps format Open
"($course_id, 3, '".$this->course_title."', '".$this->course_id."','".$this->course_description."',".
- Exclude checks
Variable "field_add" is not in valid camel caps format Open
$field_add = '';
- Exclude checks
Variable "new_lp_item" is not in valid camel caps format Open
$sql_item = "INSERT INTO $new_lp_item (c_id, lp_id,item_type,ref,title, path,min_score,max_score, $field_add parent_item_id,previous_item_id,next_item_id, prerequisite,display_order,parameters) ".
- Exclude checks
Variable "item_id" is not in valid camel caps format Open
$previous = $item_id;
- Exclude checks
Variable "current_dir" is not in valid camel caps format Open
public function import_local_package($file_path, $current_dir = '')
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
$file_info = [];
- Exclude checks
Variable "pre_params" is not in valid camel caps format Open
foreach ($pre_params as $pre) {
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
$file_info['tmp_name'] = $file_path;
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
$cmp_file = $dir.'/'.$this->config_files['cmp'];
- Exclude checks
Variable "zip_file_name" is not in valid camel caps format Open
$zip_file_name = $zip_file_info['name'];
- Exclude checks
Variable "new_lp" is not in valid camel caps format Open
$new_lp = Database::get_course_table(TABLE_LP_MAIN);
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
$files_found[$res[1]][api_strtolower($res[2])] = $thisContent['filename'];
- Exclude checks
Variable "res_max" is not in valid camel caps format Open
if (Database::num_rows($res_max) < 1) {
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
foreach ($files_found as $file_name => $file_exts) {
- Exclude checks
Variable "item_id" is not in valid camel caps format Open
$item_id = Database::insert_id();
- Exclude checks
Variable "file_exts" is not in valid camel caps format Open
foreach ($files_found as $file_name => $file_exts) {
- Exclude checks
Variable "course_sys_dir" is not in valid camel caps format Open
$course_sys_dir = api_get_path(SYS_COURSE_PATH).$course_rel_dir; // The absolute system path of this course.
- Exclude checks
Variable "current_dir" is not in valid camel caps format Open
$current_dir = api_replace_dangerous_char(trim($current_dir)); // Current dir we are in, inside scorm/
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
"($course_id, 3, '".$this->course_title."', '".$this->course_id."','".$this->course_description."',".
- Exclude checks
Variable "zip_file_info" is not in valid camel caps format Open
$zip_file_name = $zip_file_info['name'];
- Exclude checks
Variable "zip_file_path" is not in valid camel caps format Open
'New LP - aicc::import_package() - Zip file path = '.$zip_file_path.', zip file name = '.$zip_file_name,
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
$extension = $file_info['extension'];
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
$files_found = [];
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
if (!is_array($files_found[basename($res[1])])) {
- Exclude checks
Variable "package_type" is not in valid camel caps format Open
error_log('New LP - aicc::import_package() - Package type is now '.$package_type, 0);
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
!empty($files_found[$file_name]['crs'])
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
$package = $file_name;
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
$this->config_files = $files_found[$file_name];
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
$new_dir = '/'.$new_dir;
- Exclude checks
Variable "cmp_file" is not in valid camel caps format Open
$cmp_params = $this->parse_csv_file($cmp_file);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
"($course_id, $lp_id, 'au','".$oAu->identifier."','".$title."',".
- Exclude checks
Variable "file_path" is not in valid camel caps format Open
public function import_local_package($file_path, $current_dir = '')
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
return $this->import_package($file_info, $current_dir);
- Exclude checks
Variable "current_dir" is not in valid camel caps format Open
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
- Exclude checks
Variable "at_root" is not in valid camel caps format Open
$at_root = true;
- Exclude checks
Variable "config_exts" is not in valid camel caps format Open
$files_found[basename($res[1])] = $this->config_exts;
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
&& !empty($files_found[$file_name]['des'])
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
$new_dir = substr($new_dir, 0, -1);
- Exclude checks
Variable "cmp_file" is not in valid camel caps format Open
error_log('New LP - In aicc::parse_config_files() - '.$cmp_file.' has been parsed', 0);
- Exclude checks
Method name "aicc::import_aicc" is not in camel caps format Open
public function import_aicc($course_code)
- Exclude checks
Variable "new_lp" is not in valid camel caps format Open
$sql = "INSERT INTO $new_lp (c_id, lp_type, name, ref, description, path, force_commit, default_view_mod, default_encoding, js_lib, content_maker,display_order)".
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
$filename = $file_info['basename'];
- Exclude checks
Variable "config_basename" is not in valid camel caps format Open
$this->config_basename = $file_name;
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
$this->config_basename = $file_name;
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
if ('/' == $new_dir[strlen($new_dir) - 1]) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$get_max = "SELECT MAX(display_order) FROM $new_lp WHERE c_id = $course_id";
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
if (empty($course_id)) {
- Exclude checks
Variable "get_max" is not in valid camel caps format Open
$res_max = Database::query($get_max);
- Exclude checks
Variable "config_encoding" is not in valid camel caps format Open
$this->config_encoding = "ISO-8859-1"; // TODO: We may apply detection for this value, see the function api_detect_encoding().
- Exclude checks
Variable "subdir_isset" is not in valid camel caps format Open
$subdir_isset = false;
- Exclude checks
Variable "config_encoding" is not in valid camel caps format Open
"'".$this->subdir."', 0, 'embedded', '".$this->config_encoding."',".
- Exclude checks
Variable "subdir_isset" is not in valid camel caps format Open
$subdir_isset = true;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
$this->lp_id = $lp_id;
- Exclude checks
Variable "prereq_string" is not in valid camel caps format Open
$prereq = $oAu->prereq_string;
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
$this->config_files = $files_found[$file_name];
- Exclude checks
Variable "sql_item" is not in valid camel caps format Open
error_log('New LP - In aicc::import_aicc() - inserting item : '.$sql_item.' : ', 0);
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
$file_info = pathinfo($zip_file_name);
- Exclude checks
Variable "file_base_name" is not in valid camel caps format Open
$file_base_name = str_replace('.'.$extension, '', $filename); // Filename without its extension.
- Exclude checks
Variable "file_base_name" is not in valid camel caps format Open
$this->zipname = $file_base_name; // Save for later in case we don't have a title.
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
$new_dir = api_replace_dangerous_char(trim($file_base_name));
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
&& !empty($files_found[$file_name]['cst'])
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
$this->config_files = $files_found[$file_name];
- Exclude checks
Variable "course_sys_dir" is not in valid camel caps format Open
@mkdir($course_sys_dir.$new_dir, api_get_permissions_for_new_directories())
- Exclude checks
Variable "config_files" is not in valid camel caps format Open
if (!empty($this->config_files['cmp'])) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$courseInfo = api_get_course_info($course_code);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
error_log('New LP - In aicc::import_aicc('.$course_code.')', 0);
- Exclude checks
Variable "res_max" is not in valid camel caps format Open
$row = Database::fetch_array($res_max);
- Exclude checks
Variable "value_add" is not in valid camel caps format Open
"'$path',0,100, $value_add".
- Exclude checks
Missing parameter name Open
* @param string Path to the zip file, from the dokeos sys root
- Exclude checks
Doc comment for parameter $_FILES['userFile'] does not match actual variable name $zip_file_info Open
* @param string Zip file info as given by $_FILES['userFile']
- Exclude checks
Variable "current_dir" is not in valid camel caps format Open
$current_dir = api_replace_dangerous_char(trim($current_dir)); // Current dir we are in, inside scorm/
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
$files_found[basename($res[1])][api_strtolower($res[2])] = basename($thisContent['filename']);
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
&& !empty($files_found[$file_name]['des'])
- Exclude checks
Variable "course_creator" is not in valid camel caps format Open
"'aicc_api.php','".$this->course_creator."',$dsp)";
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
$this->lp_id = $lp_id;
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
$file_info['name'] = basename($file_path);
- Exclude checks
Variable "zip_file_info" is not in valid camel caps format Open
public function import_package($zip_file_info, $current_dir = '')
- Exclude checks
Variable "zip_file_info" is not in valid camel caps format Open
$zip_file_path = $zip_file_info['tmp_name'];
- Exclude checks
Variable "current_dir" is not in valid camel caps format Open
error_log('New LP - aicc::import_package() - Current_dir = '.$current_dir, 0);
- Exclude checks
Variable "zip_file_path" is not in valid camel caps format Open
error_log('New LP - aicc::import_package() - Received zip file name: '.$zip_file_path, 0);
- Exclude checks
Variable "zip_file_name" is not in valid camel caps format Open
$file_info = pathinfo($zip_file_name);
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
$files_found[$res[1]] = $this->config_exts; // Initialise list of expected extensions (defined in class definition).
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
&& !empty($files_found[$file_name]['cst'])
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
error_log('New LP - aicc::import_package() - Found all config files for '.$file_name, 0);
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
if ('/' == $new_dir[strlen($new_dir) - 1]) {
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
$new_dir = substr($new_dir, 0, -1);
- Exclude checks
Variable "pre_file" is not in valid camel caps format Open
error_log('New LP - In aicc::parse_config_files() - '.$pre_file.' has been parsed', 0);
- Exclude checks
Variable "get_max" is not in valid camel caps format Open
$get_max = "SELECT MAX(display_order) FROM $new_lp WHERE c_id = $course_id";
- Exclude checks
Variable "new_lp" is not in valid camel caps format Open
$get_max = "SELECT MAX(display_order) FROM $new_lp WHERE c_id = $course_id";
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
"($course_id, $lp_id, 'au','".$oAu->identifier."','".$title."',".
- Exclude checks
Variable "file_base_name" is not in valid camel caps format Open
error_log('New LP - aicc::import_package() - Base file name is : '.$file_base_name, 0);
- Exclude checks
Variable "package_type" is not in valid camel caps format Open
$package_type = ''; // The type of the package. Should be 'aicc' after the next few lines.
- Exclude checks
Variable "package_type" is not in valid camel caps format Open
$package_type = 'aicc';
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
!empty($files_found[$file_name]['crs'])
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
&& !empty($files_found[$file_name]['au'])
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
if (is_dir($course_sys_dir.$new_dir) ||
- Exclude checks
Variable "res_max" is not in valid camel caps format Open
$res_max = Database::query($get_max);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
if ($lp_id) {
- Exclude checks
Variable "sql_item" is not in valid camel caps format Open
$sql_item = "INSERT INTO $new_lp_item (c_id, lp_id,item_type,ref,title, path,min_score,max_score, $field_add parent_item_id,previous_item_id,next_item_id, prerequisite,display_order,parameters) ".
- Exclude checks
Missing parameter name Open
* @param string Current path (optional)
- Exclude checks
Variable "file_path" is not in valid camel caps format Open
$file_info['name'] = basename($file_path);
- Exclude checks
Variable "course_rel_dir" is not in valid camel caps format Open
$course_sys_dir = api_get_path(SYS_COURSE_PATH).$course_rel_dir; // The absolute system path of this course.
- Exclude checks
Variable "subdir_isset" is not in valid camel caps format Open
$subdir_isset = true;
- Exclude checks
Variable "course_sys_dir" is not in valid camel caps format Open
error_log('New LP - Changing dir to '.$course_sys_dir.$new_dir, 0);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
$lp_id = Database::insert_id();
- Exclude checks
Variable "value_add" is not in valid camel caps format Open
$value_add = '';
- Exclude checks
Variable "value_add" is not in valid camel caps format Open
$value_add = $oAu->masteryscore.',';
- Exclude checks
Variable "new_lp_item" is not in valid camel caps format Open
$upd = "UPDATE $new_lp_item SET next_item_id = $item_id WHERE c_id = $course_id AND id = $previous";
- Exclude checks
Method name "aicc::import_local_package" is not in camel caps format Open
public function import_local_package($file_path, $current_dir = '')
- Exclude checks
Variable "file_path" is not in valid camel caps format Open
$file_info['tmp_name'] = $file_path;
- Exclude checks
Variable "current_dir" is not in valid camel caps format Open
public function import_package($zip_file_info, $current_dir = '')
- Exclude checks
Variable "package_type" is not in valid camel caps format Open
$package_type = 'aicc';
- Exclude checks
Variable "subdir_isset" is not in valid camel caps format Open
if (!$subdir_isset) {
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
error_log('New LP - aicc::import_package() - $files_found: '.print_r($files_found, true), 0);
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
if ('/' != $new_dir[0]) {
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
error_log('New LP - Changing dir to '.$course_sys_dir.$new_dir, 0);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = $courseInfo['real_id'];
- Exclude checks
Variable "new_lp_item" is not in valid camel caps format Open
$new_lp_item = Database::get_course_table(TABLE_LP_ITEM);
- Exclude checks
Variable "sql_item" is not in valid camel caps format Open
Database::query($sql_item);
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
foreach ($files_found as $file_name => $file_exts) {
- Exclude checks
Variable "course_sys_dir" is not in valid camel caps format Open
if (is_dir($course_sys_dir.$new_dir) ||
- Exclude checks
Variable "cmp_params" is not in valid camel caps format Open
$cmp_params = $this->parse_csv_file($cmp_file);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
public function import_aicc($course_code)
- Exclude checks
Variable "item_id" is not in valid camel caps format Open
$upd = "UPDATE $new_lp_item SET next_item_id = $item_id WHERE c_id = $course_id AND id = $previous";
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$upd = "UPDATE $new_lp_item SET next_item_id = $item_id WHERE c_id = $course_id AND id = $previous";
- Exclude checks
Method name "aicc::import_package" is not in camel caps format Open
public function import_package($zip_file_info, $current_dir = '')
- Exclude checks
Variable "zip_file_name" is not in valid camel caps format Open
'New LP - aicc::import_package() - Zip file path = '.$zip_file_path.', zip file name = '.$zip_file_name,
- Exclude checks
Variable "course_rel_dir" is not in valid camel caps format Open
$course_rel_dir = api_get_course_path().'/scorm'; // Scorm dir web path starting from /courses
- Exclude checks
Variable "zip_file_path" is not in valid camel caps format Open
$zipFile = new PclZip($zip_file_path);
- Exclude checks
Variable "at_root" is not in valid camel caps format Open
$at_root = false; // Check if the config files are at zip root.
- Exclude checks
Variable "files_found" is not in valid camel caps format Open
$files_found[basename($res[1])] = $this->config_exts;
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
&& !empty($files_found[$file_name]['au'])
- Exclude checks
Variable "cmp_file" is not in valid camel caps format Open
$cmp_file = $dir.'/'.$this->config_files['cmp'];
- Exclude checks
Variable "field_add" is not in valid camel caps format Open
$field_add = 'mastery_score, ';
- Exclude checks
Variable "current_dir" is not in valid camel caps format Open
return $this->import_package($file_info, $current_dir);
- Exclude checks
Variable "zip_file_path" is not in valid camel caps format Open
$zip_file_path = $zip_file_info['tmp_name'];
- Exclude checks
Variable "file_base_name" is not in valid camel caps format Open
$new_dir = api_replace_dangerous_char(trim($file_base_name));
- Exclude checks
Variable "config_dir" is not in valid camel caps format Open
$config_dir = ''; // The directory in which the config files are. May remain empty.
- Exclude checks
Variable "config_dir" is not in valid camel caps format Open
$config_dir = dirname($thisContent['filename']); // Just the relative directory inside scorm/
- Exclude checks
Missing parameter name Open
* @param int Learnpath ID (optional, taken from object context if not defined)
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
public function export_zip($lp_id = null)
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string Resource ID as used in resource array
- Exclude checks
Missing parameter name Open
* @param string File path
- Exclude checks
Variable "pure_data" is not in valid camel caps format Open
$pure_data = 1;
- Exclude checks
Variable "ret_ret_array" is not in valid camel caps format Open
$ret_ret_array = [];
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
error_log('In aicc::export_zip method('.$lp_id.')', 0);
- Exclude checks
Method name "aicc::reimport_aicc" is not in camel caps format Open
public function reimport_aicc()
- Exclude checks
Variable "config_encoding" is not in valid camel caps format Open
$f = api_convert_encoding($f, api_get_system_encoding(), $this->config_encoding);
- Exclude checks
Missing parameter name Open
* @param array List of names of sections that should be considered
- Exclude checks
Method name "aicc::parse_ini_string_quotes_safe" is not in camel caps format Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
- Exclude checks
Variable "pure_strings" is not in valid camel caps format Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
- Exclude checks
Variable "line_idx" is not in valid camel caps format Open
$ret_ret_array[$line_idx][api_strtolower($titles[$idx])] = $val;
- Exclude checks
Variable "course_sys_dir" is not in valid camel caps format Open
chdir($course_sys_dir.$new_dir);
- Exclude checks
Variable "course_sys_dir" is not in valid camel caps format Open
return $course_sys_dir.$new_dir.$config_dir;
- Exclude checks
Variable "config_dir" is not in valid camel caps format Open
return $course_sys_dir.$new_dir.$config_dir;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string Resource ID as used in resource array
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string File path
- Exclude checks
Variable "ret_array" is not in valid camel caps format Open
$ret_array[$linecount][$fldcount] = $fldval;
- Exclude checks
Variable "line_idx" is not in valid camel caps format Open
if (0 == $line_idx) {
- Exclude checks
Variable "ret_ret_array" is not in valid camel caps format Open
$ret_ret_array[$line_idx][api_strtolower($titles[$idx])] = $val;
- Exclude checks
Variable "zip_folder" is not in valid camel caps format Open
$zip_folder = new PclZip($zipfilename);
- Exclude checks
Method name "aicc::get_res_type" is not in camel caps format Open
public function get_res_type($id)
- Exclude checks
Variable "pure_data" is not in valid camel caps format Open
if ($pure_data) {
- Exclude checks
Variable "config_encoding" is not in valid camel caps format Open
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
- Exclude checks
Variable "line_idx" is not in valid camel caps format Open
foreach ($ret_array as $line_idx => $line) {
- Exclude checks
Variable "ret_ret_array" is not in valid camel caps format Open
return $ret_ret_array;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string Resource ID as used in resource array
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string File path
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string INI File string
- Exclude checks
Variable "ret_ret_array" is not in valid camel caps format Open
$ret_ret_array[$line_idx][api_strtolower($titles[$idx])] .= ','.$val;
- Exclude checks
Variable "tbl_lp" is not in valid camel caps format Open
$sql = "SELECT * FROM $tbl_lp WHERE iid= $lp_id";
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
$sql = "SELECT * FROM $tbl_lp WHERE iid= $lp_id";
- Exclude checks
Missing parameter name Open
* @param string Resource ID as used in resource array
- Exclude checks
Variable "ret_ret_array" is not in valid camel caps format Open
$ret_ret_array[$line_idx] = [];
- Exclude checks
Missing parameter name Open
* @param string Resource ID as used in resource array
- Exclude checks
Method name "aicc::parse_ini_file_quotes_safe" is not in camel caps format Open
public function parse_ini_file_quotes_safe($f)
- Exclude checks
Variable "config_encoding" is not in valid camel caps format Open
$s = api_convert_encoding($s, api_get_system_encoding(), $this->config_encoding);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string CSV enclosure
- Exclude checks
Missing parameter name Open
* @param bool Might one field name happen more than once on the same line? (then split by comma in the values)
- Exclude checks
Method name "aicc::get_res_path" is not in camel caps format Open
public function get_res_path($id)
- Exclude checks
Missing parameter name Open
* @param string Filepath
- Exclude checks
Variable "ret_array" is not in valid camel caps format Open
$ret_array[$linecount++][$fldcount] = $fldval;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string CSV delimiter
- Exclude checks
Variable "zip_folder" is not in valid camel caps format Open
$zip_folder->create($scormfoldername.'/', PCLZIP_OPT_REMOVE_PATH, $scormfoldername.'/');
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param bool Might one field name happen more than once on the same line? (then split by comma in the values)
- Exclude checks
Method name "aicc::get_title" is not in camel caps format Open
public function get_title()
- Exclude checks
Variable "pure_strings" is not in valid camel caps format Open
if (in_array(api_strtolower($sec), $pure_strings)) {
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string CSV delimiter
- Exclude checks
Variable "line_idx" is not in valid camel caps format Open
$ret_ret_array[$line_idx][api_strtolower($titles[$idx])] .= ','.$val;
- Exclude checks
Variable "tbl_lp" is not in valid camel caps format Open
$tbl_lp = Database::get_course_table(TABLE_LP_MAIN);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param array List of names of sections that should be considered
- Exclude checks
Variable "pure_data" is not in valid camel caps format Open
$pure_data = 0;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string CSV enclosure
- Exclude checks
Variable "ret_array" is not in valid camel caps format Open
$ret_array[$linecount][$fldcount++] = $fldval;
- Exclude checks
Method name "aicc::export_zip" is not in camel caps format Open
public function export_zip($lp_id = null)
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string Filepath
- Exclude checks
Variable "ret_array" is not in valid camel caps format Open
$ret_array[$linecount++][$fldcount] = $fldval;
- Exclude checks
Variable "line_idx" is not in valid camel caps format Open
if ($multiples && !empty($ret_ret_array[$line_idx][api_strtolower($titles[$idx])])) {
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
return $course_sys_dir.$new_dir.$config_dir;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
$lp_id = $this->get_id();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string Resource ID as used in resource array
- Exclude checks
Missing parameter name Open
* @param string INI File string
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param array List of names of sections that should be considered
- Exclude checks
Missing parameter name Open
* @param string CSV delimiter
- Exclude checks
Missing parameter name Open
* @param string CSV enclosure
- Exclude checks
Variable "line_idx" is not in valid camel caps format Open
$ret_ret_array[$line_idx] = [];
- Exclude checks
Variable "new_dir" is not in valid camel caps format Open
chdir($course_sys_dir.$new_dir);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
if (empty($lp_id)) {
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string INI File string
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param string Filepath
- Exclude checks
Method name "aicc::parse_csv_file" is not in camel caps format Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
- Exclude checks
Variable "ret_ret_array" is not in valid camel caps format Open
if ($multiples && !empty($ret_ret_array[$line_idx][api_strtolower($titles[$idx])])) {
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @param bool Might one field name happen more than once on the same line? (then split by comma in the values)
- Exclude checks
Variable "ret_array" is not in valid camel caps format Open
foreach ($ret_array as $line_idx => $line) {
- Exclude checks
Class name "aicc" is not in camel caps format Open
class aicc extends learnpath
- Exclude checks
The variable $resource_id is not named in camelCase. Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
{
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
parent::__construct($course_code, $resource_id, $user_id);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $au_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $au_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ore_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pre_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $des_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $au_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
{
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
parent::__construct($course_code, $resource_id, $user_id);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $des_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cst_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cst_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $au_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cst_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pre_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_code is not named in camelCase. Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
{
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
parent::__construct($course_code, $resource_id, $user_id);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cst_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pre_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pre_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cmp_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_code is not named in camelCase. Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
{
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
parent::__construct($course_code, $resource_id, $user_id);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cst_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ore_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cmp_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $resource_id is not named in camelCase. Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
{
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
parent::__construct($course_code, $resource_id, $user_id);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cmp_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public function __construct($course_code = null, $resource_id = null, $user_id = null)
{
if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
parent::__construct($course_code, $resource_id, $user_id);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $des_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $des_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $au_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cmp_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ore_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pre_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cmp_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $des_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ore_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $res_max is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_path is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_sys_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $package_type is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_max is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_add is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_base_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_base_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $crs_params is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_code is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_lp_item is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_info is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $subdir_isset is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_base_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $package_type is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_exts is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $value_add is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_add is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $sql_item is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $subdir_isset is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $package_type is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $res_max is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_info is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_info is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $at_root is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_lp is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_lp_item is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $sql_item is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_dir is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_path is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_info is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_sys_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ore_file is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_code is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_lp is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_path is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_lp is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $sql_item is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_path is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $config_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $subdir_isset is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_sys_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $config_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_sys_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $value_add is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $value_add is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_info is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_info is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_rel_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $config_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $package_type is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_path is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_info is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $get_max is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $res_max is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_add is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_lp_item is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_rel_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $package_type is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_info is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_info is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_base_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_name is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_sys_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_id is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_info is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $new_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_file_path is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $at_root is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $subdir_isset is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $files_found is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_sys_dir is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_folder is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $line_idx is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_lp is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $LPnamesafe is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zip_folder is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $LPnamesafe is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $line_idx is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $lp_id is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pure_data is not named in camelCase. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_lp is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $LPnamesafe is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $LPnamesafe is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pure_data is not named in camelCase. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $line_idx is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $line_idx is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $LPname is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pure_data is not named in camelCase. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $LPname is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $line_idx is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pure_strings is not named in camelCase. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_array is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $line_idx is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The method parse_config_files is not named in camelCase. Open
public function parse_config_files($dir = '')
{
if ($this->debug > 0) {
error_log('New LP - In aicc::parse_config_files('.$dir.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method import_aicc is not named in camelCase. Open
public function import_aicc($course_code)
{
$courseInfo = api_get_course_info($course_code);
$course_id = $courseInfo['real_id'];
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method import_local_package is not named in camelCase. Open
public function import_local_package($file_path, $current_dir = '')
{
// TODO: Prepare info as given by the $_FILES[''] vector.
$file_info = [];
$file_info['tmp_name'] = $file_path;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method import_package is not named in camelCase. Open
public function import_package($zip_file_info, $current_dir = '')
{
if ($this->debug > 0) {
error_log('In aicc::import_package('.print_r($zip_file_info, true).',"'.$current_dir.'") method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method reimport_aicc is not named in camelCase. Open
public function reimport_aicc()
{
if ($this->debug > 0) {
error_log('In aicc::reimport_aicc() method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method parse_ini_string_quotes_safe is not named in camelCase. Open
public function parse_ini_string_quotes_safe($s, $pure_strings = [])
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_res_path is not named in camelCase. Open
public function get_res_path($id)
{
if ($this->debug > 0) {
error_log('In aicc::get_res_path('.$id.') method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_res_type is not named in camelCase. Open
public function get_res_type($id)
{
if ($this->debug > 0) {
error_log('In aicc::get_res_type('.$id.') method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method export_zip is not named in camelCase. Open
public function export_zip($lp_id = null)
{
if ($this->debug > 0) {
error_log('In aicc::export_zip method('.$lp_id.')', 0);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_title is not named in camelCase. Open
public function get_title()
{
if ($this->debug > 0) {
error_log('In aicc::get_title() method', 0);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method parse_ini_file_quotes_safe is not named in camelCase. Open
public function parse_ini_file_quotes_safe($f)
{
$null = '';
$r = $null;
$sec = $null;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method parse_csv_file is not named in camelCase. Open
public function parse_csv_file($f, $delim = ',', $enclosure = '"', $multiples = false)
{
$data = @file_get_contents($f);
$data = api_convert_encoding($data, api_get_system_encoding(), $this->config_encoding);
$enclosed = false;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}