AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Possibly zero references to use statement for classlike/namespace PdoFactory (\Intern\PdoFactory)
Open

use \Intern\PdoFactory;

Argument 1 (id) is string|string[] but \Intern\AffiliationAgreementFactory::getAffiliationById() takes int defined at /code/class/AffiliationAgreementFactory.php:35
Open

        $affiliation = AffiliationAgreementFactory::getAffiliationById($affiliationId);
Severity: Minor
Found in class/Command/AffiliateRest.php by phan

Call to method newDB from undeclared class \phpws2\Database
Open

        $db = \phpws2\Database::newDB();
Severity: Critical
Found in class/Command/ConditionRest.php by phan

Call to method newDB from undeclared class \phpws2\Database
Open

        $db = Database::newDB();
Severity: Critical
Found in class/Command/ConditionRest.php by phan

Call to method initModClass from undeclared class \PHPWS_Core
Open

            PHPWS_Core::initModClass('users', 'Permission.php');
Severity: Critical
Found in boost/update.php by phan

Call to method registerPermissions from undeclared class \Users_Permission
Open

            Users_Permission::registerPermissions('intern', $content);
Severity: Critical
Found in boost/update.php by phan

@throws type of save has undeclared type \Intern\InternshipNotFoundException (Did you mean class \Intern\Exception\InternshipNotFoundException)
Open

    public static function save(AffiliationAgreement $agreement)
Severity: Minor
Found in class/AffiliationAgreementFactory.php by phan

Possibly zero references to use statement for classlike/namespace DepartmentFactory (\Intern\DepartmentFactory)
Open

use \Intern\DepartmentFactory;
Severity: Minor
Found in class/Command/AffiliateDeptRest.php by phan

Call to method newDB from undeclared class \phpws2\Database
Open

        $db = Database::newDB();
Severity: Critical
Found in class/Command/AffiliateDeptRest.php by phan

Call to method isLogged from undeclared class \Current_User
Open

        if(!\Current_User::isLogged()){
Severity: Critical
Found in class/Command/AffiliateListRest.php by phan

Reference to undeclared property \Intern\AffiliationAgreement->states
Open

        $agreement->states = array();
Severity: Minor
Found in class/Command/AffiliateRest.php by phan

Call with 1 arg(s) to \Intern\EmergencyContact::getEmail() which only takes 0 arg(s) defined at /code/class/EmergencyContact.php:111
Open

            $email = $contact->getEmail($copyId);

Call to method isDeity from undeclared class \Current_User
Open

        if(!\Current_User::isDeity()){
Severity: Critical
Found in class/Command/DeleteInternship.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::SUCCESS, "Successfully deleted the internship.");
Severity: Critical
Found in class/Command/DeleteInternship.php by phan

Saw an @override annotation for method \Intern\Admin::getDb, but could not find an overridden method and it is not a magic method
Open

    public static function getDb()
Severity: Info
Found in class/Admin.php by phan

Call to method initModClass from undeclared class \PHPWS_Core
Open

      \PHPWS_Core::initModClass('intern', 'AffiliationAgreement.php');
Severity: Critical
Found in class/AffiliationAgreement.php by phan

Call to method addWhere from undeclared class \PHPWS_DB
Open

      $db->addWhere('agreement_id', $this->id);
Severity: Critical
Found in class/AffiliationAgreement.php by phan

Call to method addWhere from undeclared class \PHPWS_DB
Open

        $db->addWhere('id', $id);
Severity: Critical
Found in class/AffiliationAgreementFactory.php by phan

@throws type of save has undeclared type \Intern\Exception (Did you mean class \Exception)
Open

    public static function save(AffiliationAgreement $agreement)
Severity: Minor
Found in class/AffiliationAgreementFactory.php by phan

Reference to undeclared constant \PHPWS_SOURCE_HTTP
Open

        $absolutePath = PHPWS_SOURCE_HTTP . 'mod/intern/javascript/dist/' . $relativePath;
Severity: Minor
Found in class/AssetResolver.php by phan
Severity
Category
Status
Source
Language