AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Avoid using undefined variables such as '$name' which will lead to PHP notices.
Open

    $newContact = new EmergencyContact($internship, $name, $relation, $phone, $email);
Severity: Minor
Found in contrib/importInternships.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$relation' which will lead to PHP notices.
Open

    $newContact = new EmergencyContact($internship, $name, $relation, $phone, $email);
Severity: Minor
Found in contrib/importInternships.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$phone' which will lead to PHP notices.
Open

    $newContact = new EmergencyContact($internship, $name, $relation, $phone, $email);
Severity: Minor
Found in contrib/importInternships.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$student_id' which will lead to PHP notices.
Open

    '$student_id',
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$add' which will lead to PHP notices.
Open

    $add['line1'] = "$box_number $road";
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$add' which will lead to PHP notices.
Open

    return $add;
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$email' which will lead to PHP notices.
Open

    $newContact = new EmergencyContact($internship, $name, $relation, $phone, $email);
Severity: Minor
Found in contrib/importInternships.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$add' which will lead to PHP notices.
Open

    $add['city'] = $city;
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$address' which will lead to PHP notices.
Open

    $address[3]['county'] = '095';
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$user_name' which will lead to PHP notices.
Open

    '$user_name',
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$address' which will lead to PHP notices.
Open

    $address[1] = address();
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$address' which will lead to PHP notices.
Open

    return $address;
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$internship' which will lead to PHP notices.
Open

    $newContact = new EmergencyContact($internship, $name, $relation, $phone, $email);
Severity: Minor
Found in contrib/importInternships.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$add' which will lead to PHP notices.
Open

    $add['line2'] = "Apartment $aptNumber";
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$add' which will lead to PHP notices.
Open

    $add['state'] = $state;
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$address' which will lead to PHP notices.
Open

    $address[2] = address();
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$last_name' which will lead to PHP notices.
Open

    METAPHONE('$last_name', 4),
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$add' which will lead to PHP notices.
Open

    $add['county'] = '095'; // not figuring this yet
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$address' which will lead to PHP notices.
Open

    $address[3]['city'] = 'Boone';
Severity: Minor
Found in contrib/createFakeStudents.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Function addFiles has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    addFiles(files){
        let currentfiles = [];
        // Sends a seperate request for each file uploaded since there can be multiple at once
        $.each(files, function (key, value) {
            let formData = new FormData();
Severity: Minor
Found in javascript/otherDocuments/OtherDocuments.jsx - About 1 hr to fix
Severity
Category
Status
Source
Language