Showing 6,675 of 6,675 total issues
Call to method loadObject
from undeclared class \PHPWS_DB
Open
Open
$result = $db->loadObject($instance);
- Create a ticketCreate a ticket
- Exclude checks
Call to method allow
from undeclared class \Current_User
Open
Open
if(!\Current_User::allow('intern', 'all_departments') && !\Current_User::isDeity()){
- Create a ticketCreate a ticket
- Exclude checks
Call to method simple
from undeclared class \NQ
Open
Open
\NQ::simple('intern', \Intern\UI\NotifyUI::WARNING,
- Create a ticketCreate a ticket
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$supervisor->supervisor_last_name = self::trimField($_REQUEST['supervisor_last_name']);
- Create a ticketCreate a ticket
- Exclude checks
Call to method getOne
from undeclared class \PHPWS_DB
Open
Open
$userId = \PHPWS_DB::getOne("SELECT id FROM users WHERE username = 'mcnaneym'");
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \PHPWS_User
Open
Open
$user = new \PHPWS_User($userId);
- Create a ticketCreate a ticket
- Exclude checks
Call to method set
from undeclared class \PHPWS_Settings
Open
Open
\PHPWS_Settings::set('intern','uncaughtExceptionEmail',$_REQUEST['uncaughtExceptionEmail']);
- Create a ticketCreate a ticket
- Exclude checks
Call to method close
from undeclared class \NQ
Open
Open
\NQ::close();
- Create a ticketCreate a ticket
- Exclude checks
Argument 1 (termCode)
is int
but \Intern\TermFactory::getTermByTermCode()
takes string
defined at /code/class/TermFactory.php:32
Open
Open
$term = TermFactory::getTermByTermCode($intern->getTerm());
- Create a ticketCreate a ticket
- Exclude checks
Call to method newDB
from undeclared class \phpws2\Database
Open
Open
$db = \phpws2\Database::newDB();
- Create a ticketCreate a ticket
- Exclude checks
Call to method newDB
from undeclared class \phpws2\Database
Open
Open
$db = Database::newDB();
- Create a ticketCreate a ticket
- Exclude checks
Method \Intern\DataProvider\Student\LocalDbStudentDataProvider::getFacultyMember
is declared to return \Intern\DataProvider\Student\stdClass
but has no return value Open
Open
public function getFacultyMember($facultyId)
- Create a ticketCreate a ticket
- Exclude checks
Call to method initModClass
from undeclared class \PHPWS_Core
Open
Open
\PHPWS_Core::initModClass($class . '.php');
- Create a ticketCreate a ticket
- Exclude checks
Call to method logIfError
from undeclared class \PHPWS_Error
Open
Open
if (\PHPWS_Error::logIfError($result)) {
- Create a ticketCreate a ticket
- Exclude checks
Suspicious type \Intern\unknown
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
$query = "SELECT * FROM intern_department WHERE id = $id";
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \Intern\DatabaseException
Open
Open
throw new DatabaseException($result->toString());
- Create a ticketCreate a ticket
- Exclude checks
Returning type null
but getDepartmentById()
is declared to return \Intern\Department
Open
Open
return null;
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \PHPWS_DB
Open
Open
$db = new \PHPWS_DB('intern_department');
- Create a ticketCreate a ticket
- Exclude checks
Call to method addSubmit
from undeclared class \PHPWS_Form
Open
Open
$this->form->addSubmit('submit', 'Save');
- Create a ticketCreate a ticket
- Exclude checks
Call to method getAll
from undeclared class \PHPWS_DB
Open
Open
$results = \PHPWS_DB::getAll($sql);
- Create a ticketCreate a ticket
- Exclude checks