Commit Graph

1384 Commits

Author SHA1 Message Date
Adrien Crivelli a1f8551ccb
PHP 5.5 is the new minimum requirement
This is a decision annouced by @MarkBaker in Gitter to be able to
use `DateTimeInterface`.

Also remove deprecated composer option, and introduce caching for
faster CI tests
2016-08-13 23:43:07 +09:00
Adrien Crivelli 49d821f093
Autofix style code with phpcs
The entire project now pass phpcs check
2016-08-13 23:31:22 +09:00
MarkBaker 8569f04090 Fixes to ZipArchive cass when PCLZip being used
Fixes to default arguments when typehinted arguments in Chart writer are null values
Fix to gitignore for Examples folder/subfolders
2016-08-13 14:52:49 +01:00
MarkBaker 2da06e5b03 Another copy/paste error that has somehow sneaked into the date code 2016-08-13 13:38:10 +01:00
MarkBaker 558da2269d Fix a couple of errors that have sneaked into the date code, plus some minor problems in radar/scatter chart examples, and a spurious html comment that had sneaked into spreadsheet 2016-08-13 13:28:29 +01:00
MarkBaker 3886999957 Merge branch 'develop' of https://github.com/PHPOffice/PhpSpreadsheet into develop 2016-08-13 11:50:02 +01:00
MarkBaker 745499cc55 Changes to Date/Time conversion functions to use DateTime objects internally rather than unix timestamps;
Changes to Date/Time methods to make them more intuitive and correct (eg `excelToTimestamp` rather than `excelToPHP`)
TODO - Still need to write unit tests, and convert Examples to use the new names
2016-08-13 11:49:01 +01:00
MarkBaker 0ffd678c65 Composer reference changes 2016-08-13 11:43:52 +01:00
Mark Baker 9ecfc0c8b4 Merge pull request #10 from PowerKiKi/unit-tests-bessel
Fix unit tests for BESSEL functions
2016-08-13 11:40:19 +01:00
Mark Baker 408c1a9218 Merge pull request #11 from PowerKiKi/unit-tests-imexp
Fix unit tests for IMEXP() function
2016-08-13 11:40:11 +01:00
Mark Baker 98ccf97e55 Merge pull request #12 from PowerKiKi/unit-tests-base-conversion
Fix unit tests for all base conversion functions
2016-08-13 11:40:02 +01:00
Mark Baker d8abf076e7 Merge pull request #13 from PowerKiKi/unit-tests-accrint
Fix unit tests for ACCRINT() function
2016-08-13 11:39:49 +01:00
Adrien Crivelli af42b80eba
Fix unit tests for ACCRINT() function
The expected value were incorrect according to LibreOffice 5 and
Google Spreadsheet.
2016-08-07 20:54:30 +09:00
MarkBaker 55ef87adc4 Merge branch 'develop' of https://github.com/PHPOffice/PhpSpreadsheet into develop 2016-08-05 00:23:24 +01:00
MarkBaker 30bb53ebf8 Double call of PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::stringFromColumnIndex(0)) resulting in `PHP Warning: A non-numeric value encountered" 2016-08-05 00:22:19 +01:00
Adrien Crivelli 8fc29bd1b1
Fix unit tests for all base conversion functions
This include cases were artificial constraints were not checked
(eg: between -512 and 511 for `DECBIN`) and some bugs were 32
bits platform were assumed.

The following are covered:

`BIN2DEC`, `BIN2HEX`, `BIN2OCT`,
`DEC2BIN`, `DEC2HEX`, `DEC2OCT`,
`HEX2BIN`, `HEX2DEC`, `HEX2OCT`,
`OCT2BIN`, `OCT2DEC`, `OCT2HEX`
2016-08-01 02:48:51 +09:00
Adrien Crivelli 450c6ead99
Fix unit tests for IMEXP() function
The expected value were incorrect according to LibreOffice 5 and
wolframalpha.com.
2016-07-31 23:24:08 +09:00
Adrien Crivelli 3a38cc8f0a
Fix unit tests for BESSEL functions
Expected data were re-written by using LibreOffice 5 as a reference.
We kept only 8 decimals, because this is the precision used in tests,
and it's easier to read without scientific notation.

Also a few expected values were wrong so they were changed. The correct
expected values were confirmed by both LibreOffice 5 and wolframalpha.com.

Finally fixed an actual bug in code were a NaN value were returned instead of
the correct `#NUM!`.
2016-07-31 23:11:54 +09:00
Progi1984 ee08cafd70 Merge pull request #9 from gmsantos/patch-1
Add a missing comma on composer.json
2016-07-15 16:29:01 +02:00
MarkBaker 2291748a83 Fix for multiple worksheets, all with merge cells, in HTML Writer 2016-07-14 23:09:19 +01:00
Gabriel Machado a2ac7e626d Update composer.json
Missing comma :)

This package will replace PHPExcel ?
2016-07-14 18:02:23 -03:00
MarkBaker 962a822cf9 Update README with new name 2016-06-19 18:34:02 +01:00
MarkBaker 32250cd974 Updated composer for minimum PHP version 5.5 2016-06-19 18:26:38 +01:00
MarkBaker 1702d95333 Fix for XML settings, together with unit tests 2016-06-05 17:03:42 +01:00
Progi1984 36a9068b38 #401 : PHPUnit Fixes (Calculation > LookupRef) 2016-05-20 08:41:09 +02:00
Progi1984 6faed3bd58 #463 : Patch @domic-olga vlookup - incorrect value when not exact match 2016-05-19 14:38:50 +02:00
Progi1984 20d007abb1 #401 : PHPUnit Fixes (Calculation > Engineering) 2016-05-19 12:49:15 +02:00
Progi1984 248bdbf841 #401 : PHPUnit Fixes (Calculation > Engineering) 2016-05-19 12:31:40 +02:00
Progi1984 14c9fac305 Merge pull request #900 from ValentinNikolaev/patch-2
Fix: replace String with StringHelper in Font
2016-05-19 08:50:49 +02:00
Progi1984 98f7d4bf08 #401 : PHPUnit Fixes (Calculation > DateTime) 2016-05-19 08:49:09 +02:00
Valentin I. Nikolaev 5e4e6fe3ee Fix: replace String with StringHelper in Font
We use StringHelper::countCharacters, not String::countCharacters
2016-05-19 05:33:22 +03:00
Progi1984 104d8362ec #401 : PHPCS Fixes & Some PHPUnit Fixes 2016-05-18 13:51:56 +02:00
Progi1984 259ce457f3 #401 : PHPCS Fixes & Some PHPUnit Fixes 2016-05-18 13:37:00 +02:00
Progi1984 dffeb25a5f #401 : PHPCS Fixes 2016-05-18 09:02:39 +02:00
Progi1984 05643d16d5 #401 : PHPCS (Calculation\MathTrig & Logical) 2016-05-14 18:22:59 +02:00
Progi1984 12590bbf1e #401 : PHPCS (Calculation\Functions) 2016-05-14 10:29:38 +02:00
Progi1984 69e168271a #401 : PHPCS (Shared\StringHelper) 2016-05-14 09:51:58 +02:00
Progi1984 c0fe7c275d #401 : Fix for JpGraph 2016-05-14 09:43:02 +02:00
Progi1984 3942965fc4 #401 : Fix for JpGraph 2016-05-14 09:40:29 +02:00
Progi1984 ee4cb020f1 #401 : Fix for TcPDF & MPDF 2016-05-13 22:25:10 +02:00
Progi1984 984bf1f7de #401 : Fix for MPDF 2016-05-13 22:23:48 +02:00
Progi1984 0521be04fa #401 : Fix for TcPDF 2016-05-13 22:23:11 +02:00
Progi1984 2fed2de62d #401 : Fix for PHPCS 2016-05-13 22:06:18 +02:00
MarkBaker 3bb541c610 GH-879 Bug in file PHPExcel/Reader/CSV.php
Code logic identifying a defined separator when no separator is explicitly defined
Case-insensitive check when separator is explicitly defined
2016-04-14 23:20:07 +01:00
MarkBaker 343955453a General: (sim642) Pull Request 489 - Implement actual timezone adjustment into PHPExcel_Shared_Date::PHPToExcel 2016-03-31 23:50:57 +01:00
MarkBaker 18a45ee7a1 Bugfix: (vitalyrepin) Pull Request 869 - c:max and c:min elements shall NOT be inside c:orientation elements 2016-03-31 23:26:45 +01:00
Progi1984 727ab1ef34 #401 : Support for namespaces 2016-03-22 22:40:11 +01:00
Progi1984 04cceaae2b #401 : Support for namespaces (Fix PHPUnit) 2016-03-22 22:26:17 +01:00
Progi1984 c5b352169c #401 : Support for namespaces 2016-03-22 22:20:22 +01:00
Progi1984 218a062e0b #401 : Support for namespaces 2016-03-22 21:47:23 +01:00