Showing 6,675 of 6,675 total issues
Call to method newDB
from undeclared class \phpws2\Database
Open
Open
$db = Database::newDB();
- Create a ticketCreate a ticket
- Exclude checks
Call with 1 arg(s) to \Intern\EmergencyContact::getName()
which only takes 0 arg(s) defined at /code/class/EmergencyContact.php:96
Open
Open
$name = $contact->getName($copyId);
- Create a ticketCreate a ticket
- Exclude checks
Call to method initModClass
from undeclared class \PHPWS_Core
Open
Open
PHPWS_Core::initModClass('users', 'Permission.php');
- Create a ticketCreate a ticket
- Exclude checks
Call to method registerPermissions
from undeclared class \Users_Permission
Open
Open
Users_Permission::registerPermissions('intern', $content);
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \PHPWS_DB
Open
Open
$db = new \PHPWS_DB('intern_affiliation_agreement');
- Create a ticketCreate a ticket
- Exclude checks
Doc-block of $phpwsUser
in __construct
contains phpdoc param type \Intern\PHPWS_User
which is incompatible with the param type ?\PHPWS_User
declared in the signature Open
Open
* @param PHPWS_User $phpwsUser
- Create a ticketCreate a ticket
- Exclude checks
Call to method simple
from undeclared class \NQ
Open
Open
\NQ::simple('intern', \Intern\UI\NotifyUI::ERROR, 'You do not have permission to create new internships.');
- Create a ticketCreate a ticket
- Exclude checks
Argument 1 (student)
is \Intern\DataProvider\Student\Intern\Student
but \Intern\Internship::__construct()
takes \Intern\Student
defined at /code/class/Internship.php:137
Open
Open
$intern = new Internship($student, $term, $location, $state, $country, $department, $sub, $supervisor);
- Create a ticketCreate a ticket
- Exclude checks
Call to method simple
from undeclared class \NQ
Open
Open
\NQ::simple('intern', \Intern\UI\NotifyUI::SUCCESS, "Created internship for {$intern->getFullName()}");
- Create a ticketCreate a ticket
- Exclude checks
Call to method allow
from undeclared class \Current_User
Open
Open
if(!\Current_User::allow('intern', 'affiliation_agreement')){
- Create a ticketCreate a ticket
- Exclude checks
Call to method allow
from undeclared class \Current_User
Open
Open
if(!\Current_User::allow('intern', 'affiliation_agreement')){
- 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
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
$internship = InternshipFactory::getInternshipById($_REQUEST['internshipId']);
- 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
Call to method registerPermissions
from undeclared class \Users_Permission
Open
Open
Users_Permission::registerPermissions('intern', $content);
- Create a ticketCreate a ticket
- Exclude checks
@throws type of getAffiliationById
has undeclared type \Intern\InternshipNotFoundException
(Did you mean class \Intern\Exception\InternshipNotFoundException) Open
Open
public static function getAffiliationById($id)
- Create a ticketCreate a ticket
- Exclude checks
Doc-block of $toState
in __construct
is phpdoc param type \Intern\WorkflowState
which is not a permitted replacement of the nullable param type ?\Intern\WorkflowState
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param WorkflowState $toState
- 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 = Database::newDB();
- Create a ticketCreate a ticket
- Exclude checks