Fonata
|
f97f03a088
|
Only improved code formatting
|
2019-02-23 12:57:48 +01:00 |
|
Fonata
|
2d428ffa93
|
Updated test: no output in save_to_file_without_header_row.php
Thus, effectively, we just test for valid PHP syntax.
|
2019-02-02 18:47:55 +01:00 |
|
Susann Sgorzaly
|
52ad56c66a
|
fixes unparse bug if no data for unparsing remain (comments #150)
|
2018-11-14 08:26:39 +01:00 |
|
Susann Sgorzaly
|
ab9e8a0af9
|
fixes unparse bug if array ids doesn't begin on zero (comments#149)
|
2018-11-14 08:26:39 +01:00 |
|
Fonata
|
3b74f7ce57
|
Added PHPUnit test to make sure very long text doesn't cause E_NOTICE
|
2018-09-25 00:27:04 +02:00 |
|
Fonata
|
1d8e6808bc
|
Added test for issue #145, couldn't reproduce it
|
2018-05-21 21:56:54 +02:00 |
|
Fonata
|
063a812732
|
Merge pull request #142 from parsecsv/issue-141-multiple-empty-lines
Ignore entirely empty lines at the end of files
|
2018-05-11 09:03:36 +02:00 |
|
Fonata
|
4504f4b158
|
Converted function names to camelCase for PSR karma points
|
2018-04-29 11:21:00 +02:00 |
|
Fonata
|
b82ad03bd5
|
Ignore entirely empty lines at the end of files
Closes #141
|
2018-04-29 11:08:40 +02:00 |
|
Fonata
|
51d878a9a1
|
Merge pull request #137 from parsecsv/new-unparse-test
Added new test for unparse with parameters
|
2018-04-11 08:31:33 +02:00 |
|
Fonata
|
de8e792ef4
|
Merge branch 'feature-datacollections'
Conflicts:
src/Csv.php
|
2018-04-02 14:40:32 +02:00 |
|
Fonata
|
60d6458080
|
PHPUnit: prevent output from download.php to leak
|
2018-04-02 14:38:03 +02:00 |
|
Fonata
|
2e40a2eb1c
|
Added new test for unparse with parameters
|
2018-03-28 15:45:44 +02:00 |
|
Fonata
|
927e785891
|
Merge pull request #133 from parsecsv/fixing-132-output-with-fields
Bug fix: calling ->output() with $fields parameter set
|
2018-03-28 13:25:05 +02:00 |
|
Fonata
|
e6ba24b47a
|
Dropping PHP 5.4 support (#131)
Also removed special treatment of PHP 5.4, as we don't support it anymore
|
2018-03-20 11:12:22 +01:00 |
|
Fonata
|
f24e5bf3a3
|
Merge branch 'offset-comment-and-tests'
|
2018-03-17 12:44:02 +01:00 |
|
Fonata
|
bdd4e5ef25
|
Merge branch 'master' into offset-comment-and-tests
Conflicts:
tests/methods/ParseTest.php
|
2018-03-17 12:42:18 +01:00 |
|
Fonata
|
42b5d30d66
|
Improved OldRequireTest: explanation and new test added (#128)
|
2018-03-17 12:37:54 +01:00 |
|
Fonata
|
07846d33c1
|
Added OutputTest to verify issue #132 is a bug.
|
2018-03-17 12:07:12 +01:00 |
|
Fonata
|
10895788c8
|
Slightly simplified getTotalDataRowCount, added test
The brackets () in the pattern were not needed, as only
$matches[0] was accessed, not $matches[1].
The @var is useful for PhpStorm's Php Inspections (EA Extended).
More details here: https://github.com/kalessil/phpinspectionsea/blob/master/docs/types-compatibility.md#foreach-source-to-iterate-over
|
2018-03-17 12:05:01 +01:00 |
|
susgo
|
b7f2075efc
|
Fix #41: output order and subset (#126)
* init unparse tests for ordering and subseting by fields
* added one test for heading=false
* implements functionality of this issue
|
2018-03-11 11:14:53 +01:00 |
|
Christian Bläul
|
3cc20fbb47
|
Merge remote-tracking branch 'itexia/auto-detect-file-has-heading'
# Conflicts:
# tests/methods/ParseTest.php
|
2018-03-10 12:46:36 +01:00 |
|
Christian Bläul
|
8f431aa7a4
|
Merge remote-tracking branch 'itexia/refactoring-constants'
|
2018-03-07 09:43:22 +01:00 |
|
Fonata
|
1142ef2611
|
Merge pull request #124 from itexia/new-enums-for-docu
New Enum class for file processing (save + unparse) + Documentation
|
2018-03-07 09:35:01 +01:00 |
|
Fonata
|
80a4954a3a
|
Merge pull request #122 from itexia/get-total-row-count
New feature: get total row count - useful if $limit is set.
|
2018-03-07 09:30:36 +01:00 |
|
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
|
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 |
|
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
|
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
|
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
|
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
|
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
|
7a3120dd28
|
added test for sort enums (todo: handle exception on test)
|
2018-02-22 21:15:00 +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
|
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 |
|
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
|
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 |
|