MarkBaker
fae27a6d63
As iconv is now enabled by default in PHP, make it a requirement, and modify strig functions to use it where appropriate
2016-08-31 21:52:42 +01:00
Adrien Crivelli
09d456e477
Introduce PHP-CS-Fixer for stricter code style rules
...
PHP-CS-Fixer allow to check different things than phpcs and it allows
code to be more consistent. Configuration can be changed in `.php_cs`
2016-08-17 00:33:57 +09:00
Adrien Crivelli
539a89a918
Rename namespace `PHPExcel` to `PhpSpreadsheet`
...
This also fix a few bugs that were introduced when migrating to
namespace. Some non-namespaces classes were leftover
FIX #15
2016-08-16 23:24:47 +09:00
Adrien Crivelli
e1f81f0fe0
Refactor tests data from custom format to PHP
...
FIX #14
2016-08-16 21:00:19 +09:00
MarkBaker
65078a0fba
PSR-2 standards for test data
2016-08-15 00:20:31 +01:00
MarkBaker
91573b5c93
Split PHPToExcel logic for different input types
2016-08-14 22:36:30 +01:00
MarkBaker
aa97bb3e45
Merge branch 'develop' into feature/gh-7
...
# Conflicts:
# tests/PhpSpreadsheet/Shared/DateTest.php
2016-08-14 15:41:50 +01:00
MarkBaker
f0e167c182
Unit tests for modified Date functions
2016-08-14 15:35:43 +01:00
Adrien Crivelli
ea513d9c1b
Autofix style code with phpcs
2016-08-14 13:55:34 +09:00
Adrien Crivelli
c981efe272
Mark failing tests as incomplete
...
This is a temporary fix to have a clear view of what is working or not
and to prevent breaking even more tests. Incomplete tests will be fixed
in the comming days/weeks.
2016-08-14 13:32:43 +09:00
Adrien Crivelli
d49a573f58
Use `::class` notation instead of string for class names in unit tests
2016-08-14 13:08:43 +09:00
MarkBaker
850594c4d2
Merge branch 'develop' into feature/gh-7
...
# Conflicts:
# tests/PhpSpreadsheet/Shared/DateTest.php
# tests/rawTestData/Shared/DateTimeExcelToPHP1900.data
# tests/rawTestData/Shared/DateTimeExcelToPHP1900Timezone.data
# tests/rawTestData/Shared/DateTimeExcelToPHP1904.data
# unitTests/rawTestData/Shared/DateTimeExcelToPHP1900.data
# unitTests/rawTestData/Shared/DateTimeExcelToPHP1904.data
# unitTests/rawTestData/Shared/DateTimeExcelToTimestamp1900.data
# unitTests/rawTestData/Shared/DateTimeExcelToTimestamp1904.data
2016-08-14 02:07:10 +01:00
Adrien Crivelli
00657c906e
Reorganize unit tests
...
All code for unit tests is now under the `PhpSpreadsheet\Tests` namespace
which is autoloaded via composer mechanism. So there is no need for
`require()` anymore.
Also, tests were moved in `tests/` folder and phpunit should be executed from
the project root folder. This is to conform to the de facto standard, notably
in use in phpunit itself.
2016-08-14 02:29:33 +09:00