Paolo Agostinetto
93b5337bda
Writer\Ods\Content: Fix CS
2017-03-04 17:18:18 +01:00
Paolo Agostinetto
4efda2a512
Ods\Writer\Content: added support for xr styles (bold, italic, font family, font size, underline, bg color)
2017-03-04 17:18:18 +01:00
Paolo Agostinetto
5620510991
Writer\Ods\Content: basic unit tests
2017-03-04 17:18:18 +01:00
Paolo Agostinetto
f3c62b615e
Merge remote-tracking branch 'upstream/develop' into fix-85
2017-02-20 21:13:03 +01:00
Paolo Agostinetto
9785f926c1
php-cs run: fixed code style for new/changed files
2017-02-20 21:05:25 +01:00
Paolo Agostinetto
a0321fd6fd
Removed PhpStorm comment on top of file
2017-02-20 21:02:49 +01:00
Paolo Agostinetto
c954eddf57
Ods reader: fix sheet count and added a test for sheet names
2017-02-20 21:02:04 +01:00
Paolo Agostinetto
6d6353c0f1
Ods reader: fix reading of cells with hyperlinks
2017-02-18 20:59:14 +01:00
Paolo Agostinetto
1dba2d1766
Ods reader: tests for repeated spaces and rich text
2017-02-18 20:49:48 +01:00
Paolo Agostinetto
bcd1bc364c
Ods reader: test loading of Worksheets
2017-02-18 13:55:22 +01:00
Paolo Agostinetto
3c7b2e23da
Added unit tests for Ods reader
2017-02-18 13:36:08 +01:00
Adrien Crivelli
7b90bb9394
Drop checks for mbstring existence
...
Since mbstring is now a hard dependency enforced by composer, it is
no longer necessary to check for its presence and implement fallbacks.
2017-02-16 11:56:22 +09:00
Adrien Crivelli
6e247c30d9
Drop support for SQLite 2 because it does not exist in PHP 5.6+ anymore
2017-02-14 12:53:20 +09:00
Adrien Crivelli
9e835676a6
Update dev dependencies
2017-01-23 16:02:59 +09:00
Adrien Crivelli
fe73b2d402
Drop PHPSPREADSHEET_ROOT constant
2017-01-23 15:35:10 +09:00
Adrien Crivelli
909353ea39
Simplify bootstrap for tests
2017-01-23 15:05:41 +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
031af1e9d2
Standardize writers and readers name to be the format most common extension in CamelCase
2017-01-22 17:39:23 +09:00
Henrik Gemal
5a8acce94c
minor fixes to unit tests ( #72 )
2017-01-13 12:06:00 +09:00
Adrien Crivelli
ec928d393f
Fix indentation as suggested by Scrunitizer
2017-01-05 12:26:20 +09:00
Adrien Crivelli
56245d558e
Use `::class` notation as much as possible
...
```
* ,
_/^\_
< >
* /.-.\ *
* `/&\` *
,@.*;@,
/_o.I %_\ *
* (`'--:o(_@;
/`;--.,__ `') *
;@`o % O,*`'`&\
* (`'--)_@ ;o %'()\ *
/`;--._`''--._O'@;
/&*,()~o`;-.,_ `""`)
* /`,@ ;+& () o*`;-';\
(`""--.,_0 +% @' &()\
/-.,_ ``''--....-'`) *
* /@%;o`:;'--,.__ __.'\
;*,&(); @ % &^;~`"`o;@(); *
/(); o^~; & ().o@*&`;&%O\
jgs `"="==""==,,,.,="=="==="`
__.----.(\-''#####---...___...-----._
'` \)_`"""""`
.--' ')
o( )_-\
`"""` `
```
2016-12-26 13:21:12 +09:00
Adrien Crivelli
8c66afe39a
Upgrade to PHP-CS-Fixer 2.0
2016-12-22 23:46:26 +09:00
Adrien Crivelli
5d3fdf4f78
Skip test on Travis because of recent PHP upgrade
2016-12-14 22:40:21 +09:00
Adrien Crivelli
c8a8fd2610
Stricter check whether file exists before reading
...
This should avoid issues when user submit a non-existing filename
that is wrongly identified as CSV.
Typically https://github.com/PHPOffice/PHPExcel/issues/1076 and
https://github.com/PHPOffice/PHPExcel/issues/1078 could have been
avoided.
2016-12-09 00:15:22 +09:00
Adrien Crivelli
3bd0f6f985
Fix autofilter cloning across PHP versions
...
Avoid indirect access variable ambiguity across PHP 5.6 and PHP 7.0
2016-12-04 16:44:40 +09:00
Adrien Crivelli
e6d8362fb2
Some functions were not callable because of wrong declaration
2016-12-03 14:51:04 +09:00
Adrien Crivelli
5ad6ced95c
Introduce a tool to migrate from PHPExcel to PhpSpreadsheet
2016-11-28 00:13:57 +09:00
Alexander Kurilo
408da0c17a
Make HTML checks more strict
2016-11-16 22:21:30 +09:00
Alexander Kurilo
928b592c14
Add readable labels for data provider samples
2016-11-16 22:21:30 +09:00
Alexander Kurilo
2809cce298
Remove unused data from test provider data set
2016-11-16 22:21:30 +09:00
Alexander Kurilo
edb3974a0d
Move XEEE test data to add data for other readers
2016-11-16 22:21:30 +09:00
Adrien Crivelli
e2e982f98a
Rename OOCalc and OpenDocument into Ods
...
FIX #6
2016-10-06 21:07:57 +09:00
Adrien Crivelli
39b55ded30
Rename Excel2007 into Xlsx
...
FIX #5
2016-10-06 20:39:10 +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
93ccf78dd5
Exclude more tests
2016-09-09 11:58:12 +09:00
Adrien Crivelli
2c96a06d6e
Exclude long tests on Travis
...
Tests that run too long without output tends to break Travis builds.
This is typically the case when running code-coverage, so we need to
exclude a few test cases to ensure that the builds are stable.
2016-09-09 01:27:09 +09:00
Adrien Crivelli
150ad19580
Ask Travis to wait longer for PHPUnit to finish
2016-09-01 11:20:22 +09:00
Adrien Crivelli
cfa1feffed
Attempt to show samples output so Travis don't interrupt tests
2016-09-01 02:22:19 +09:00
Adrien Crivelli
47cde0dadc
Introduce vendor prefix `PhpOffice` to namespace
2016-09-01 02:20:47 +09:00