-
-
src/Lunr/Gravity/Filesystem/PhysicalFilesystemAccessObject.php (Diff revision 1) The delimiter could be different than a comma, maybe use a slightly more generic (or delimiter-specific) warning message?
-
-
src/Lunr/Gravity/Filesystem/PhysicalFilesystemAccessObject.php (Diff revision 1) could you also add the method in the interface?
-
Just to comment, I tested the function in my code chain and it properly does what it's supposed to. :)
-
-
src/Lunr/Gravity/Filesystem/FilesystemAccessObjectInterface.php (Diff revision 2) s/option/optional/ ?
-
while the mock works here, we don't really need it. I'd rather see an actually wrong array value here that provokes the error.
Change Summary:
As it was not possible to reproduce the return false of the fputcsv function, this condition is removed, as well as the testing of it. The branch is also rebased against the updated master
Diff: |
Revision 5 (+168) |
---|
-
-
src/Lunr/Gravity/Filesystem/PhysicalFilesystemAccessObject.php (Diff revisions 4 - 5) fputcsv doesn't throw exceptions so the try/catch is superfluous
Change Summary:
I just noticed that I was not making use of the $delimiter and $enclosure in the function call.
Diff: |
Revision 7 (+157) |
---|