Test Failed
Push — master ( 647c72...cd42b5 )
by
unknown
10:25
created

ContactListNotifier   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPropertiesList() 0 3 1
1
<?php
2
	require_once(__DIR__ . '/class.listnotifier.php');
3
4
	/**
5
	 * ContactListNotifier
6
	 *
7
	 * Generates notifications for changes to the
8
	 * Contact Folder contents.
9
	 */
10
	class ContactListNotifier extends ListNotifier
11
	{
12
		/**
13
		 * Obtain the list of Message Properties which should be returned
14
		 * to the client when a Message was changed.
15
		 * @return Array The properties mapping
16
		 */
17
		protected function getPropertiesList()
18
		{
19
			return $GLOBALS["properties"]->getContactListProperties();
20
		}
21
	}
22
?>
0 ignored issues
show
Best Practice introduced by
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...
23