Fonata
|
2e94f4ad41
|
Add composer validation to CI;
Also: add branch alias for `dev-master`
Fix #159
|
2019-02-23 12:53:58 +01:00 |
|
Fonata
|
d03f8a2f09
|
Simplified code; shouldn't change results
|
2019-02-23 12:48:52 +01:00 |
|
Fonata
|
14c9254ed4
|
Removed @access annotations because they don't add value
I believe they come from the time when PHP didn't universally
support the language keywords. phpDocumentor doesn't need the
@access annotations.
|
2019-02-23 12:45:28 +01:00 |
|
Fonata
|
78c288db8c
|
Improved documentation comment
|
2019-02-23 12:45:07 +01:00 |
|
Fonata
|
531ac26e11
|
Improved spelling in comments
|
2019-02-23 12:44:31 +01:00 |
|
susgo
|
65566adcd3
|
Merge pull request #162 from parsecsv/add-save-example
Added example for writing CSV files to better document heading property
1.1.1
|
2019-02-02 20:40:45 +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 |
|
Fonata
|
bc9207de09
|
Added example for writing CSV files to better document heading property
Fixes #161
|
2019-02-02 18:39:21 +01:00 |
|
susgo
|
ace09c3c11
|
Update README.md
Update examples for #155
|
2018-11-14 18:30:03 +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
|
8aa61914f7
|
Function load_data: check length of input, prevents E_NOTICE if too long
Fixes #151
|
2018-09-25 00:35:03 +02: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
|
c7375dea8e
|
Added authors and web links to source and issues
1.1.0
|
2018-08-09 13:48:06 +02:00 |
|
Fonata
|
6ce4550eed
|
Merge pull request #147 from parsecsv/file_get_contents
Replace fread with file_get_contents to avoid the 8192 byte limit
|
2018-08-08 21:02:26 +02:00 |
|
Fonata
|
55890da647
|
Replace fread with file_get_contents to avoid the 8192 byte limit
This can happen when using streams.
Specific problem occurred with a file uploaded with Drupal's ``managed_file``
Form API element.
See https://secure.php.net/manual/en/function.fread.php
|
2018-07-31 21:59:04 +02:00 |
|
Fonata
|
21953ab6be
|
Merge pull request #146 from parsecsv/waiver-test
Added test for issue 145, couldn't reproduce it
|
2018-05-22 09:01:01 +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
|
23a1b0a4b3
|
Merge pull request #138 from geminorum/master
min php on composer.json
|
2018-04-11 08:47:06 +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
|
7d39b80fca
|
Merge pull request #140 from susgo/patch-1
Update README.md: corrected function name getTotalDataRowCount()
|
2018-04-11 08:30:21 +02:00 |
|
susgo
|
8c7eba6815
|
Update README.md
|
2018-04-05 16:32:44 +02:00 |
|
Nasser Rafie
|
c41c559ac2
|
min php on composer.json
|
2018-04-02 18:36:16 +04:30 |
|
Fonata
|
e1ecf9302e
|
Advertised getCollection in ChangeLog.txt
|
2018-04-02 15:11:17 +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 |
|
William Knauss
|
406e1e415f
|
added getCollection method that returns a Illuminate\Support\Collection object - useful for using the mapping functions
|
2018-04-02 14:32:17 +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
|
93f177a396
|
Merged two ifs in _validate_row_condition to prevent
This is to a sane count of zero PhpStorm inspections. In particular,
this is NestedPositiveIfStatementsInspection from EA Extended.
|
2018-03-17 12:17:25 +01:00 |
|
Fonata
|
f5ff7332a4
|
Set $data field on unparse. This fixes issue #132.
|
2018-03-17 12:16:39 +01:00 |
|
Fonata
|
07846d33c1
|
Added OutputTest to verify issue #132 is a bug.
|
2018-03-17 12:07:12 +01:00 |
|
Fonata
|
4b60d38fb0
|
Tell PhpStorm not to complain about reference mismatch
http://blog.jpauli.tech/2014/06/27/references-mismatch.html#what-is-a-reference-mismatch
|
2018-03-17 12:05:01 +01:00 |
|
Fonata
|
c8d15557cb
|
Fixed parse()'s return value: return true only if $data is useful
|
2018-03-17 12:05:01 +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 |
|
Fonata
|
ffed7ffdc0
|
Only improved PHPDoc blocks, including sentance for output()
|
2018-03-17 12:05:01 +01:00 |
|
Fonata
|
7498a963ac
|
_validate_fields_for_unparse: more info in UnexpectedValueException
|
2018-03-17 11:42:44 +01:00 |
|
Fonata
|
49728a74bb
|
Only reformatted the source code
|
2018-03-17 10:31:09 +01:00 |
|
susgo
|
e4c9fed6cf
|
Update README.md for old and new functions (#129)
* Update README.md
|
2018-03-12 08:28:25 +01:00 |
|
Susann Sgorzaly
|
5bc6d09b5e
|
fixes bug on _validate_fields_for_unparse() if titles property is used instead of fields parameter for changing the titles for unparsing
|
2018-03-12 08:25:42 +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
|
086cd15b44
|
Added requires to keep Composer-free environments working
|
2018-03-07 09:51:50 +01:00 |
|