Skip to content

Commit 6b17097

Browse files
authored
clean and format code (#8)
* add some cleaning and formatting * fix typo in readme file * update composer json * update changelog
1 parent 2b3213e commit 6b17097

Some content is hidden

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

41 files changed

+717
-623
lines changed

changelog.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,38 @@ All notable changes to `phpjuice/paypal-checkout-sdk` will be documented in this
55
## Version 1.0.0
66

77
### Added
8+
89
- Orders API Requests
9-
- Paypal Client
10+
- PayPal Client
1011
- Access Token Requests
12+
13+
## Version 1.0.1
14+
15+
### Added
16+
17+
- Update package documentation
18+
19+
## Version 1.0.2
20+
21+
### Added
22+
23+
- Add type hints to all classes.
24+
- Add the calculated total test.
25+
26+
## Version 1.1.0
27+
28+
### Added
29+
30+
- Upgrade guzzle http to version 7 (#3)
31+
32+
## Version 1.1.1
33+
34+
### Added
35+
36+
- Remove PHP version header on sandbox environment (#7) (see #6)
37+
38+
## Version 1.1.2
39+
40+
### Added
41+
42+
- Clean and refactor code #8

composer.json

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
{
2-
"name": "phpjuice/paypal-checkout-sdk",
3-
"description": "Paypal Checkout SDK",
4-
"keywords": [
5-
"paypal",
6-
"checkout"
7-
],
8-
"license": "MIT",
9-
"type": "library",
102
"autoload": {
113
"psr-4": {
124
"PayPal\\Checkout\\": "src/"
@@ -17,29 +9,33 @@
179
"Tests\\": "tests/"
1810
}
1911
},
12+
"description": "Paypal Checkout SDK",
13+
"keywords": [
14+
"paypal",
15+
"checkout"
16+
],
17+
"license": "MIT",
18+
"minimum-stability": "dev",
19+
"name": "phpjuice/paypal-checkout-sdk",
20+
"prefer-stable": true,
2021
"require": {
2122
"php": "^7.2",
2223
"guzzlehttp/psr7": "^1.6",
23-
"guzzlehttp/guzzle": "^7.0"
24+
"guzzlehttp/guzzle": "^7.0",
25+
"ext-json": "*"
2426
},
2527
"require-dev": {
2628
"phpunit/phpunit": "^9.0",
2729
"squizlabs/php_codesniffer": "^3.4",
2830
"phpstan/phpstan": "^0.11.5"
2931
},
30-
"minimum-stability": "dev",
31-
"prefer-stable": true,
3232
"scripts": {
3333
"test": "phpunit",
34-
"phpcs": [
35-
"phpcs --config-set show_warnings 0 ",
36-
"phpcs src --standard=PSR2 --extensions=php --encoding=utf-8"
37-
],
38-
"phpcbf": "phpcbf src --standard=PSR2 --extensions=php --encoding=utf-8",
3934
"analyse": "phpstan analyse src tests",
4035
"php-cs-fixer": [
4136
"php-cs-fixer fix src --rules=@PSR2",
4237
"php-cs-fixer fix tests --rules=@PSR2"
4338
]
44-
}
39+
},
40+
"type": "library"
4541
}

0 commit comments

Comments
 (0)