Showing 6,675 of 6,675 total issues
Call to method addColumn
from undeclared class \PHPWS_DB
Open
Open
$db->addColumn('name');
- Create a ticketCreate a ticket
- Exclude checks
Call to method setIndexBy
from undeclared class \PHPWS_DB
Open
Open
$db->setIndexBy('id');
- Create a ticketCreate a ticket
- Exclude checks
Call to method addPageTitle
from undeclared class \Layout
Open
Open
\Layout::addPageTitle('Edit Internship');
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared function \javascript()
Open
Open
javascript('jquery_ui');
- 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
Call to method isLogged
from undeclared class \Current_User
Open
Open
if (!\Current_User::isLogged()) {
- Create a ticketCreate a ticket
- Exclude checks
Argument 1 (id)
is string|string[]
but \Intern\EmergencyContactFactory::getContactById()
takes int
defined at /code/class/EmergencyContactFactory.php:68
Open
Open
$contact = EmergencyContactFactory::getContactById($contactId);
- Create a ticketCreate a ticket
- Exclude checks
Argument 1 (id)
is string|string[]
but \Intern\DepartmentFactory::getDepartmentById()
takes \Intern\unknown
defined at /code/class/DepartmentFactory.php:36
Open
Open
$department = DepartmentFactory::getDepartmentById($departmentId);
- 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
Argument 1 (termCode)
is int
but \Intern\TermFactory::getTermByTermCode()
takes string
defined at /code/class/TermFactory.php:32
Open
Open
$term = TermFactory::getTermByTermCode($i->getTerm());
- Create a ticketCreate a ticket
- Exclude checks
Call to method simple
from undeclared class \NQ
Open
Open
\NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, 'The affiliation agreement begin date must be before the end date.');
- Create a ticketCreate a ticket
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$affiliate_agreement->setBeginDate(strtotime($_REQUEST['begin_date']));
- Create a ticketCreate a ticket
- Exclude checks
Call to method rollback
from undeclared class \PHPWS_DB
Open
Open
\PHPWS_DB::rollback();
- Create a ticketCreate a ticket
- Exclude checks
Assigning 0|false|int
to property but \Intern\Internship->start_date
is null
Open
Open
$i->start_date = !empty($_REQUEST['start_date']) ? strtotime($_REQUEST['start_date']) : 0;
- Create a ticketCreate a ticket
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$i->credits = isset($_POST['multipart']) && isset($_POST['secondary_part']) ? null : (int) $_REQUEST['credits'];
- Create a ticketCreate a ticket
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$supervisor->supervisor_country = $_REQUEST['supervisor_country'] == '-1' ? null : $_REQUEST['supervisor_country'];
- Create a ticketCreate a ticket
- Exclude checks
Call to method commit
from undeclared class \PHPWS_DB
Open
Open
\PHPWS_DB::commit();
- Create a ticketCreate a ticket
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
return \PHPWS_Core::reroute('index.php?module=intern&action=ShowInternship&internship_id=' . $i->id);
- Create a ticketCreate a ticket
- Exclude checks
Call to method set
from undeclared class \PHPWS_Settings
Open
Open
\PHPWS_Settings::set('intern','unusualCourseEmail',$_REQUEST['unusualCourseEmail']);
- Create a ticketCreate a ticket
- Exclude checks