Adrien Crivelli
04d6182a81
Remove unused variables
2016-08-26 15:05:40 +09:00
Adrien Crivelli
b42bafcfe7
Apply Scrutinizer patches for doc comments
2016-08-26 13:40:01 +09:00
Adrien Crivelli
cb0930c016
Apply Scrutinizer patches for indentation
2016-08-25 19:35:29 +09:00
Adrien Crivelli
a85f1bdbed
Apply Scrutinizer patches for spacing
2016-08-25 18:46:02 +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
Adrien Crivelli
b9ce2b901e
Format date unit tests is now working
2016-08-25 13:47:27 +09:00
Adrien Crivelli
027792ed09
Fix wrong class names that were incorrectly migrated
2016-08-25 13:39:26 +09:00
Adrien Crivelli
b0621f514f
Avoid duplicated info in README
2016-08-25 11:55:49 +09:00
Adrien Crivelli
942ad72d2a
Complete a few more namespace renaming
2016-08-25 11:43:27 +09:00
Adrien Crivelli
ba70544846
Fix crash when reading HTML files
2016-08-25 11:14:03 +09:00
Adrien Crivelli
7a6c5b0d1b
Fix code style
2016-08-25 11:13:49 +09:00
MarkBaker
e0a9f9e1ec
Merge branch 'feature/gh-7' into develop
...
# Conflicts:
# src/PhpSpreadsheet/Shared/Date.php
2016-08-17 00:40:55 +01:00
MarkBaker
f8c3363de3
Fix some Case-sensitivity problems
2016-08-17 00:36:24 +01:00
MarkBaker
e87ec8505d
gh-17 Update examples for namespace changes
2016-08-17 00:06:51 +01:00
Adrien Crivelli
5c03e85531
Show progress so Travis does not think the build failed
2016-08-17 01:00:21 +09: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
685e29d8ff
Report coverage to Scrutinizer
2016-08-16 23:38:24 +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
a6c6064348
Replace mentions of CodePlex by GitHub
2016-08-16 22:02:03 +09:00
Adrien Crivelli
e1f81f0fe0
Refactor tests data from custom format to PHP
...
FIX #14
2016-08-16 21:00:19 +09:00
MarkBaker
467babcb44
Merge branch 'feature/gh-7' into develop
2016-08-15 00:21:05 +01:00
MarkBaker
65078a0fba
PSR-2 standards for test data
2016-08-15 00:20:31 +01:00
MarkBaker
bf34570173
Updates to Read Me document
2016-08-14 23:28:23 +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
d19f7363fe
Show badges similar to those used for PHPWord
2016-08-14 15:09:15 +09:00
Adrien Crivelli
ce2ce3414b
Refactor arguments with default values to be at the end of the argument list
2016-08-14 14:09:55 +09: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
33ed7322bf
Ignore /vendor and composer.lock
2016-08-14 13:12:16 +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
91306d0c31
Move data from unitTests to tests
2016-08-14 02:09:14 +01: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
MarkBaker
e149c1f191
Adjustments to DateTime tests
2016-08-13 20:21:45 +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
MarkBaker
fd2df82faf
Merge branch 'develop' into feature/gh-17
2016-08-13 16:59:03 +01:00
Adrien Crivelli
80af21d962
Fix unit tests for date
...
Unit tests were broken in commit 745499cc55
2016-08-14 00:31:09 +09:00
Adrien Crivelli
3cf1bd9a7c
Add PHP 7.1 to Travis
2016-08-13 23:45:37 +09:00
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