Skip to content

Commit 1bef93d

Browse files
committed
Make code refactor
1 parent 8596a16 commit 1bef93d

File tree

69 files changed

+3425
-894
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3425
-894
lines changed

.phpdoc/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cache

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@
3535
"sort-packages": true
3636
},
3737
"require": {
38-
"guzzlehttp/guzzle": "^7.2"
38+
"guzzlehttp/guzzle": "^7.2",
39+
"ext-json": "*"
3940
},
4041
"require-dev": {
4142
"mockery/mockery": "1.4.x-dev",
4243
"phpunit/phpunit": "^9",
43-
"symfony/var-dumper": "9999999-dev"
44+
"symfony/var-dumper": "9999999-dev",
45+
"squizlabs/php_codesniffer": "3.*"
4446
}
4547
}

composer.lock

Lines changed: 157 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Paystack PHP SDK</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<base href="../">
8+
<link rel="icon" href="images/favicon.ico"/>
9+
<link rel="stylesheet" href="css/normalize.css">
10+
<link rel="stylesheet" href="css/base.css">
11+
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
12+
<link rel="stylesheet" href="css/template.css">
13+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
14+
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
15+
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
16+
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
17+
<script src="js/search.js"></script>
18+
<script defer src="js/searchIndex.js"></script>
19+
</head>
20+
<body id="top">
21+
<header class="phpdocumentor-header phpdocumentor-section">
22+
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Paystack PHP SDK</a></h1>
23+
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
24+
<label class="phpdocumentor-header__menu-icon" for="menu-button">
25+
<i class="fas fa-bars"></i>
26+
</label>
27+
<section data-search-form class="phpdocumentor-search">
28+
<label>
29+
<span class="visually-hidden">Search for</span>
30+
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
31+
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
32+
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
33+
</svg>
34+
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
35+
</label>
36+
</section>
37+
38+
<nav class="phpdocumentor-topnav">
39+
<ul class="phpdocumentor-topnav__menu">
40+
</ul>
41+
</nav>
42+
</header>
43+
44+
<main class="phpdocumentor">
45+
<div class="phpdocumentor-section">
46+
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
47+
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
48+
Menu
49+
</label>
50+
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
51+
52+
<section class="phpdocumentor-sidebar__category">
53+
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
54+
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/matscode.html"><abbr title="\Matscode">Matscode</abbr></a></h4>
55+
<ul class="phpdocumentor-list">
56+
<li><a href="namespaces/matscode-paystack.html"><abbr title="\Matscode\Paystack">Paystack</abbr></a></li>
57+
</ul>
58+
</section>
59+
60+
<section class="phpdocumentor-sidebar__category">
61+
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
62+
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Default.html"><abbr title="\Default">Default</abbr></a></h3>
63+
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Matscode.html"><abbr title="\Matscode">Matscode</abbr></a></h3>
64+
<ul class="phpdocumentor-list">
65+
<li><a href="packages/Matscode-Paystack.html"><abbr title="\Matscode\Paystack">Paystack</abbr></a></li>
66+
</ul>
67+
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Paystack.html"><abbr title="\Paystack">Paystack</abbr></a></h3>
68+
<ul class="phpdocumentor-list">
69+
<li><a href="packages/Paystack-Resources.html"><abbr title="\Paystack\Resources">Resources</abbr></a></li>
70+
<li><a href="packages/Paystack-Traits.html"><abbr title="\Paystack\Traits">Traits</abbr></a></li>
71+
<li><a href="packages/Paystack-Utility.html"><abbr title="\Paystack\Utility">Utility</abbr></a></li>
72+
</ul>
73+
</section>
74+
75+
<section class="phpdocumentor-sidebar__category">
76+
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
77+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
78+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
79+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
80+
</section>
81+
82+
<section class="phpdocumentor-sidebar__category">
83+
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
84+
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
85+
</section>
86+
</aside>
87+
88+
<div class="phpdocumentor-column -eight phpdocumentor-content">
89+
<ul class="phpdocumentor-breadcrumbs">
90+
<li class="phpdocumentor-breadcrumb"><a href="namespaces/matscode.html">Matscode</a></li>
91+
<li class="phpdocumentor-breadcrumb"><a href="namespaces/matscode-paystack.html">Paystack</a></li>
92+
<li class="phpdocumentor-breadcrumb"><a href="namespaces/matscode-paystack-exceptions.html">Exceptions</a></li>
93+
</ul>
94+
95+
<article class="phpdocumentor-element -class">
96+
<h2 class="phpdocumentor-content__title">
97+
InvalidArgumentException
98+
99+
<span class="phpdocumentor-element__extends">
100+
extends <abbr title="\InvalidArgumentException">InvalidArgumentException</abbr>
101+
</span>
102+
103+
<div class="phpdocumentor-element__package">
104+
in package
105+
<ul class="phpdocumentor-breadcrumbs">
106+
<li class="phpdocumentor-breadcrumb"><a href="packages/Default.html">Default</a></li>
107+
</ul>
108+
</div>
109+
110+
111+
</h2>
112+
113+
<aside class="phpdocumentor-element-found-in">
114+
<abbr class="phpdocumentor-element-found-in__file" title="src/Exceptions/InvalidArgumentException.php"><a href="files/src-exceptions-invalidargumentexception.html"><abbr title="src/Exceptions/InvalidArgumentException.php">InvalidArgumentException.php</abbr></a></abbr>
115+
:
116+
<span class="phpdocumentor-element-found-in__line">7</span>
117+
</aside>
118+
119+
120+
121+
122+
123+
124+
125+
126+
127+
128+
129+
130+
131+
132+
133+
134+
135+
136+
</article>
137+
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
138+
<section class="phpdocumentor-search-results__dialog">
139+
<header class="phpdocumentor-search-results__header">
140+
<h2 class="phpdocumentor-search-results__title">Search results</h2>
141+
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
142+
</header>
143+
<section class="phpdocumentor-search-results__body">
144+
<ul class="phpdocumentor-search-results__entries"></ul>
145+
</section>
146+
</section>
147+
</section>
148+
</div>
149+
</div>
150+
<a href="classes/Matscode-Paystack-Exceptions-InvalidArgumentException.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
151+
152+
</main>
153+
154+
<script>
155+
cssVars({});
156+
</script>
157+
</body>
158+
</html>

docs/classes/Matscode-Paystack-Exceptions-InvalidResourceException.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,14 @@ <h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/matscode.h
6060
<section class="phpdocumentor-sidebar__category">
6161
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
6262
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Default.html"><abbr title="\Default">Default</abbr></a></h3>
63+
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Matscode.html"><abbr title="\Matscode">Matscode</abbr></a></h3>
64+
<ul class="phpdocumentor-list">
65+
<li><a href="packages/Matscode-Paystack.html"><abbr title="\Matscode\Paystack">Paystack</abbr></a></li>
66+
</ul>
6367
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Paystack.html"><abbr title="\Paystack">Paystack</abbr></a></h3>
6468
<ul class="phpdocumentor-list">
6569
<li><a href="packages/Paystack-Resources.html"><abbr title="\Paystack\Resources">Resources</abbr></a></li>
70+
<li><a href="packages/Paystack-Traits.html"><abbr title="\Paystack\Traits">Traits</abbr></a></li>
6671
<li><a href="packages/Paystack-Utility.html"><abbr title="\Paystack\Utility">Utility</abbr></a></li>
6772
</ul>
6873
</section>
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Paystack PHP SDK</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<base href="../">
8+
<link rel="icon" href="images/favicon.ico"/>
9+
<link rel="stylesheet" href="css/normalize.css">
10+
<link rel="stylesheet" href="css/base.css">
11+
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
12+
<link rel="stylesheet" href="css/template.css">
13+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
14+
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
15+
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
16+
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
17+
<script src="js/search.js"></script>
18+
<script defer src="js/searchIndex.js"></script>
19+
</head>
20+
<body id="top">
21+
<header class="phpdocumentor-header phpdocumentor-section">
22+
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Paystack PHP SDK</a></h1>
23+
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
24+
<label class="phpdocumentor-header__menu-icon" for="menu-button">
25+
<i class="fas fa-bars"></i>
26+
</label>
27+
<section data-search-form class="phpdocumentor-search">
28+
<label>
29+
<span class="visually-hidden">Search for</span>
30+
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
31+
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
32+
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
33+
</svg>
34+
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
35+
</label>
36+
</section>
37+
38+
<nav class="phpdocumentor-topnav">
39+
<ul class="phpdocumentor-topnav__menu">
40+
</ul>
41+
</nav>
42+
</header>
43+
44+
<main class="phpdocumentor">
45+
<div class="phpdocumentor-section">
46+
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
47+
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
48+
Menu
49+
</label>
50+
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
51+
52+
<section class="phpdocumentor-sidebar__category">
53+
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
54+
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/matscode.html"><abbr title="\Matscode">Matscode</abbr></a></h4>
55+
<ul class="phpdocumentor-list">
56+
<li><a href="namespaces/matscode-paystack.html"><abbr title="\Matscode\Paystack">Paystack</abbr></a></li>
57+
</ul>
58+
</section>
59+
60+
<section class="phpdocumentor-sidebar__category">
61+
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
62+
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Default.html"><abbr title="\Default">Default</abbr></a></h3>
63+
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Matscode.html"><abbr title="\Matscode">Matscode</abbr></a></h3>
64+
<ul class="phpdocumentor-list">
65+
<li><a href="packages/Matscode-Paystack.html"><abbr title="\Matscode\Paystack">Paystack</abbr></a></li>
66+
</ul>
67+
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Paystack.html"><abbr title="\Paystack">Paystack</abbr></a></h3>
68+
<ul class="phpdocumentor-list">
69+
<li><a href="packages/Paystack-Resources.html"><abbr title="\Paystack\Resources">Resources</abbr></a></li>
70+
<li><a href="packages/Paystack-Traits.html"><abbr title="\Paystack\Traits">Traits</abbr></a></li>
71+
<li><a href="packages/Paystack-Utility.html"><abbr title="\Paystack\Utility">Utility</abbr></a></li>
72+
</ul>
73+
</section>
74+
75+
<section class="phpdocumentor-sidebar__category">
76+
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
77+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
78+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
79+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
80+
</section>
81+
82+
<section class="phpdocumentor-sidebar__category">
83+
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
84+
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
85+
</section>
86+
</aside>
87+
88+
<div class="phpdocumentor-column -eight phpdocumentor-content">
89+
<ul class="phpdocumentor-breadcrumbs">
90+
<li class="phpdocumentor-breadcrumb"><a href="namespaces/matscode.html">Matscode</a></li>
91+
<li class="phpdocumentor-breadcrumb"><a href="namespaces/matscode-paystack.html">Paystack</a></li>
92+
<li class="phpdocumentor-breadcrumb"><a href="namespaces/matscode-paystack-exceptions.html">Exceptions</a></li>
93+
</ul>
94+
95+
<article class="phpdocumentor-element -class">
96+
<h2 class="phpdocumentor-content__title">
97+
JsonException
98+
99+
<span class="phpdocumentor-element__extends">
100+
extends <abbr title="\JsonException">JsonException</abbr>
101+
</span>
102+
103+
<div class="phpdocumentor-element__package">
104+
in package
105+
<ul class="phpdocumentor-breadcrumbs">
106+
<li class="phpdocumentor-breadcrumb"><a href="packages/Default.html">Default</a></li>
107+
</ul>
108+
</div>
109+
110+
111+
</h2>
112+
113+
<aside class="phpdocumentor-element-found-in">
114+
<abbr class="phpdocumentor-element-found-in__file" title="src/Exceptions/JsonException.php"><a href="files/src-exceptions-jsonexception.html"><abbr title="src/Exceptions/JsonException.php">JsonException.php</abbr></a></abbr>
115+
:
116+
<span class="phpdocumentor-element-found-in__line">7</span>
117+
</aside>
118+
119+
120+
121+
122+
123+
124+
125+
126+
127+
128+
129+
130+
131+
132+
133+
134+
135+
136+
</article>
137+
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
138+
<section class="phpdocumentor-search-results__dialog">
139+
<header class="phpdocumentor-search-results__header">
140+
<h2 class="phpdocumentor-search-results__title">Search results</h2>
141+
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
142+
</header>
143+
<section class="phpdocumentor-search-results__body">
144+
<ul class="phpdocumentor-search-results__entries"></ul>
145+
</section>
146+
</section>
147+
</section>
148+
</div>
149+
</div>
150+
<a href="classes/Matscode-Paystack-Exceptions-JsonException.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
151+
152+
</main>
153+
154+
<script>
155+
cssVars({});
156+
</script>
157+
</body>
158+
</html>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy