AppStateESS/InternshipInventory

View on GitHub
class/InternSettings.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '153', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for Uncaught Exception Email address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '206', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for International Registrar Email address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '259', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for email domain address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '83', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for Graduate School Email address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '118', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for Distance Ed Email address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '101', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for Graduate Registrar Email address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '135', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for send-from Email address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '276', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for student data source.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '66', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for email domain address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '223', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for International Office address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '188', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for background/drug check address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '241', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for Unusual Course Notification address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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 '171', column '23').
Open

            throw new \InvalidArgumentException('Missing configuration for Registrar Email address.');
Severity: Minor
Found in class/InternSettings.php by phpmd

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

Avoid using static access to class '\PHPWS_Settings' in method 'getUnusualCourseEmail'.
Open

        $result = \PHPWS_Settings::get('intern', 'unusualCourseEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getInternationalRegEmail'.
Open

        $result = \PHPWS_Settings::get('intern', 'internationalRegEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getGradSchoolEmail'.
Open

        $result = \PHPWS_Settings::get('intern', 'gradSchoolEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getEmailFromAddress'.
Open

        $result = \PHPWS_Settings::get('intern', 'fromEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getExceptionEmail'.
Open

        $result = \PHPWS_Settings::get('intern', 'uncaughtExceptionEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getSystemName'.
Open

        $result = \PHPWS_Settings::get('intern', 'systemName');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getEmailDomain'.
Open

        $result = \PHPWS_Settings::get('intern', 'emailDomain');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getInternationalOfficeEmail'.
Open

        $result = \PHPWS_Settings::get('intern', 'internationalOfficeEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getStudentDataSource'.
Open

        $result = \PHPWS_Settings::get('intern', 'studentDataSource');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getGraduateRegEmail'.
Open

        $result = \PHPWS_Settings::get('intern', 'graduateRegEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getRegistrarEmail'.
Open

        $result = \PHPWS_Settings::get('intern', 'registrarEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getDistanceEdEmail'.
Open

        $result = \PHPWS_Settings::get('intern', 'distanceEdEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\PHPWS_Settings' in method 'getBackgroundCheckEmail'.
Open

        $result = \PHPWS_Settings::get('intern', 'backgroundCheckEmail');
Severity: Minor
Found in class/InternSettings.php by phpmd

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'emailDomain');
Severity: Critical
Found in class/InternSettings.php by phan

@throws type of getEmailDomain has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getEmailDomain()
Severity: Minor
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'internationalRegEmail');
Severity: Critical
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'uncaughtExceptionEmail');
Severity: Critical
Found in class/InternSettings.php by phan

@throws type of getInternationalOfficeEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getInternationalOfficeEmail()
Severity: Minor
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'systemName');
Severity: Critical
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'studentDataSource');
Severity: Critical
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'graduateRegEmail');
Severity: Critical
Found in class/InternSettings.php by phan

@throws type of getStudentDataSource has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getStudentDataSource()
Severity: Minor
Found in class/InternSettings.php by phan

@throws type of getGraduateRegEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getGraduateRegEmail()
Severity: Minor
Found in class/InternSettings.php by phan

@throws type of getUnusualCourseEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getUnusualCourseEmail()
Severity: Minor
Found in class/InternSettings.php by phan

@throws type of getDistanceEdEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getDistanceEdEmail()
Severity: Minor
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'registrarEmail');
Severity: Critical
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'backgroundCheckEmail');
Severity: Critical
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'unusualCourseEmail');
Severity: Critical
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'distanceEdEmail');
Severity: Critical
Found in class/InternSettings.php by phan

@throws type of getGradSchoolEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getGradSchoolEmail()
Severity: Minor
Found in class/InternSettings.php by phan

@throws type of getBackgroundCheckEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getBackgroundCheckEmail()
Severity: Minor
Found in class/InternSettings.php by phan

@throws type of getSystemName has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getSystemName()
Severity: Minor
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'fromEmail');
Severity: Critical
Found in class/InternSettings.php by phan

@throws type of getExceptionEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getExceptionEmail()
Severity: Minor
Found in class/InternSettings.php by phan

@throws type of getEmailFromAddress has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getEmailFromAddress()
Severity: Minor
Found in class/InternSettings.php by phan

@throws type of getRegistrarEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getRegistrarEmail()
Severity: Minor
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'internationalOfficeEmail');
Severity: Critical
Found in class/InternSettings.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $result = \PHPWS_Settings::get('intern', 'gradSchoolEmail');
Severity: Critical
Found in class/InternSettings.php by phan

@throws type of getInternationalRegEmail has undeclared type \Intern\InvalidArgumentException (Did you mean class \InvalidArgumentException)
Open

    public function getInternationalRegEmail()
Severity: Minor
Found in class/InternSettings.php by phan

There are no issues that match your filters.

Category
Status