Showing 6,675 of 6,675 total issues
The variable $student_default is not named in camelCase. Open
Open
function print_help()
{
$student_default = NUMBER_OF_STUDENTS;
echo <<<EOF
Populates the intern_local_student_data table with fake student info for testing.
- Read upRead up
- Create a ticketCreate a ticket
- 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 $first_name is not named in camelCase. Open
Open
function username($last_name, $first_name)
{
static $all_usernames = array();
$username = strtolower(substr($last_name, 0, 6) . substr($first_name, 0, 2));
if (in_array($username, $all_usernames)) {
- Read upRead up
- Create a ticketCreate a ticket
- 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 $first_name is not named in camelCase. Open
Open
function pref_name($first_name)
{
$chance = mt_rand(1, 100);
if ($chance <= NICKNAME_CHANCE) {
return nickname($first_name);
- Read upRead up
- Create a ticketCreate a ticket
- 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 $id_result is not named in camelCase. Open
Open
function createSubHost($db, $values){
$query = "SELECT NEXTVAL('intern_sub_host_seq')";
$id_result = pg_query($query);
// create new sub host
- Read upRead up
- Create a ticketCreate a ticket
- 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 $id_result is not named in camelCase. Open
Open
function createSubHost($db, $values){
$query = "SELECT NEXTVAL('intern_sub_host_seq')";
$id_result = pg_query($query);
// create new sub host
- Read upRead up
- Create a ticketCreate a ticket
- 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 _getJoinOn is not named in camelCase. Open
Open
public function _getJoinOn($join_on_1, $join_on_2, $table1, $table2, $ignore_tables = false)
{
if (empty($join_on_1) || empty($join_on_2)) {
return null;
}
- Read upRead up
- Create a ticketCreate a ticket
- 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 _updateCurrent is not named in camelCase. Open
Open
public static function _updateCurrent($key)
{
$GLOBALS['PHPWS_DB']['lib'] = $GLOBALS['PHPWS_DB']['dbs'][$key]['lib'];
$GLOBALS['PHPWS_DB']['dsn'] = & $GLOBALS['PHPWS_DB']['dbs'][$key]['dsn'];
$GLOBALS['PHPWS_DB']['connection'] = $GLOBALS['PHPWS_DB']['dbs'][$key]['connection'];
- Read upRead up
- Create a ticketCreate a ticket
- 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 _indexBy is not named in camelCase. Open
Open
public function _indexBy($sql, $indexby, $colMode = false)
{
$rows = array();
if (!is_array($sql) || empty($sql)) {
- Read upRead up
- Create a ticketCreate a ticket
- 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 _expandIndex is not named in camelCase. Open
Open
public function _expandIndex(&$rows, $index, $item, &$stacked)
{
if ($this->force_array) {
$rows[$index][] = $item;
} elseif (isset($rows[$index]) && !$this->ignore_dups) {
- Read upRead up
- Create a ticketCreate a ticket
- 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
TODO found Open
Open
// TODO: this should return the table of affiliation agreement objects
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
// TODO: this should return the whole affiliation agreement object
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
//TODO: Use a single $params array instead of making a new array for every call to PHPWS_Test::moduleLink
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
-- TODO: Drop faculty_supervisor_id column from intern_internship table
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
// TODO: Maybe be smarter about which result we use?
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
// TODO - only works for students right now
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
// TODO: show an error alert for invalid format (banner ID must be nine digits)
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
// TODO: this will break if you have more than one db pager at a time
- Create a ticketCreate a ticket
- Exclude checks
TODO found Open
Open
// TODO: use a regular exp to make sure it's nine digits, not just nine characters
- Create a ticketCreate a ticket
- Exclude checks