Skip to content

Commit

Permalink
update requirements for lumen/laravel 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Anderson committed Sep 9, 2015
1 parent 0de768b commit d37132d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This package wraps the Cybersource SOAP API in a convenient, easy to use package
Install using composer:

"require": {
"credibility/laravel-cybersource": "dev-master"
"credibility/laravel-cybersource": "3.0.*"
}

See [Packagist](https://packagist.org/packages/credibility/laravel-cybersource) for latest version
Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
],
"license": "MIT",
"require": {
"php": ">=5.4.0",
"illuminate/support": "4.1.*",
"besimple/soap-client": "0.2.2",
"goetas/xsd2php":"2.*@dev"
"php": ">=5.5.9",
"illuminate/support": "5.1.*",
"besimple/soap-client": "0.2.6"
},
"require-dev": {
"phpunit/phpunit": "4.0.*",
Expand Down
3 changes: 1 addition & 2 deletions src/Credibility/LaravelCybersource/CybersourceHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ public static function str_getcsv ( $input, $delimiter = ',', $enclosure = '"',
$headers = fgetcsv( $t, null, $delimiter, $enclosure, $escape );

$rows = array();
while( !feof( $t ) ) {
$row = fgetcsv( $t, null, $delimiter, $enclosure, $escape );
while( !feof( $t ) && $row = fgetcsv( $t, null, $delimiter, $enclosure, $escape )) {

if(count($headers) != count($row)) {
$diff = abs(count($headers) - count($row));
Expand Down

0 comments on commit d37132d

Please sign in to comment.