AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Doc-block of $i in __construct is phpdoc param type \Intern\Internship which is not a permitted replacement of the nullable param type ?\Intern\Internship declared in the signature ('?T' should be documented as 'T|null' or '?T')
Open

     * @param Internship $i
Severity: Minor
Found in class/ChangeHistory.php by phan

Call to method logIfError from undeclared class \PHPWS_Error
Open

        if(\PHPWS_Error::logIfError($results)){
Severity: Critical
Found in class/ChangeHistoryFactory.php by phan

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

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

Call to method close from undeclared class \NQ
Open

            \NQ::close();
Severity: Critical
Found in class/Command/AddInternship.php by phan

Call to method isLogged from undeclared class \Current_User
Open

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

Call to method importFile from undeclared class \PHPWS_DB
Open

    $result = $db->importFile(PHPWS_SOURCE_DIR . 'mod/intern/boost/updates/' . $fileName);
Severity: Critical
Found in boost/update.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 initModClass from undeclared class \PHPWS_Core
Open

        \PHPWS_Core::initModClass('users', 'Current_User.php');
Severity: Critical
Found in class/Admin.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

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

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

Call to method isLogged from undeclared class \Current_User
Open

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

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::ERROR, 'You do not have permission to delete internships.');
Severity: Critical
Found in class/Command/DeleteInternship.php by phan

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

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

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

    $result = $db->importFile(PHPWS_SOURCE_DIR . 'mod/intern/boost/updates/' . $fileName);
Severity: Minor
Found in boost/update.php by phan

Call to method moduleLink from undeclared class \PHPWS_Text
Open

          $tpl['NAME']     = \PHPWS_Text::moduleLink($this->getName(), 'intern',
Severity: Critical
Found in class/AffiliationAgreement.php by phan

Call to method logIfError from undeclared class \PHPWS_Error
Open

        if(\PHPWS_Error::logIfError($result)){
Severity: Critical
Found in class/AffiliationAgreementFactory.php by phan

Reference to undeclared constant \PHPWS_SOURCE_DIR
Open

            $assetsString = file_get_contents(PHPWS_SOURCE_DIR . 'mod/intern/' . $assetsFile);
Severity: Minor
Found in class/AssetResolver.php by phan

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::ERROR, "This student does not have a valid 'level' field in Banner. This usually means the student is not currently enrolled. We recommend contacting the Registrar's Office to check this student's enrollment status.");
Severity: Critical
Found in class/Command/AddInternship.php by phan

Call to method close from undeclared class \NQ
Open

        \NQ::close();
Severity: Critical
Found in class/Command/AddInternship.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/AffiliateStateRest.php by phan
Severity
Category
Status
Source
Language