Adrien Crivelli
557e80dc03
Rename classes to keep them in their related namespaces
2017-10-29 17:39:42 +09:00
Maxim
088a76737e
Fix DAY() function with 0<x<1 input ( #230 )
...
Also bring support for OpenOffice DATE() calculation method
2017-10-04 12:57:01 +09:00
Adrien Crivelli
68bb90bb6e
Remove PHPUnit group fail19, because it has no use anymore
2017-09-30 12:18:14 +09:00
Maxim
810f174d6e
Fix INDEX() function when rows count less than row number ( #233 )
2017-09-30 12:13:20 +09:00
Adrien Crivelli
aef4d711f5
Use `self::assert*()` instead of `$this->assert*()`
...
Because even if it doesn't make a difference in practice, it is
technically more correct to call static methods statically. It
also better advertise that those methods can be used from any context.
2017-09-22 14:22:44 +09:00
Zharikov Viktor
07455d24f6
Make global usage of `use` instead of FQCN
...
Closes #78
Closes #147
2017-05-18 00:10:16 +02:00
Paolo Agostinetto
fd83c191ea
MATCH function behavior when third parameter is equal to 1 or -1
...
Fixes #51
Closes #122
2017-04-01 12:36:02 +09:00
Adrien Crivelli
8dddf56c2e
Use proper syntax for variadic functions
...
This simplify code, increase readability and improve the function
signature for API users.
2017-01-23 15:01:20 +09:00
Adrien Crivelli
8c66afe39a
Upgrade to PHP-CS-Fixer 2.0
2016-12-22 23:46:26 +09:00
Adrien Crivelli
431a1799fb
Fix unit tests for YEARFRAC()
2016-10-02 15:17:52 +09:00
Adrien Crivelli
8c4c11346b
Fix unit tests for DATEDIF()
...
Leap years where not properly taken into consideration
2016-10-02 14:46:11 +09:00
Adrien Crivelli
8061f7516e
Rename SECONDOFMINUTE into SECOND for consistency
2016-10-02 09:43:13 +09:00
Adrien Crivelli
b5af5a772e
Fix unit tests for SECOND()
2016-10-02 09:42:14 +09:00
Adrien Crivelli
75c34f2694
Rename MINUTEOFHOUR into MINUTE for consistency
2016-10-02 09:41:20 +09:00
Adrien Crivelli
7de0439b96
Fix unit tests for MINUTE()
2016-10-02 09:40:07 +09:00
Adrien Crivelli
c15ab515a7
Fix unit tests for testTIMEVALUEtoPHP
2016-10-02 09:37:52 +09:00
Adrien Crivelli
382d15a5c3
Rename DAYOFWEEK into WEEKDAY for consistency
2016-10-02 09:35:50 +09:00
Adrien Crivelli
4c41a6992a
Fix unit tests for testTIMEtoPHP
2016-10-02 09:31:14 +09:00
Adrien Crivelli
60533a4f59
Fix unit tests for WEEKDAY()
...
In Excel the expected value was incorrect (but it would be different
for LibreOffice)
2016-10-02 09:28:00 +09:00
Adrien Crivelli
9629151e45
Rename WEEKOFYEAR into WEEKNUM for consistency
2016-10-01 22:44:33 +09:00
Adrien Crivelli
23fbc845dd
Fix unit tests for WEEKNUM()
2016-10-01 22:33:12 +09:00
Adrien Crivelli
47cde0dadc
Introduce vendor prefix `PhpOffice` to namespace
2016-09-01 02:20:47 +09:00
Adrien Crivelli
f917b3b1f4
Avoid `call_user_func()` whenever possible
2016-08-26 15:39:29 +09:00
Adrien Crivelli
20ccfa0d59
Fix unit tests for MDETERM()
2016-08-25 14:23:26 +09:00
Adrien Crivelli
29bdbd4e0b
Respect PSR-0 with matching folder name and namespace `PhpSpreadsheetTests`
2016-08-25 13:53:15 +09:00