AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Reference to undeclared property \Intern\SubselectPager->limit
Open

                $this->limit = DBPAGER_DEFAULT_LIMIT;
Severity: Minor
Found in class/SubselectPager.php by phan

Reference to undeclared property \Intern\SubselectPager->current_page
Open

                $this->current_page = $this->total_pages;
Severity: Minor
Found in class/SubselectPager.php by phan

Reference to undeclared property \Intern\SubselectPager->orderby (Did you mean $orderby)
Open

            $orderby = $this->orderby;
Severity: Minor
Found in class/SubselectPager.php by phan

Reference to undeclared property \Intern\SubselectPager->class
Open

            $result = $this->db->getObjects($this->class);
Severity: Minor
Found in class/SubselectPager.php by phan

Variable $sqlCommand was undeclared, but array fields are being added to it.
Open

            $sqlCommand[] = $sqlRow;
Severity: Info
Found in class/SubselectDatabase.php by phan

Call to method get from undeclared class \PHPWS_Error
Open

                return PHPWS_Error::get(PHPWS_DB_IMPORT_FAILED, 'core', 'PHPWS_DB::import');
Severity: Critical
Found in class/SubselectDatabase.php by phan

Reference to undeclared property \Intern\SubselectDatabase->load_class
Open

        if ($this->load_class && is_array($this->load_class)) {
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method initModClass from undeclared class \PHPWS_Core
Open

                PHPWS_Core::initModClass($files[0], $files[1]);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Returning type ?int|?string but getObjects() is declared to return array
Open

            return $result;
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method pullTables from undeclared class \PHPWS_DB
Open

        $tables = PHPWS_DB::pullTables($sql);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Variable $subsql was undeclared, but array fields are being added to it.
Open

                $subsql[] = preg_replace("/([\s\W])$tbl(\W)|([\s\W])$tbl$/", '$1${3}' . $GLOBALS['PHPWS_DB']['tbl_prefix'] . $tbl . '$2', $v);
Severity: Info
Found in class/SubselectDatabase.php by phan

Call to method query from undeclared class \PHPWS_DB
Open

            $result = PHPWS_DB::query($val);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Argument 1 (str) is int but \strtolower() takes string
Open

            } elseif (strtolower($direction) == 'up') {
Severity: Minor
Found in class/SubselectDatabase.php by phan

Call to method begin from undeclared class \PHPWS_DB
Open

            PHPWS_DB::begin();
Severity: Critical
Found in class/SubselectDatabase.php by phan

Call to method query from undeclared class \PHPWS_DB
Open

            $result = PHPWS_DB::query($indexSql);
Severity: Critical
Found in class/SubselectDatabase.php by phan

Reference to undeclared property \Intern\SubselectDatabase->subselect_as
Open

            $this->subselect_as = $ssa;
Severity: Minor
Found in class/SubselectDatabase.php by phan

Reference to undeclared property \Intern\SubselectDatabase->load_class
Open

        $this->load_class[] = array($module, $file);
Severity: Minor
Found in class/SubselectDatabase.php by phan

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

use \PHPWS_DB;
Severity: Minor
Found in class/SubselectPager.php by phan

Call to method isError from undeclared class \PHPWS_Error
Open

        if (PHPWS_Error::isError($result) || !isset($result)) {
Severity: Critical
Found in class/SubselectDatabase.php by phan

Reference to undeclared property \Intern\SubselectPager->toggles
Open

        if (isset($this->toggles)) {
Severity: Minor
Found in class/SubselectPager.php by phan
Severity
Category
Status
Source
Language