-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from andrei-ghenov/feature/T-005-api-client-test
T-005-Refactor codebase for better readability and add PHPUnit tests
- Loading branch information
Showing
9 changed files
with
353 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
{ | ||
"name": "paymaster/quick-top-up-api", | ||
"description": "QuickTopUpAPI is a PHP demo for connecting to transaction APIs, focusing on mobile top-up purchases and status checks. It's designed for easy integration and future scalability, offering a practical example for developers.", | ||
"autoload": { | ||
"psr-4": { | ||
"QuickTopUpAPI\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"QuickTopUpAPI\\Tests\\": "tests/" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Andrei Ghenov" | ||
} | ||
], | ||
"require": { | ||
"guzzlehttp/guzzle": "^7.8", | ||
"vlucas/phpdotenv": "^5.6" | ||
"name": "paymaster/quick-top-up-api", | ||
"description": "QuickTopUpAPI is a PHP demo for connecting to transaction APIs, focusing on mobile top-up purchases and status checks. It's designed for easy integration and future scalability, offering a practical example for developers.", | ||
"autoload": { | ||
"psr-4": { | ||
"QuickTopUpAPI\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"QuickTopUpAPI\\Tests\\": "tests/" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Andrei Ghenov" | ||
} | ||
], | ||
"require": { | ||
"guzzlehttp/guzzle": "^7.8", | ||
"vlucas/phpdotenv": "^5.6" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^11.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<?php | ||
|
||
require_once __DIR__ . '/../src/bootstrap.php'; | ||
require_once __DIR__.'/../src/bootstrap.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.