AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Call to method simple from undeclared class \NQ
Open

            \NQ::simple('intern', \Intern\UI\NotifyUI::ERROR, 'Could not locate an internship with the given ID.');
Severity: Critical
Found in class/Command/ShowInternship.php by phan

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

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

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

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

Returning type \Intern\Student but getStudent() is declared to return \Intern\DataProvider\Student\Intern\Student
Open

        return $student;

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

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

Return type of getFacultyMember() is undeclared type \Intern\DataProvider\Student\stdClass (Did you mean class \stdClass)
Open

    public function getFacultyMember($facultyId)

Call to method get from undeclared class \PHPWS_Settings
Open

        $this->apiKey = \PHPWS_Settings::get('intern', 'wsdlUri');

Call to method isLogged from undeclared class \Current_User
Open

        if(!\Current_User::isLogged()){

Saw possibly unextractable annotation for a fragment of comment '* @param string StudentId': after string, did not see an element name (will guess based on comment order)
Open

     * @param string StudentId

Call to method addValue from undeclared class \PHPWS_DB
Open

            $db->addValue($key, $value);
Severity: Critical
Found in class/DatabaseStorage.php by phan

Call to method __construct from undeclared class \PHPWS_DB
Open

        $db = new \PHPWS_DB('intern_department');
Severity: Critical
Found in class/DepartmentFactory.php by phan

Call to method get from undeclared class \PHPWS_Settings
Open

        $this->apiKey = \PHPWS_Settings::get('intern', 'wsdlUri');

Call to method addOrder from undeclared class \PHPWS_DB
Open

        $db->addOrder('name');
Severity: Critical
Found in class/DepartmentFactory.php by phan

Call to method isLogged from undeclared class \Current_User
Open

        if(!\Current_User::isLogged()){

Call to method __construct from undeclared class \BannerPermissionException (Did you mean class \Intern\Exception\BannerPermissionException)
Open

            throw new \BannerPermissionException('You do not have permission to access student data.');

Call to method __construct from undeclared class \PHPWS_DB
Open

        return new \PHPWS_DB('intern_department');
Severity: Critical
Found in class/Department.php by phan

Call to method isDeity from undeclared class \Current_User
Open

        if(!\Current_User::allow('intern', 'all_departments') && !\Current_User::isDeity()){
Severity: Critical
Found in class/DepartmentFactory.php by phan

Call to method select from undeclared class \PHPWS_DB
Open

        $depts += $db->select('col');
Severity: Critical
Found in class/DepartmentFactory.php by phan

Call to method mergeTemplate from undeclared class \PHPWS_Form
Open

        $this->form->mergeTemplate($this->getTemplateTags());
Severity: Critical
Found in class/EditInternshipFormView.php by phan

Call to method addSubmit from undeclared class \PHPWS_Form
Open

            $this->form->addSubmit('submit', 'Refresh');
Severity: Critical
Found in class/EditInternshipFormView.php by phan
Severity
Category
Status
Source
Language