Showing 6,675 of 6,675 total issues
Variable $link
was undeclared, but array fields are being added to it. Open
Open
$link[] = array(
- Create a ticketCreate a ticket
- Exclude checks
@throws type of getAffiliationById
has undeclared type \Intern\InvalidArgumentException
(Did you mean class \InvalidArgumentException) Open
Open
public static function getAffiliationById($id)
- Create a ticketCreate a ticket
- Exclude checks
Returning type null
but getAffiliationById()
is declared to return \Intern\AffiliationAgreement
Open
Open
return null;
- Create a ticketCreate a ticket
- Exclude checks
Call to method process
from undeclared class \PHPWS_Template
Open
Open
return \PHPWS_Template::process($tpl, 'intern', 'changeHistory.tpl');
- Create a ticketCreate a ticket
- Exclude checks
Call to method reroute
from undeclared class \PHPWS_Core
Open
Open
return \PHPWS_Core::reroute('index.php?module=intern&action=ShowAddInternship');
- Create a ticketCreate a ticket
- Exclude checks
Possibly zero references to use statement for classlike/namespace AffiliationAgreementFactory
(\Intern\AffiliationAgreementFactory)
Open
Open
use \Intern\AffiliationAgreementFactory;
- 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
Argument 1 (id)
is string|string[]
but \Intern\AffiliationAgreementFactory::getAffiliationById()
takes int
defined at /code/class/AffiliationAgreementFactory.php:35
Open
Open
$agreement = AffiliationAgreementFactory::getAffiliationById($affiliationId);
- 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 simple
from undeclared class \NQ
Open
Open
\NQ::simple('intern', \Intern\UI\NotifyUI::WARNING, 'You do not have permission to affiliation agreement.');
- 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 addColumn
from undeclared class \Intern\PHPWS_DB
Open
Open
$db->addColumn('id', $count=true);
- Create a ticketCreate a ticket
- Exclude checks
Saw misspelled annotation @returns.
Did you mean @return?
Open
Open
* @returns AffiliationAgreement
- Create a ticketCreate a ticket
- Exclude checks
Parameter $phpwsUser
has undeclared type ?\PHPWS_User
Open
Open
public function __construct(Internship $i = null, \PHPWS_User $phpwsUser = null, $timestamp = null, WorkflowState $fromState = null, WorkflowState $toState = null, $note = null)
- Create a ticketCreate a ticket
- Exclude checks
Call to method allow
from undeclared class \Current_User
Open
Open
if(!\Current_User::allow('intern', 'create_internship')){
- Create a ticketCreate a ticket
- Exclude checks
Call to method home
from undeclared class \PHPWS_Core
Open
Open
\PHPWS_Core::home();
- Create a ticketCreate a ticket
- Exclude checks
Reference to undeclared property \Intern\AffiliationAgreement->depratments
Open
Open
$agreement->depratments = array();
- 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 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 reroute
from undeclared class \PHPWS_Core
Open
Open
return \PHPWS_Core::reroute('index.php?module=intern&action=ShowInternship&internship_id=' . $copyId);
- Create a ticketCreate a ticket
- Exclude checks