mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-25 04:48:18 +00:00
Apply Scrutinzer patches for spacing
This commit is contained in:
@@ -49,26 +49,26 @@ foreach ($customPropertyList as $customPropertyName) {
|
||||
|
||||
/* Manipulate properties as appropriate for display purposes **/
|
||||
switch ($propertyType) {
|
||||
case 'i' : // integer
|
||||
case 'i': // integer
|
||||
$propertyType = 'integer number';
|
||||
break;
|
||||
case 'f' : // float
|
||||
case 'f': // float
|
||||
$propertyType = 'floating point number';
|
||||
break;
|
||||
case 's' : // string
|
||||
case 's': // string
|
||||
$propertyType = 'string';
|
||||
break;
|
||||
case 'd' : // date
|
||||
case 'd': // date
|
||||
$propertyValue = date('l, d<\s\up>S</\s\up> F Y g:i A', $propertyValue);
|
||||
$propertyType = 'date';
|
||||
break;
|
||||
case 'b' : // boolean
|
||||
case 'b': // boolean
|
||||
$propertyValue = ($propertyValue) ? 'TRUE' : 'FALSE';
|
||||
$propertyType = 'boolean';
|
||||
break;
|
||||
}
|
||||
|
||||
echo $propertyValue,' (',$propertyType,')<br />';
|
||||
echo $propertyValue, ' (', $propertyType, ')<br />';
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user