Commit Graph

  • e3105d4003 Renamed protected functions: no end user should be tempted to call them Fonata 2019-03-10 11:56:32 +01:00
  • 5874b768b9 Merge pull request #164 from parsecsv/composer-validate susgo 2019-02-24 05:47:39 +01:00
  • 5d766adc17 PHPUnit versions newer than 8 don't like our setUp function Fonata 2019-02-23 13:21:54 +01:00
  • 67ed765eff Added PHP 7.3 to test coverage Fonata 2019-02-23 13:09:09 +01:00
  • a7be07cc02 PHP 7.2.15 doesn't seem to like public setUp functions Fonata 2019-02-23 13:06:28 +01:00
  • b4cef37bb5 Simplyfied BaseClass.php: @access annotations are not needed Fonata 2019-02-23 13:05:55 +01:00
  • f97f03a088 Only improved code formatting Fonata 2019-02-23 12:55:10 +01:00
  • 2e94f4ad41 Add composer validation to CI; Fonata 2019-02-23 12:53:58 +01:00
  • d03f8a2f09 Simplified code; shouldn't change results Fonata 2019-02-23 12:47:50 +01:00
  • 14c9254ed4 Removed @access annotations because they don't add value Fonata 2019-02-23 12:45:28 +01:00
  • 78c288db8c Improved documentation comment Fonata 2019-02-23 12:45:07 +01:00
  • 531ac26e11 Improved spelling in comments Fonata 2019-02-23 11:24:12 +01:00
  • 65566adcd3 Merge pull request #162 from parsecsv/add-save-example 1.1.1 susgo 2019-02-02 20:40:45 +01:00
  • 2d428ffa93 Updated test: no output in save_to_file_without_header_row.php Fonata 2019-02-02 18:47:55 +01:00
  • bc9207de09 Added example for writing CSV files to better document heading property Fonata 2019-02-02 18:39:21 +01:00
  • ace09c3c11 Update README.md susgo 2018-11-14 18:30:03 +01:00
  • 52ad56c66a fixes unparse bug if no data for unparsing remain (comments #150) Susann Sgorzaly 2018-11-13 19:10:10 +01:00
  • ab9e8a0af9 fixes unparse bug if array ids doesn't begin on zero (comments#149) Susann Sgorzaly 2018-11-13 18:53:08 +01:00
  • 8aa61914f7 Function load_data: check length of input, prevents E_NOTICE if too long Fonata 2018-09-25 00:28:12 +02:00
  • 3b74f7ce57 Added PHPUnit test to make sure very long text doesn't cause E_NOTICE Fonata 2018-09-25 00:27:04 +02:00
  • c7375dea8e Added authors and web links to source and issues 1.1.0 Fonata 2018-08-09 13:48:06 +02:00
  • 6ce4550eed Merge pull request #147 from parsecsv/file_get_contents Fonata 2018-08-08 21:02:26 +02:00
  • 55890da647 Replace fread with file_get_contents to avoid the 8192 byte limit Fonata 2018-07-31 21:55:08 +02:00
  • 21953ab6be Merge pull request #146 from parsecsv/waiver-test Fonata 2018-05-22 09:01:01 +02:00
  • 1d8e6808bc Added test for issue #145, couldn't reproduce it Fonata 2018-05-21 21:56:12 +02:00
  • 063a812732 Merge pull request #142 from parsecsv/issue-141-multiple-empty-lines Fonata 2018-05-11 09:03:36 +02:00
  • 4504f4b158 Converted function names to camelCase for PSR karma points Fonata 2018-04-29 11:21:00 +02:00
  • b82ad03bd5 Ignore entirely empty lines at the end of files Fonata 2018-04-29 11:08:40 +02:00
  • 23a1b0a4b3 Merge pull request #138 from geminorum/master Fonata 2018-04-11 08:47:06 +02:00
  • 51d878a9a1 Merge pull request #137 from parsecsv/new-unparse-test Fonata 2018-04-11 08:31:33 +02:00
  • 7d39b80fca Merge pull request #140 from susgo/patch-1 Fonata 2018-04-11 08:30:21 +02:00
  • 8c7eba6815 Update README.md susgo 2018-04-05 16:32:44 +02:00
  • c41c559ac2 min php on composer.json Nasser Rafie 2018-04-02 18:36:16 +04:30
  • e1ecf9302e Advertised getCollection in ChangeLog.txt Fonata 2018-04-02 15:11:17 +02:00
  • de8e792ef4 Merge branch 'feature-datacollections' Fonata 2018-04-02 14:40:32 +02:00
  • 60d6458080 PHPUnit: prevent output from download.php to leak Fonata 2018-04-02 14:38:03 +02:00
  • 406e1e415f added getCollection method that returns a Illuminate\Support\Collection object - useful for using the mapping functions William Knauss 2018-03-19 12:24:40 -04:00
  • 2e40a2eb1c Added new test for unparse with parameters Fonata 2018-03-28 15:45:44 +02:00
  • 927e785891 Merge pull request #133 from parsecsv/fixing-132-output-with-fields Fonata 2018-03-28 13:25:05 +02:00
  • e6ba24b47a Dropping PHP 5.4 support (#131) Fonata 2018-03-20 11:12:22 +01:00
  • f24e5bf3a3 Merge branch 'offset-comment-and-tests' Fonata 2018-03-17 12:44:02 +01:00
  • bdd4e5ef25 Merge branch 'master' into offset-comment-and-tests Fonata 2018-03-17 12:42:18 +01:00
  • 42b5d30d66 Improved OldRequireTest: explanation and new test added (#128) Fonata 2018-03-17 12:37:54 +01:00
  • 93f177a396 Merged two ifs in _validate_row_condition to prevent Fonata 2018-03-17 12:17:25 +01:00
  • f5ff7332a4 Set $data field on unparse. This fixes issue #132. Fonata 2018-03-17 12:14:04 +01:00
  • 07846d33c1 Added OutputTest to verify issue #132 is a bug. Fonata 2018-03-17 12:05:41 +01:00
  • 4b60d38fb0 Tell PhpStorm not to complain about reference mismatch Fonata 2018-03-17 12:03:38 +01:00
  • c8d15557cb Fixed parse()'s return value: return true only if $data is useful Fonata 2018-03-17 12:01:45 +01:00
  • 10895788c8 Slightly simplified getTotalDataRowCount, added test Fonata 2018-03-17 11:54:04 +01:00
  • ffed7ffdc0 Only improved PHPDoc blocks, including sentance for output() Fonata 2018-03-17 11:40:31 +01:00
  • 7498a963ac _validate_fields_for_unparse: more info in UnexpectedValueException Fonata 2018-03-17 10:31:25 +01:00
  • 49728a74bb Only reformatted the source code Fonata 2018-03-17 10:31:09 +01:00
  • e4c9fed6cf Update README.md for old and new functions (#129) susgo 2018-03-12 08:28:25 +01:00
  • 5bc6d09b5e fixes bug on _validate_fields_for_unparse() if titles property is used instead of fields parameter for changing the titles for unparsing Susann Sgorzaly 2018-03-11 12:49:24 +01:00
  • b7f2075efc Fix #41: output order and subset (#126) susgo 2018-03-11 11:14:53 +01:00
  • 3cc20fbb47 Merge remote-tracking branch 'itexia/auto-detect-file-has-heading' Christian Bläul 2018-03-10 12:46:36 +01:00
  • 086cd15b44 Added requires to keep Composer-free environments working Christian Bläul 2018-03-07 09:51:50 +01:00
  • 03bc946b98 Sorted uses alphabetically, removed version Christian Bläul 2018-03-07 09:45:48 +01:00
  • 8f431aa7a4 Merge remote-tracking branch 'itexia/refactoring-constants' Christian Bläul 2018-03-07 09:43:22 +01:00
  • 7168cb15e3 ChangeLog.txt: Added new feature Christian Bläul 2018-03-07 09:40:43 +01:00
  • 1142ef2611 Merge pull request #124 from itexia/new-enums-for-docu Fonata 2018-03-07 09:35:01 +01:00
  • 80a4954a3a Merge pull request #122 from itexia/get-total-row-count Fonata 2018-03-07 09:30:36 +01:00
  • 9c14bc2f30 Updated ChangeLog.txt with new features 1.0.0 Christian Bläul 2018-03-03 12:01:45 +01:00
  • 4b6b7ee0b8 Removed -rc.2 from version, as it is officially released now Christian Bläul 2018-03-03 11:55:57 +01:00
  • a80a6f1862 Moved features section up because library selection comes before install Christian Bläul 2018-03-03 11:55:06 +01:00
  • da70838698 Only improved ChangeLog to include the output() change Christian Bläul 2018-03-02 17:52:26 +01:00
  • 9d7ccab20f Improved comment and test data to show how the offset is counted. Christian Bläul 2018-03-02 17:26:07 +01:00
  • abecaf1b5d Only re-formated source code slightly Christian Bläul 2018-03-02 17:25:38 +01:00
  • 3af94399e6 Semantic versioning: Marked the current state of the repo as 1.0.0-rc.2 Christian Bläul 2018-02-23 15:01:06 +01:00
  • 499088b3b2 Slightly improved README.md Christian Bläul 2018-02-22 08:42:13 +01:00
  • fd63ff4a26 Removed examples from class file as they are also in the README.md Christian Bläul 2018-02-22 08:39:10 +01:00
  • d250c9034b Further improved ChangeLog.txt and README.txt Christian Bläul 2018-02-22 08:34:52 +01:00
  • bfc2c0901b Improved installation section of README.md; added Travid badge. Christian Bläul 2018-02-21 22:12:33 +01:00
  • a0336f02ee Prepared new release in ChangeLog.txt Christian Bläul 2018-02-02 12:27:12 +01:00
  • ea78f38e26 ConstructTest: undo directory change to be on the safe side. Christian Bläul 2018-02-21 21:51:17 +01:00
  • c9e7997643 Don't break people's code just because they don't have Composer Christian Bläul 2018-02-21 21:48:04 +01:00
  • 68239d6859 No code changes, just cleaned up comments a bit Christian Bläul 2018-02-21 19:36:06 +01:00
  • d05577d303 output(): Use better mime type for \t separator. Christian Bläul 2018-02-02 13:49:57 +01:00
  • eedbffc375 Merge pull request #125 from itexia/42-Heading-and-offset Fonata 2018-03-02 17:06:22 +01:00
  • fb9325884d small code improvement Susann Sgorzaly 2018-02-28 13:47:38 +01:00
  • 11b20a3144 fixes #42. If csv has heading and offset is set, first row will always be parsed Susann Sgorzaly 2018-02-27 15:10:55 +01:00
  • 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 Susann Sgorzaly 2018-02-27 15:00:14 +01:00
  • 5daa422aca new test for setting new headers before save (comments #82) Susann Sgorzaly 2018-02-27 14:33:26 +01:00
  • 48a3cdbc5c new enum for file processing mode. extended documentation (comments #112) Susann Sgorzaly 2018-02-27 14:18:00 +01:00
  • fbe5263bca only code improvements Susann Sgorzaly 2018-02-27 13:22:11 +01:00
  • 5b1002a677 test correction Susann Sgorzaly 2018-02-26 10:06:59 +01:00
  • 4bbc928f09 added dependency for test Susann Sgorzaly 2018-02-26 10:00:52 +01:00
  • 951fc68886 new feature: auto detect if parsed file has heading Susann Sgorzaly 2018-02-26 09:46:44 +01:00
  • 68b849a37b corrected regex to fit all given enclosures. Added test for single enclosure Susann Sgorzaly 2018-02-26 08:55:51 +01:00
  • aaefe2a480 introduces new local variable that holds the data Susann Sgorzaly 2018-02-26 08:50:35 +01:00
  • 611b1a92e8 use strpos instead of preg_match Susann Sgorzaly 2018-02-26 08:46:41 +01:00
  • e5eccf1fc1 put tests into new file Susann Sgorzaly 2018-02-26 08:38:08 +01:00
  • 9e5c97328d renamed function to getTotalDataRowCount Susann Sgorzaly 2018-02-26 08:33:09 +01:00
  • b6247c367c reformat code; only extended comment for new function Susann Sgorzaly 2018-02-26 08:31:46 +01:00
  • ba4cc0672a reformat code Susann Sgorzaly 2018-02-26 06:57:40 +01:00
  • c9cc9697ef new feature: getting total data row count without parsing all data Susann Sgorzaly 2018-02-24 16:55:45 +01:00
  • 02a8c1995d Semantic versioning: Marked the current state of the repo as 1.0.0-rc.1 Tests-for-sort-and-cond Christian Bläul 2018-02-23 15:03:57 +01:00
  • f8fe4cad03 change accessibility of parse_file and parse_string Susann Sgorzaly 2018-02-23 10:37:12 +01:00
  • 95521cde87 reset file property if input is string Susann Sgorzaly 2018-02-23 10:17:09 +01:00
  • 249e5a24ac readded missing return statement in parse-function Susann Sgorzaly 2018-02-23 10:14:01 +01:00