-
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 #23 from PAYONE-GmbH/develop
Merge develop into main
- Loading branch information
Showing
13 changed files
with
2,648 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 |
---|---|---|
|
@@ -19,3 +19,6 @@ out/ | |
.php-cs-fixer.cache | ||
coverage/ | ||
coverage.xml | ||
|
||
# Nodejs / Javascript | ||
node_modules |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# [0.1.0](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/compare/f7fc619bdc3a01a86a4d29d23946fa29d520fa31...v0.1.0) (2024-08-09) | ||
### Bug Fixes | ||
* fix: allow nullables to be compatible with api responses ([3d505149080ad09d1b9fe8eaa5a20928e5531bff](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/3d505149080ad09d1b9fe8eaa5a20928e5531bff)) | ||
* fix: autoloading should be done by the consumer of the sdk ([eed5c914b0c041feea91e4865fbf2fd1c18e4dca](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/eed5c914b0c041feea91e4865fbf2fd1c18e4dca)) | ||
* fix(communicator-configuration): ensure that not trailing slash is contained in host ([127ac40921a365f8701a8d70a5a0052b99223da7](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/127ac40921a365f8701a8d70a5a0052b99223da7)) | ||
* fix: DateTime should be handle as time and not as an instance of DateTime class ([3e39d3420519dfc61d444675fa36aa89b53316de](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/3e39d3420519dfc61d444675fa36aa89b53316de)) | ||
* fix(deserialization): recursive deserialization of array properties should result in actual objects ([7a57b9fed03efd89542b7cdf99d0193725c86aa5](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/7a57b9fed03efd89542b7cdf99d0193725c86aa5)) | ||
* fix: handle json erros from symfony/serialize ([7702963832e3863abd0480449ccb583089fbd450](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/7702963832e3863abd0480449ccb583089fbd450)) | ||
* fix: make optional properties nullable ([c5175b9d6a08eee2cea43972a322de473e3ce8c1](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/c5175b9d6a08eee2cea43972a322de473e3ce8c1)) | ||
* fix: make properties optional as this is needed for responses ([b3f92a372c4ae27f4dc91d5171f4ef1c112e98ff](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/b3f92a372c4ae27f4dc91d5171f4ef1c112e98ff)) | ||
* fix: mark optional properties as nullable ([789ca9a4f0cf44bdb697f039dd9f6dcd2b4e8836](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/789ca9a4f0cf44bdb697f039dd9f6dcd2b4e8836)) | ||
* fix: only convert empty objects to '{}' not any array ([06baccaf5baf0a18b611d32cd80f092391cc113e](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/06baccaf5baf0a18b611d32cd80f092391cc113e)) | ||
* fix: parsing error is thrown by symfony and must be handled ([392e57fbf9b40797ffc38c904670d45e67a13850](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/392e57fbf9b40797ffc38c904670d45e67a13850)) | ||
* fix: serialize empty objects to '{}', add more extensive error information ([8bed1f5d9e3a6df96bb00c3484f15385877c8cb8](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/8bed1f5d9e3a6df96bb00c3484f15385877c8cb8)) | ||
* fix: type error in call to makeApiCall, toQueryMap should be public ([2f750188f321495b22e928cfbd5d897d5eff2907](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/2f750188f321495b22e928cfbd5d897d5eff2907)) | ||
* fix: typo in script name ([60626a18497b5c0f5ecf1fc5bf0ad1f3b51b8b25](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/60626a18497b5c0f5ecf1fc5bf0ad1f3b51b8b25)) | ||
* fix: update out of date type annotations ([212d64efbff7b6b892d52babd2031b7ce83893c3](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/212d64efbff7b6b892d52babd2031b7ce83893c3)) | ||
* fix: use correct type annotations in @var comments ([e5b09b353720f7130f1f4038fc340ca25e688b13](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/e5b09b353720f7130f1f4038fc340ca25e688b13)) | ||
* fix: use string id as specified by the type ([7bce549e716d4dcf7b5675707dc2c76c608cabef](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/7bce549e716d4dcf7b5675707dc2c76c608cabef)) | ||
* fix: wrap customer object to match expected json of the pcp api ([0fac63f9483ef7de278bb3c1772782dd76668b3f](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/0fac63f9483ef7de278bb3c1772782dd76668b3f)) | ||
### Documentation | ||
* docs: explain release flow and installation process from github via composer ([d864f9c8ed1fe96c9b67438c9e8f29fa67f3760b](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/d864f9c8ed1fe96c9b67438c9e8f29fa67f3760b)) | ||
### Features | ||
* feat: add helper function to convert apple pay response into PCP models ([1d7d32d26ea21c31afbe70c9fa5383804863093e](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/1d7d32d26ea21c31afbe70c9fa5383804863093e)) | ||
* feat: add models for client side responses from apple pay ([24aad56e0380851d568369024b5e88a3de5b023e](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/24aad56e0380851d568369024b5e88a3de5b023e)) | ||
* feat: expose serialization functions on api client instances, make serializer itsself unaccessible ([579631c347232a60f91b0d5da8da1981236ab625](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/579631c347232a60f91b0d5da8da1981236ab625)) | ||
* feature(models): make properties optional to avoid exceptions when receiving response ([90d6d01b5a7227ceafcfe72d740c7d74c12c4c0f](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/90d6d01b5a7227ceafcfe72d740c7d74c12c4c0f)) | ||
* feat: rename models to use correct product 302 for apple pay, make apple pay data structures defined by PCP api explicit in name ([29d7a0adb648af96bc7f7516dc5f5a7e941a0cd9](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/29d7a0adb648af96bc7f7516dc5f5a7e941a0cd9)) | ||
* feat: serialization should be done via static methods as its state independent ([e61b08d426754127ab3b680ebed7c8c3ed9de47e](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/e61b08d426754127ab3b680ebed7c8c3ed9de47e)) | ||
* feat: setup ci based sonarcloud scan to allow granular configuration and support for test coverage ([300a1fab78b156a893e2eb490332319ae07c6f39](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/commit/300a1fab78b156a893e2eb490332319ae07c6f39)) |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Contributing to the PAYONE Commerce Platform PHP SDK | ||
|
||
Thank you for considering contributing to the PAYONE Commerce Platform PHP SDK! We appreciate your efforts to help improve this project. Below are guidelines for contributing. | ||
|
||
## How to Contribute | ||
|
||
### Pull Requests | ||
|
||
We welcome pull requests! Please follow these steps to submit one: | ||
|
||
1. **Fork** the repository and create your branch from `main`. | ||
2. **Install** any dependencies and ensure the project builds and passes tests. | ||
|
||
```bash | ||
composer install | ||
composer dumb-autoload | ||
``` | ||
|
||
3. **Develop** your changes. | ||
4. **Test** your changes thoroughly. | ||
```bash | ||
composer run-script test | ||
# or for coverage | ||
composer run-script coverage-report | ||
``` | ||
5. **Write** clear, concise, and self-explanatory commit messages. | ||
6. **Open** a pull request with a clear title and description of what your change does. | ||
7. **Ensure** your pull request follows the [style guides](#style-guides). | ||
|
||
### Reporting Bugs | ||
|
||
If you encounter any bugs, please report them using one of the following methods: | ||
|
||
1. **Issue Tracker**: Submit an issue through our [issues tracker](https://github.com/PAYONE-GmbH/PCP-ServerSDK-php/issues/new). | ||
2. **Security Issues**: For security-related issues, please contact our IT support via email at [email protected] with a clear subject line indicating that it is a security issue. This ensures that the issue will be visible to and handled by the PAYONE tech support team. | ||
|
||
## Style Guides | ||
|
||
### Code Style | ||
|
||
Please ensure that you follow the coding standards. You can use `composer run-script lint` to check for potential errors with `phpstan`. Use `composer run-script format` to ensure you're code is formatted consistently. |
Oops, something went wrong.