Christian Bläul
|
c9e7997643
|
Don't break people's code just because they don't have Composer
|
2018-03-02 17:15:31 +01:00 |
|
Christian Bläul
|
68239d6859
|
No code changes, just cleaned up comments a bit
|
2018-03-02 17:15:31 +01:00 |
|
Christian Bläul
|
d05577d303
|
output(): Use better mime type for \t separator.
Fixes #79
|
2018-03-02 17:13:45 +01:00 |
|
Fonata
|
eedbffc375
|
Merge pull request #125 from itexia/42-Heading-and-offset
Fixed issue 42: heading and offset; added tests
|
2018-03-02 17:06:22 +01:00 |
|
Susann Sgorzaly
|
11b20a3144
|
fixes #42. If csv has heading and offset is set, first row will always be parsed
|
2018-02-27 15:10:55 +01:00 |
|
Susann Sgorzaly
|
7766bf7c3b
|
added two tests for reproducing the heading and offset bug. test with heading fails at the moment. if this one is green, bug would be solved
|
2018-02-27 15:00:14 +01:00 |
|
susgo
|
ef44ea3989
|
Merge pull request #7 from parsecsv/master
update
|
2018-02-22 14:55:40 +01:00 |
|
Christian Bläul
|
2ac9f450f1
|
Check if output contains HTML table cells
They should if the _books.csv file is found
|
2018-02-21 19:25:39 +01:00 |
|
Christian Bläul
|
3968659b9f
|
Make sure the code examples run without syntax or runtime errors.
|
2018-02-21 19:22:45 +01:00 |
|
Christian Bläul
|
d3a084d973
|
Added namespace support for further tests
|
2018-02-21 19:04:00 +01:00 |
|
Christian Bläul
|
b0355be96a
|
Re-added the parsecsv.lib.php file for compatibility
|
2018-02-21 19:00:41 +01:00 |
|
Christian Bläul
|
b753d9c694
|
Repaired examples: there was a require missing.
|
2018-02-21 18:45:50 +01:00 |
|
Christian Bläul
|
2b95ec5aa1
|
Merge remote-tracking branch 'origin/Tests-for-sort-and-cond' into pull-test
# Conflicts:
# tests/Bootstrap.php
# tests/methods/ParseTest.php
# tests/properties/worthless_test.php
|
2018-02-21 18:41:45 +01:00 |
|
Susann Sgorzaly
|
3f595dfd3b
|
only renamed variable
|
2018-02-21 12:55:26 +01:00 |
|
susgo
|
081949339b
|
Merge pull request #6 from parsecsv/itexia-fixed-remaining-test
Fixed remaining test
|
2018-02-21 08:36:24 +01:00 |
|
Christian Bläul
|
a60aae47a4
|
getDatatypes: Documented the need for PHP 5.5 or higher
|
2018-02-20 22:16:49 +01:00 |
|
Christian Bläul
|
4cba97ad51
|
Allow PhpStorm to understand the code better
(I followed suggestions from PhpStorm's inspections)
|
2018-02-20 22:07:08 +01:00 |
|
Christian Bläul
|
2206ec1e7c
|
only reformatted source code to match the rest of the project
|
2018-02-20 22:06:06 +01:00 |
|
Christian Bläul
|
d188921ab6
|
composer.json: Only allow to load tests in dev environment
|
2018-02-20 21:50:52 +01:00 |
|
Christian Bläul
|
85cc0d9cfc
|
Updated README.md to new name & namespace
|
2018-02-20 21:50:45 +01:00 |
|
Christian Bläul
|
a7f2bbb7bc
|
Throw more specific exception
|
2018-02-20 21:40:48 +01:00 |
|
Christian Bläul
|
d484f3e9e3
|
The workaround for array_count_values was wrong and unnecessary.
|
2018-02-20 21:37:39 +01:00 |
|
Christian Bläul
|
f8b2fe274a
|
Added missing letter in function name
|
2018-02-20 21:35:21 +01:00 |
|
susgo
|
17bfd9496a
|
Merge pull request #5 from parsecsv/itexia-repair-tests
Repair tests (somewhat)
|
2018-02-20 08:22:59 +01:00 |
|
Christian Bläul
|
ec7b1c1d55
|
PHPUnit: Better class names with modern naming scheme
|
2018-02-19 23:01:31 +01:00 |
|
Christian Bläul
|
ba9eae17d4
|
Bootstrap: Improved the conditions under which the test wrapper loads
|
2018-02-19 23:00:57 +01:00 |
|
Christian Bläul
|
8f26ce6ea3
|
Force Travis to output which PHPUnit version it uses
|
2018-02-19 22:49:43 +01:00 |
|
Christian Bläul
|
913dc94e2c
|
Keep sorting keys compatible: Moved array_values call to PHPUnit.
This commit partially reverts adcd258ea2.
|
2018-02-19 22:08:59 +01:00 |
|
Christian Bläul
|
5ced1f4212
|
Added conditions to SortByTest because otherwise different PHP versions...
yielded different sort orders (that's sort of ok, as rating is ambiguous).
See https://travis-ci.org/parsecsv/parsecsv-for-php/jobs/336540118
|
2018-02-19 22:08:59 +01:00 |
|
Christian Bläul
|
ca84469950
|
Moved ConditionsTest to properties subfolder
|
2018-02-19 22:08:59 +01:00 |
|
Christian Bläul
|
75902f4a22
|
Added PHPUnit test for sorting; I could not get the rows in the right...
order without calling array_values - maybe this helps just PHPUnit. I
consider the risk of breaking library users' code unlikely.
|
2018-02-19 22:08:59 +01:00 |
|
Christian Bläul
|
7470d2b804
|
PHPUnit: Repaired file paths in autoQuotesDataProvider()
|
2018-02-19 22:08:59 +01:00 |
|
Christian Bläul
|
01f0891cfb
|
Test some conditions
|
2018-02-19 22:08:59 +01:00 |
|
Susann Sgorzaly
|
52a9b61b97
|
added DatatypeEnum tests; repaired the other test for local execution; small bug fixes
|
2018-02-19 21:36:31 +01:00 |
|
susgo
|
5660be3373
|
Merge pull request #1 from itexia/introduce-namespaces
init introduce namespaces and enums
|
2018-02-19 14:22:46 +01:00 |
|
Susann Sgorzaly
|
70b6fe4bd8
|
Merge branch 'introduce-namespaces' of https://github.com/itexia/parsecsv-for-php into introduce-namespaces
|
2018-02-19 14:10:10 +01:00 |
|
Susann Sgorzaly
|
f1a89127c2
|
regex updated according to merge conflict
|
2018-02-19 14:09:30 +01:00 |
|
susgo
|
31dba0411e
|
Merge pull request #4 from parsecsv/test-helper-for-itexia-with-namespaces
Test helper for ITEXIA fork with namespaces
|
2018-02-19 14:05:14 +01:00 |
|
susgo
|
6da0537197
|
Merge branch 'introduce-namespaces' into test-helper-for-itexia-with-namespaces
|
2018-02-19 14:04:37 +01:00 |
|
susgo
|
91091ac933
|
Merge pull request #2 from itexia/new-enom-datatype
init enum for data type
|
2018-02-19 12:08:38 +01:00 |
|
susgo
|
2c7c552515
|
Update DatatypeTrait.php
|
2018-02-19 12:07:32 +01:00 |
|
Susann Sgorzaly
|
52e87953a4
|
corrected datatype count
|
2018-02-19 12:02:48 +01:00 |
|
Christian Bläul
|
2b6e38734c
|
Merge remote-tracking branch 'origin/test-helper-for-itexia-master' into delete_this_branch
|
2018-02-18 19:41:38 +01:00 |
|
Christian Bläul
|
af7368378c
|
Changed tests to work now that we have a namespace
|
2018-02-18 19:40:21 +01:00 |
|
Christian Bläul
|
f2fb7c81bd
|
Absolute path in require do stop PhpStorm from nagging
(PhpStorm couldn't find the file)
|
2018-02-18 19:34:32 +01:00 |
|
Christian Bläul
|
92653c99c5
|
Force predictable working dir; create autoloader file if it doesn't exist
|
2018-02-18 19:32:39 +01:00 |
|
Christian Bläul
|
d4f9c9f020
|
Updated worthless_test to allow for more fields
|
2018-02-18 19:04:16 +01:00 |
|
Christian Bläul
|
2b17f01a0a
|
Removed additional column to make expected data fit to fixture
|
2018-02-18 19:03:23 +01:00 |
|
Christian Bläul
|
9551862a95
|
Allow current working dir to be different when running tests
...By using an absolute path
|
2018-02-18 19:02:37 +01:00 |
|
Christian Bläul
|
736bc489e6
|
getDatatypes: throw more meaningful exception if no data is present
|
2018-02-18 19:01:47 +01:00 |
|