app/Integrations/Dav/Backend/CalendarSchedule.php
Parameter $server
has undeclared type \Sabre\DAV\server
Open
Open
public function initialize(DAV\Server $server)
- Exclude checks
Reference to instance property recipient
from undeclared class \Sabre\VObject\ITip\message
Open
Open
if ('mailto' !== parse_url($iTipMessage->recipient, PHP_URL_SCHEME)) {
- Exclude checks
Class extends undeclared class \Sabre\DAV\serverplugin
Open
Open
class CalendarSchedule extends DAV\ServerPlugin
- Exclude checks
Property \App\Integrations\Dav\Backend\CalendarSchedule->server
has undeclared type \Sabre\DAV\server
Open
Open
protected $server;
- Exclude checks
Reference to instance property scheduleStatus
from undeclared class \Sabre\VObject\ITip\message
Open
Open
if (!$iTipMessage->scheduleStatus) {
- Exclude checks
Reference to instance property scheduleStatus
from undeclared class \Sabre\VObject\ITip\message
Open
Open
$iTipMessage->scheduleStatus = '1.0;We got the message, but it\'s not significant enough to warrant an email';
- Exclude checks
Reference to instance property sender
from undeclared class \Sabre\VObject\ITip\message
Open
Open
if ('mailto' !== parse_url($iTipMessage->sender, PHP_URL_SCHEME)) {
- Exclude checks
Call to method on
from undeclared class \Sabre\DAV\server
Open
Open
$server->on('schedule', [$this, 'schedule'], 120);
- Exclude checks
Reference to instance property significantChange
from undeclared class \Sabre\VObject\ITip\message
Open
Open
if (!$iTipMessage->significantChange) {
- Exclude checks
Parameter $iTipMessage
has undeclared type \Sabre\VObject\ITip\message
Open
Open
public function schedule(ITip\Message $iTipMessage)
- Exclude checks
Reference to instance property scheduleStatus
from undeclared class \Sabre\VObject\ITip\message
Open
Open
$iTipMessage->scheduleStatus = '1.1; Scheduling message is sent via ' . $this->getPluginName();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var DAV\Server
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$iTipMessage->scheduleStatus = '1.0;We got the message, but it\'s not significant enough to warrant an email';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return string
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Browser plugin.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->server = $server;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Returns a plugin name.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return 'Yeti CalDAV Schedule';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** @codeCoverageIgnoreEnd */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function getPluginInfo()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Reference to server object.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param \Sabre\DAV\Server $server
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* be sanitized.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param ITip\Message $iTipMessage
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function schedule(ITip\Message $iTipMessage)
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (!$iTipMessage->scheduleStatus) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Using this name other plugins will be able to access other plugins
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Returns a bunch of meta-data about the plugin.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Adds support for invitations, integrated with YetiForce CRM',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function getPluginName()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* The description key in the returned array may contain html and will not
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$server->on('schedule', [$this, 'schedule'], 120);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// insignificant.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* using \Sabre\DAV\Server::getPlugin
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function initialize(DAV\Server $server)
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ('mailto' !== parse_url($iTipMessage->recipient, PHP_URL_SCHEME)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Providing this information is optional, and is mainly displayed by the
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ('mailto' !== parse_url($iTipMessage->sender, PHP_URL_SCHEME)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (!$iTipMessage->significantChange) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Initializes the schedule.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Event handler for the 'schedule' event.
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
$iTipMessage->scheduleStatus = '1.0;We got the message, but it\'s not significant enough to warrant an email';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $server;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
// Not sending any emails if the system considers the update
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'name' => $this->getPluginName(),
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'link' => 'https://yetiforce.com/',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$iTipMessage->scheduleStatus = '1.1; Scheduling message is sent via ' . $this->getPluginName();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return array
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks