AppStateESS/InternshipInventory

View on GitHub
class/Command/SettingsRest.php

Summary

Maintainability
A
0 mins
Test Coverage

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

execute accesses the super-global variable $_SERVER.
Open

    public function execute(){

        if(!\Current_User::allow('intern', 'affiliation_agreement')){
            \NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, 'You do not have permission to edit admin settings.');
            throw new \Intern\Exception\PermissionException('You do not have permission to edit admin settings.');
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

post accesses the super-global variable $_REQUEST.
Open

    public function post(){
        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

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

            throw new \Intern\Exception\PermissionException('You do not have permission to edit admin settings.');
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','graduateRegEmail',$_REQUEST['graduateRegEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
Severity: Minor
Found in class/Command/SettingsRest.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 'get'.
Open

        return \PHPWS_Settings::get('intern');
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','gradSchoolEmail',$_REQUEST['gradSchoolEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','fromEmail',$_REQUEST['fromEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','wsdlUri',$_REQUEST['wsdlUri']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','uncaughtExceptionEmail',$_REQUEST['uncaughtExceptionEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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 '\Current_User' in method 'execute'.
Open

        if(!\Current_User::allow('intern', 'affiliation_agreement')){
Severity: Minor
Found in class/Command/SettingsRest.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 '\NQ' in method 'execute'.
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, 'You do not have permission to edit admin settings.');
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','backgroundCheckEmail',$_REQUEST['backgroundCheckEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::save('intern');
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','internationalOfficeEmail',$_REQUEST['internationalOfficeEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','emailDomain',$_REQUEST['emailDomain']);
Severity: Minor
Found in class/Command/SettingsRest.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 'post'.
Open

        \PHPWS_Settings::set('intern','unusualCourseEmail',$_REQUEST['unusualCourseEmail']);
Severity: Minor
Found in class/Command/SettingsRest.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

The method execute() contains an exit expression.
Open

                exit;
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

ExitExpression

Since: 0.2

An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

Example

class Foo {
    public function bar($param)  {
        if ($param === 42) {
            exit(23);
        }
    }
}

Source https://phpmd.org/rules/design.html#exitexpression

The method execute() contains an exit expression.
Open

                exit;
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

ExitExpression

Since: 0.2

An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

Example

class Foo {
    public function bar($param)  {
        if ($param === 42) {
            exit(23);
        }
    }
}

Source https://phpmd.org/rules/design.html#exitexpression

The method execute() contains an exit expression.
Open

                exit;
Severity: Minor
Found in class/Command/SettingsRest.php by phpmd

ExitExpression

Since: 0.2

An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

Example

class Foo {
    public function bar($param)  {
        if ($param === 42) {
            exit(23);
        }
    }
}

Source https://phpmd.org/rules/design.html#exitexpression

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','registrarEmail',$_REQUEST['registrarEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','fromEmail',$_REQUEST['fromEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','distanceEdEmail',$_REQUEST['distanceEdEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','backgroundCheckEmail',$_REQUEST['backgroundCheckEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method save from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::save('intern');
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','internationalRegEmail',$_REQUEST['internationalRegEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','gradSchoolEmail',$_REQUEST['gradSchoolEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method allow from undeclared class \Current_User
Open

        if(!\Current_User::allow('intern', 'affiliation_agreement')){
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','emailDomain',$_REQUEST['emailDomain']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','unusualCourseEmail',$_REQUEST['unusualCourseEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','uncaughtExceptionEmail',$_REQUEST['uncaughtExceptionEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','graduateRegEmail',$_REQUEST['graduateRegEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','internationalOfficeEmail',$_REQUEST['internationalOfficeEmail']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method set from undeclared class \PHPWS_Settings
Open

        \PHPWS_Settings::set('intern','wsdlUri',$_REQUEST['wsdlUri']);
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, 'You do not have permission to edit admin settings.');
Severity: Critical
Found in class/Command/SettingsRest.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        return \PHPWS_Settings::get('intern');
Severity: Critical
Found in class/Command/SettingsRest.php by phan

There are no issues that match your filters.

Category
Status