Drop the old `\PHPExcel_Calculation_Functions::VERSION()`

This fucntion does not exist in Excel and it is non trivial to implement
without svn. Thus it was incorrect for many releases.
This commit is contained in:
Adrien Crivelli 2016-12-03 11:19:22 +09:00
parent 854f7e838d
commit 4b0d3c8c1c
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
6 changed files with 2 additions and 18 deletions

View File

@ -36,6 +36,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
For a comprehensive list of all class changes, and a semi-automated migration path, read the [migration guide](./docs/Migration-from-PHPExcel.md). For a comprehensive list of all class changes, and a semi-automated migration path, read the [migration guide](./docs/Migration-from-PHPExcel.md).
- Dropped `\PHPExcel_Calculation_Functions::VERSION()`. Composer or git should be used to know the version.
## [1.8.1] - 2015-04-30 ## [1.8.1] - 2015-04-30
### Bugfixes ### Bugfixes

View File

@ -179,7 +179,6 @@ ISTEXT | \PhpOffice\PhpSpreadsheet\Calculation\Functions::IS_TEXT
N | \PhpOffice\PhpSpreadsheet\Calculation\Functions::N N | \PhpOffice\PhpSpreadsheet\Calculation\Functions::N
NA | \PhpOffice\PhpSpreadsheet\Calculation\Functions::NA NA | \PhpOffice\PhpSpreadsheet\Calculation\Functions::NA
TYPE | \PhpOffice\PhpSpreadsheet\Calculation\Functions::TYPE TYPE | \PhpOffice\PhpSpreadsheet\Calculation\Functions::TYPE
VERSION | \PhpOffice\PhpSpreadsheet\Calculation\Functions::VERSION
## CATEGORY_LOGICAL ## CATEGORY_LOGICAL

View File

@ -451,7 +451,6 @@ VARA | CATEGORY_STATISTICAL | \PhpOffice\PhpSpreadsheet
VARP | CATEGORY_STATISTICAL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARP VARP | CATEGORY_STATISTICAL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARP
VARPA | CATEGORY_STATISTICAL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARPA VARPA | CATEGORY_STATISTICAL | \PhpOffice\PhpSpreadsheet\Calculation\Statistical::VARPA
VDB | CATEGORY_FINANCIAL | **Not yet Implemented** VDB | CATEGORY_FINANCIAL | **Not yet Implemented**
VERSION | CATEGORY_INFORMATION | \PhpOffice\PhpSpreadsheet\Calculation\Functions::VERSION
VLOOKUP | CATEGORY_LOOKUP_AND_REFERENCE | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::VLOOKUP VLOOKUP | CATEGORY_LOOKUP_AND_REFERENCE | \PhpOffice\PhpSpreadsheet\Calculation\LookupRef::VLOOKUP
## W ## W

View File

@ -1948,11 +1948,6 @@ class Calculation
'functionCall' => 'Calculation\Categories::DUMMY', 'functionCall' => 'Calculation\Categories::DUMMY',
'argumentCount' => '5-7', 'argumentCount' => '5-7',
], ],
'VERSION' => [
'category' => Calculation\Categories::CATEGORY_INFORMATION,
'functionCall' => 'Calculation\Categories::VERSION',
'argumentCount' => '0',
],
'VLOOKUP' => [ 'VLOOKUP' => [
'category' => Calculation\Categories::CATEGORY_LOOKUP_AND_REFERENCE, 'category' => Calculation\Categories::CATEGORY_LOOKUP_AND_REFERENCE,
'functionCall' => '\\PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef::VLOOKUP', 'functionCall' => '\\PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef::VLOOKUP',

View File

@ -472,16 +472,6 @@ class Functions
return !self::isText($value); return !self::isText($value);
} }
/**
* VERSION
*
* @return string Version information
*/
public static function VERSION()
{
return 'PhpSpreadsheet ##VERSION##, ##DATE##';
}
/** /**
* N * N
* *

View File

@ -335,7 +335,6 @@ VARA
VARP VARP
VARPA VARPA
VDB VDB
VERSION
VLOOKUP VLOOKUP
WEEKDAY WEEKDAY
WEEKNUM WEEKNUM