Showing 6,675 of 6,675 total issues
Call to method __construct
from undeclared class \BannerPermissionException
(Did you mean class \Intern\Exception\BannerPermissionException) Open
Open
throw new \BannerPermissionException('You do not have permission to access student data.');
- Create a ticketCreate a ticket
- Exclude checks
Call to method addWhere
from undeclared class \PHPWS_DB
Open
Open
$db->addWhere('id', $vars['id']);
- Create a ticketCreate a ticket
- Exclude checks
Call to method getRow
from undeclared class \PHPWS_DB
Open
Open
$result = \PHPWS_DB::getRow($query);
- Create a ticketCreate a ticket
- Exclude checks
Call to method addWhere
from undeclared class \PHPWS_DB
Open
Open
$db->addWhere('hidden', 0, '=', 'OR');
- Create a ticketCreate a ticket
- Exclude checks
Possibly zero references to use statement for classlike/namespace MajorRest
(\Intern\Command\MajorRest)
Open
Open
use Intern\Command\MajorRest;
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \PHPWS_Form
Open
Open
$this->form = new \PHPWS_Form('internship');
- Create a ticketCreate a ticket
- Exclude checks
Call to method allow
from undeclared class \Current_User
Open
Open
if($this->intern->getStateName() != 'DeniedState' && \Current_User::allow('intern', 'create_internship')){
- 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 relationship.');
- 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
Call to method newDB
from undeclared class \phpws2\Database
Open
Open
$db = Database::newDB();
- Create a ticketCreate a ticket
- Exclude checks
Argument 1 (id)
is string|string[]
but \Intern\InternshipFactory::getInternshipById()
takes int
defined at /code/class/InternshipFactory.php:37
Open
Open
$i = \Intern\InternshipFactory::getInternshipById($_REQUEST['internship_id']);
- Create a ticketCreate a ticket
- Exclude checks
Call to method begin
from undeclared class \PHPWS_DB
Open
Open
\PHPWS_DB::begin();
- Create a ticketCreate a ticket
- Exclude checks
Call to method allow
from undeclared class \Current_User
Open
Open
if (\Current_User::allow('intern', 'change_term')) {
- Create a ticketCreate a ticket
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$i->setPreferredNameMetaphone(self::trimField($_REQUEST['student_preferred_name']));
- Create a ticketCreate a ticket
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$i->level = $_REQUEST['level'];
- Create a ticketCreate a ticket
- Exclude checks
Call to method getCode
on non-class type null
Open
Open
$i->major_code = $majors[0]->getCode();
- 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 loadAuthorization
from undeclared class \Current_User
Open
Open
\Current_User::loadAuthorization($user);
- Create a ticketCreate a ticket
- Exclude checks
Possibly zero references to use statement for classlike/namespace State
(\Intern\State)
Open
Open
use \Intern\State;
- Create a ticketCreate a ticket
- Exclude checks
Call to method set
from undeclared class \PHPWS_Settings
Open
Open
\PHPWS_Settings::set('intern','systemName',$_REQUEST['systemName']);
- Create a ticketCreate a ticket
- Exclude checks