Clean code
This commit is contained in:
parent
c886bad8b6
commit
72ff6f9c81
@ -143,12 +143,14 @@ class CdavLib
|
||||
$location = trim($location.', '.$obj->soc_country_label);
|
||||
}
|
||||
|
||||
/*
|
||||
$address = explode("\n", $obj->address, 2);
|
||||
foreach ($address as $kAddr => $vAddr) {
|
||||
$address[$kAddr] = trim(str_replace(array("\r", "\t"), ' ', str_replace("\n", ' | ', trim($vAddr))));
|
||||
}
|
||||
$address[] = '';
|
||||
$address[] = '';
|
||||
*/
|
||||
|
||||
if ($obj->percent == -1 && trim($obj->datep) != '') {
|
||||
$type = 'VEVENT';
|
||||
|
||||
@ -60,4 +60,5 @@ exclude:
|
||||
- name: PhpRegExpRedundantModifierInspection
|
||||
- name: PhpClassConstantAccessedViaChildClassInspection
|
||||
- name: RegExpUnnecessaryNonCapturingGroup
|
||||
|
||||
- name: PhpPregMatchReplaceWithComparisonInspection
|
||||
- name: PhpArrayWriteIsNotUsedInspection
|
||||
Loading…
Reference in New Issue
Block a user