Closed mjordan closed 6 years ago
Note that I don't have phpunit, so can't test using that. @MarcusBarnes can you give that a try?
@bondjimbond PHPUnit is installed by MIK. What happens when you run phpunit
in the MIK directory?
@mjordan Command not found.
@mjordan Just had a call with @MarcusBarnes; he walked me through it. Turns out I just had to call it in the /vendor/bin directory.
Test result = all clear; mergeable.
@bondjimbond sweet, and your manual (non-PHPUnit) tests all passed too?
Edit: Sorry, I see that they did.... :smile:
FYI, Just ran MIK in this branch in Windows and it all worked as intended. Not that it should matter....
@bondjimbond feel free to merge and close #445. Thanks for testing!
Github issue: (#445)
What does this Pull Request do?
Restores
--limit
functionality to the CSV fetcher.What's new?
mik
to break out of itsforeach
loop at the appropriate place if--limit
is set.getRecords()
function.--limit
.mik
to adhere to PSR2 and added its check to .travis.yml.tests
directory to PSR2 check in .travis.yml.How should this be tested?
composer update
or equivalent on your system.--limit
. Verify in your output directory that the desired number of packages were created.--limit
option. It will create 20 packages.phpunit
. PHPUnit should reportTests: 58, Assertions: 84, Skipped: 2.
.Additional Notes
Does this change require documentation to be updated? No
Does this change add any new dependencies? Yes, league/csv verision 8 or higher. Run
composer update
to upgrade this library.Could this change impact execution of existing code? Yes.
Interested parties
@bondjimbond @MarcusBarnes
issue-445.zip