Skip to content

Commit 05fb1c8

Browse files
authored
Add codeclimate badges (#28)
1 parent f6a5f11 commit 05fb1c8

File tree

11 files changed

+20
-24
lines changed

11 files changed

+20
-24
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=main)
44
[![Latest Stable Version](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/v)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
5+
[![Maintainability](https://api.codeclimate.com/v1/badges/e600bc7ccce319ffe7c7/maintainability)](https://codeclimate.com/github/phpjuice/paypal-checkout-sdk/maintainability)
56
[![Total Downloads](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/downloads)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
67
[![License](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/license)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
78

@@ -157,5 +158,6 @@ information.
157158

158159
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=main)
159160
[![Latest Stable Version](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/v)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
161+
[![Maintainability](https://api.codeclimate.com/v1/badges/e600bc7ccce319ffe7c7/maintainability)](https://codeclimate.com/github/phpjuice/paypal-checkout-sdk/maintainability)
160162
[![Total Downloads](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/downloads)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
161163
[![License](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/license)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)

docs/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ $response = $client->send($request);
4646
$result = json_decode($response->getBody()->getContents());
4747
```
4848

49-
## We have badges!
50-
51-
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=main) [![Latest Stable Version](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/v)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk) [![Total Downloads](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/downloads)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk) [![License](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/license)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
49+
## We have badges
5250

51+
![Tests](https://github.com/phpjuice/paypal-checkout-sdk/workflows/Tests/badge.svg?branch=main)
52+
[![Latest Stable Version](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/v)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
53+
[![Maintainability](https://api.codeclimate.com/v1/badges/e600bc7ccce319ffe7c7/maintainability)](https://codeclimate.com/github/phpjuice/paypal-checkout-sdk/maintainability)
54+
[![Total Downloads](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/downloads)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)
55+
[![License](http://poser.pugx.org/phpjuice/paypal-checkout-sdk/license)](https://packagist.org/packages/phpjuice/paypal-checkout-sdk)

docs/SUMMARY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@
2222
* [Order](api/order.md)
2323
* [Payee](api/payee.md)
2424
* [Purchase Unit](api/purchase-unit.md)
25-

docs/basic-usage/order-capture.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,4 +191,3 @@ Errors :
191191
]
192192
}
193193
```
194-

docs/basic-usage/order-create.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,3 @@ A successful request returns the HTTP `201` Created status code and a JSON respo
5656
]
5757
}
5858
```
59-

docs/basic-usage/order-show.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,3 @@ A successful request returns the HTTP `200` status code and a JSON response body
8181
]
8282
}
8383
```
84-

docs/changelog.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# Changelog
22

33
All notable changes to `paypal-checkout-sdk` are documented on [GitHub](https://github.com/phpjuice/paypal-checkout-sdk/tree/eb2f4c679d997d8cedcbde12cfec7b35bd3cf9e8/changelog.md)
4-

docs/installation.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Get client ID and client secret by going to [https://developer.paypal.com/develo
1212

1313
## Setup a Paypal Client
1414

15-
Inorder to communicate with PayPal platform we need to set up a client first :
15+
In order to communicate with PayPal platform we need to set up a client first :
1616

17-
### Create a client with sandbox environment :
17+
### Create a client with sandbox environment
1818

1919
```php
2020
// import namespace
@@ -32,7 +32,7 @@ $environment = new SandboxEnvironment($clientId, $clientSecret);
3232
$client = new PayPalClient($environment);
3333
```
3434

35-
### Create a client with production environment :
35+
### Create a client with production environment
3636

3737
```php
3838
// import namespace
@@ -49,4 +49,3 @@ $environment = new ProductionEnvironment($clientId, $clientSecret);
4949
// create a new client
5050
$client = new PayPalClient($environment);
5151
```
52-

docs/questions-and-issues.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the package? Feel free to [create an issue on GitHub](https://github.com/phpjuice/paypal-checkout-sdk/issues), we'll try to address it as soon as possible.
44

55
If you discover any security related issues, please email us at [email protected] instead of using the issue tracker.
6-

docs/requirements.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Requirements
22

3-
## Requirements
3+
## PHP Requirements
44

55
`paypal-checkout-sdk` Package requires PHP 7.4 or higher. If you are using an older version of php this package may not function correctly.
66

77
## Older versions
88

99
If you do not meet the requirements, you can opt to use an older version of the package. We only actively maintain the latest version.
10-

0 commit comments

Comments
 (0)