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

ZarafaException

Complexity

Total Complexity 0

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
c 0
b 0
f 0
wmc 0
1
<?php
2
3
require_once(BASE_PATH . 'server/includes/mapi/class.baseexception.php');
4
5
/**
6
 * Defines a base exception class for custom zarafa generated exceptions, these exceptions
7
 * are generated and handled by our application only.
8
 */
9
class ZarafaException extends BaseException
10
{
11
}
12
?>
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...