Skip to content

Commit

Permalink
Merge pull request #10 from open-source-contributions/issue_#8
Browse files Browse the repository at this point in the history
Resolves issue #8
  • Loading branch information
zhooravell authored Jul 1, 2020
2 parents 3dbb2e3 + e058392 commit 56790ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ before_script:
- travis_retry composer install --no-interaction --prefer-source

script:
- vendor/bin/phpcs --standard=PSR2 src tests
- vendor/bin/phpunit --coverage-clover=coverage.xml
- vendor/bin/infection -s --threads=4

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
"require-dev": {
"infection/infection": "^0.15.3",
"squizlabs/php_codesniffer": "^3.5",
"phpunit/phpunit": "^8.0"
},
"autoload": {
Expand Down
3 changes: 1 addition & 2 deletions src/Factory/ResponseFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public static function createFromRefundResponse(ResponseInterface $response): Re
{
$xml = self::responseToXML($response);

if (
!$xml->xpath('transaction_id') ||
if (!$xml->xpath('transaction_id') ||
!$xml->xpath('mb_amount') ||
!$xml->xpath('mb_currency') ||
!$xml->xpath('status')
Expand Down

0 comments on commit 56790ac

Please sign in to comment.