Un-deprecate `getCalculatedValue()`

Those were deprecated a long time ago in 59932b0cac
but their replacement seems to have never been added. 5 years later the
best solution is to un-deprecate them and if someday their replacement are
actually added, then we can re-deprecate them properly.

Closes #22
This commit is contained in:
Adrien Crivelli 2017-03-11 12:13:37 +09:00
parent ea5663bc00
commit b669d48f2f
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 2 additions and 5 deletions

View File

@ -259,8 +259,6 @@ class Cell
/**
* Get calculated cell value.
*
* @deprecated Since version 1.7.8 for planned changes to cell for array formula handling
*
* @param bool $resetLog Whether the calculation engine logger should be reset or not
*
* @throws Exception
@ -1037,7 +1035,7 @@ class Cell
}
/**
* @deprecated Since version 1.7.8 for planned changes to cell for array formula handling
* Set the formula attributes.
*
* @param mixed $pAttributes
*/
@ -1049,7 +1047,7 @@ class Cell
}
/**
* @deprecated Since version 1.7.8 for planned changes to cell for array formula handling
* Get the formula attributes.
*/
public function getFormulaAttributes()
{

View File

@ -899,7 +899,6 @@ class Xlsx extends BaseReader implements IReader
// Formula
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToBoolean');
if (isset($c->f['t'])) {
$att = [];
$att = $c->f;
$docSheet->getCell($r)->setFormulaAttributes($att);
}