Skip to content

Commit

Permalink
Add ExceptionHandler to view errors clearly , minor changes and optim…
Browse files Browse the repository at this point in the history
…ized
  • Loading branch information
arif98741 committed Oct 23, 2021
1 parent e827b99 commit dffb961
Show file tree
Hide file tree
Showing 8 changed files with 179 additions and 119 deletions.
20 changes: 11 additions & 9 deletions UnitTestFiles/Functionality/FunctionalityTest.php
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
<?php
/*
*
* * -------------------------------------------------------------
* * Copyright (c) 2020
* * -All Rights Preserved By Ariful Islam
* * www.phpdark.com
* * -If you have any query then knock me at
* * [email protected]
* * See my profile @ https://github.com/arif98741
* * ----------------------------------------------------------------
* -------------------------------------------------------------
* Copyright (c) 2020
* -All Rights Preserved By Ariful Islam
* -If you have any query then knock me at
* [email protected]
* See my profile @ https://github.com/arif98741
* ----------------------------------------------------------------
*
*/

namespace UnitTestFiles\Test;


use Exception;
use PHPUnit\Framework\TestCase;

class FunctionalityTest extends TestCase
{
/**
* @throws Exception
*/
public function testTrueAssetsToTrue()
{
$condition = true;
Expand Down
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@
"php": "^5.5 || ^7.0 || ^8.0",
"ext-curl": "*"
},
"description": "This is Bangladeshi nagad payment gateway api development library. This can by used in your website, android or apple application ",
"description": "This is Bangladeshi nagad payment gateway api development library. This library can be used easily as dependency in your php application.",
"keywords": [
"nagad",
"payment gateway",
"api"
"api",
"nagad payment gateway",
"Bangladeshi payment gateway",
"nagad php library",
"payment gateway"
],
"minimum-stability": "stable",
"require-dev": {
Expand Down
107 changes: 57 additions & 50 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 7 additions & 11 deletions src/Base.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<?php
/*
*
* * -------------------------------------------------------------
* * Copyright (c) 2020
* * -created by Ariful Islam
* * -All Rights Preserved By
* * Ariful Islam
* * www.phpdark.com
* * -If you have any query then knock me at
* * [email protected]
* * See my profile @ https://github.com/arif98741
* * ----------------------------------------------------------------
*
* -------------------------------------------------------------
* Copyright (c) 2020
* -All Rights Preserved By Ariful Islam
* -If you have any query then knock me at
* [email protected]
* See my profile @ https://github.com/arif98741
* ----------------------------------------------------------------
*/

namespace NagadApi;
Expand Down
Loading

0 comments on commit dffb961

Please sign in to comment.