Showing 6,675 of 6,675 total issues
Argument 1 (id)
is string|string[]
but \Intern\InternshipFactory::getInternshipById()
takes int
defined at /code/class/InternshipFactory.php:37
Open
Open
$internship = InternshipFactory::getInternshipById($internshipId);
- Create a ticketCreate a ticket
- Exclude checks
Call to method simple
from undeclared class \NQ
Open
Open
\NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, 'You do not have permission to add Affiliation Agreements.');
- Create a ticketCreate a ticket
- Exclude checks
Invalid offset 0
of array type array{}
Open
Open
$i->major_code = $majors[0]->getCode();
- Create a ticketCreate a ticket
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$supervisor = SupervisorFactory::getSupervisorById($_REQUEST['supervisor_id']);
- Create a ticketCreate a ticket
- Exclude checks
Reference to undeclared constant \PHPWS_SOURCE_DIR
Open
Open
require_once(PHPWS_SOURCE_DIR . 'inc/intern_defines.php');
- Create a ticketCreate a ticket
- Exclude checks
Possibly zero references to use statement for classlike/namespace Department
(\Intern\Department)
Open
Open
use \Intern\Department;
- Create a ticketCreate a ticket
- Exclude checks
Return type of getFacultyMember()
is undeclared type \Intern\DataProvider\Student\stdClass
(Did you mean class \stdClass) Open
Open
public function getFacultyMember($facultyId){
- Create a ticketCreate a ticket
- Exclude checks
Call to method addOrder
from undeclared class \PHPWS_DB
Open
Open
$db->addOrder('name');
- Create a ticketCreate a ticket
- Exclude checks
Call to method setAction
from undeclared class \PHPWS_Form
Open
Open
$this->form->setAction('index.php?module=intern&action=ShowInternship&internship_id=' . $this->intern->getId());
- 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 newDB
from undeclared class \phpws2\Database
Open
Open
$db = Database::newDB();
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \Intern\Command\InvalidArgumentException
(Did you mean class \InvalidArgumentException) Open
Open
throw new InvalidArgumentException('Missing contact name.');
- Create a ticketCreate a ticket
- Exclude checks
Call to method simple
from undeclared class \NQ
Open
Open
\NQ::simple('intern', \Intern\UI\NotifyUI::SUCCESS, 'Saved internship for ' . $affiliate_agreement->getName());
- Create a ticketCreate a ticket
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$subInfo = SubHostFactory::getSubById($_REQUEST['sub_host']);
- Create a ticketCreate a ticket
- Exclude checks
Call to method getDescription
on non-class type null
Open
Open
$i->major_description = $majors[0]->getDescription();
- Create a ticketCreate a ticket
- Exclude checks
Call to method initModClass
from undeclared class \PHPWS_Core
Open
Open
\PHPWS_Core::initModClass('users', 'Users.php');
- Create a ticketCreate a ticket
- Exclude checks
Call to method set
from undeclared class \PHPWS_Settings
Open
Open
\PHPWS_Settings::set('intern','internationalOfficeEmail',$_REQUEST['internationalOfficeEmail']);
- Create a ticketCreate a ticket
- Exclude checks
Call to method simple
from undeclared class \NQ
Open
Open
\NQ::simple('intern', \Intern\UI\NotifyUI::ERROR, 'Could not locate an internship with the given ID.');
- 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 getUsername
from undeclared class \Current_User
Open
Open
return new BannerMajorsProvider(\Current_User::getUsername());
- Create a ticketCreate a ticket
- Exclude checks