Christian Bläul
|
9d7ccab20f
|
Improved comment and test data to show how the offset is counted.
|
2018-03-02 17:50:01 +01:00 |
|
Christian Bläul
|
abecaf1b5d
|
Only re-formated source code slightly
|
2018-03-02 17:25:38 +01:00 |
|
Christian Bläul
|
3af94399e6
|
Semantic versioning: Marked the current state of the repo as 1.0.0-rc.2
|
2018-03-02 17:15:31 +01:00 |
|
Christian Bläul
|
499088b3b2
|
Slightly improved README.md
|
2018-03-02 17:15:31 +01:00 |
|
Christian Bläul
|
fd63ff4a26
|
Removed examples from class file as they are also in the README.md
|
2018-03-02 17:15:31 +01:00 |
|
Christian Bläul
|
d250c9034b
|
Further improved ChangeLog.txt and README.txt
|
2018-03-02 17:15:31 +01:00 |
|
Christian Bläul
|
bfc2c0901b
|
Improved installation section of README.md; added Travid badge.
|
2018-03-02 17:15:31 +01:00 |
|
Christian Bläul
|
a0336f02ee
|
Prepared new release in ChangeLog.txt
|
2018-03-02 17:15:31 +01:00 |
|
Christian Bläul
|
ea78f38e26
|
ConstructTest: undo directory change to be on the safe side.
|
2018-03-02 17:15:31 +01:00 |
|
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
|
fb9325884d
|
small code improvement
|
2018-02-28 13:47:38 +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 |
|
Susann Sgorzaly
|
5daa422aca
|
new test for setting new headers before save (comments #82)
|
2018-02-27 14:33:26 +01:00 |
|
Susann Sgorzaly
|
48a3cdbc5c
|
new enum for file processing mode. extended documentation (comments #112)
|
2018-02-27 14:18:00 +01:00 |
|
Susann Sgorzaly
|
fbe5263bca
|
only code improvements
|
2018-02-27 13:22:11 +01:00 |
|
Susann Sgorzaly
|
5b1002a677
|
test correction
|
2018-02-26 10:06:59 +01:00 |
|
Susann Sgorzaly
|
4bbc928f09
|
added dependency for test
|
2018-02-26 10:00:52 +01:00 |
|
Susann Sgorzaly
|
951fc68886
|
new feature: auto detect if parsed file has heading
|
2018-02-26 09:46:44 +01:00 |
|
Susann Sgorzaly
|
68b849a37b
|
corrected regex to fit all given enclosures. Added test for single enclosure
|
2018-02-26 08:55:51 +01:00 |
|
Susann Sgorzaly
|
aaefe2a480
|
introduces new local variable that holds the data
|
2018-02-26 08:50:35 +01:00 |
|
Susann Sgorzaly
|
611b1a92e8
|
use strpos instead of preg_match
|
2018-02-26 08:46:41 +01:00 |
|
Susann Sgorzaly
|
e5eccf1fc1
|
put tests into new file
|
2018-02-26 08:38:08 +01:00 |
|
Susann Sgorzaly
|
9e5c97328d
|
renamed function to getTotalDataRowCount
|
2018-02-26 08:33:09 +01:00 |
|
Susann Sgorzaly
|
b6247c367c
|
reformat code; only extended comment for new function
|
2018-02-26 08:31:46 +01:00 |
|
Susann Sgorzaly
|
ba4cc0672a
|
reformat code
|
2018-02-26 06:57:40 +01:00 |
|
Susann Sgorzaly
|
c9cc9697ef
|
new feature: getting total data row count without parsing all data
|
2018-02-24 16:55:45 +01:00 |
|
Susann Sgorzaly
|
f8fe4cad03
|
change accessibility of parse_file and parse_string
|
2018-02-23 10:37:12 +01:00 |
|
Susann Sgorzaly
|
95521cde87
|
reset file property if input is string
|
2018-02-23 10:17:09 +01:00 |
|
Susann Sgorzaly
|
249e5a24ac
|
readded missing return statement in parse-function
|
2018-02-23 10:14:01 +01:00 |
|
Susann Sgorzaly
|
343c683077
|
corrected test for default sort type. Is set to regular now
|
2018-02-23 10:02:13 +01:00 |
|
Susann Sgorzaly
|
cf91bf40ff
|
now compatible with old sorting values
|
2018-02-23 08:11:56 +01:00 |
|
Susann Sgorzaly
|
958af1027e
|
small code improvements
|
2018-02-22 21:34:39 +01:00 |
|
Susann Sgorzaly
|
7a3120dd28
|
added test for sort enums (todo: handle exception on test)
|
2018-02-22 21:15:00 +01:00 |
|
Susann Sgorzaly
|
a74736d4da
|
init implementation of abstract enum class
|
2018-02-22 21:01:06 +01:00 |
|
Susann Sgorzaly
|
657cec4b4e
|
added enum for sort
|
2018-02-22 20:41:03 +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 |
|