Skip to content

Commit

Permalink
Исправлена ошибка в сериализации объекта Receipt
Browse files Browse the repository at this point in the history
  • Loading branch information
tonchik-tm committed Mar 2, 2022
1 parent 0bbd87d commit b4549b1
Show file tree
Hide file tree
Showing 306 changed files with 433 additions and 309 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v2.2.7 от 02.03.2022
* Исправлена ошибка в сериализации объекта Receipt

### v2.2.6 от 21.01.2022
* Откат поддержки psr/log версий 2 и 3

Expand Down
21 changes: 20 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"email": "[email protected]"
}
],
"version": "2.2.6",
"version": "2.2.7",
"require": {
"php": ">=5.3.0",
"ext-curl": "*",
Expand All @@ -24,6 +24,25 @@
"phpunit/phpunit": "^4.8.35 || ^5.7",
"mockery/mockery": "^0.9.9"
},
"scripts": {
"test": [
"@phpunit",
"@phpcbf",
"@phpcs",
"@phpmd"
],
"ci": [
"@phplint",
"@phpunit",
"@phpcs",
"@phpmd"
],
"phplint": "vendor/bin/parallel-lint --exclude vendor/ --exclude .idea/ -e php,module,inc,install,profile,theme .",
"phpunit": "vendor/bin/phpunit --configuration=phpunit.xml.dist",
"phpcs": "vendor/bin/phpcs --ignore=vendor/,.idea/ --standard=phpcs.xml --extensions=php,module,inc,install,profile,theme,css,info,txt,md,yml --report=full .",
"phpcbf": "vendor/bin/phpcbf --ignore=vendor/,.idea/ --standard=phpcs.xml --extensions=php,module,inc,install,profile,theme,css,info,txt,md,yml .",
"phpmd": "vendor/bin/phpmd --exclude vendor/,.idea/ --suffixes php,module,inc,install,profile,theme . text phpmd.xml"
},
"autoload": {
"psr-4": {
"YooKassa\\": "lib/"
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/JsonSerializable.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ public jsonSerialize() : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Client-ApiClientInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,6 @@ public setConfig(array $config) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Client-BaseClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,6 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Client-CurlClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,6 @@ public setTimeout(int $timeout) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Client-UserAgent.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,6 @@ public setModule(string $name, string $version) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
4 changes: 2 additions & 2 deletions docs/classes/YooKassa-Client.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ DEFAULT_ATTEMPTS_COUNT = 3
Текущая версия библиотеки

```php
SDK_VERSION = '2.2.6'
SDK_VERSION = '2.2.7'
```


Expand Down Expand Up @@ -2168,6 +2168,6 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-AbstractEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ Static public valueExists(mixed $value) : bool

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-AbstractObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,6 @@ protected getUnknownProperties() : array

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-AbstractPaymentRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,6 @@ protected setValidationError(string $value) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,6 @@ protected initCurrentObject() : self

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-AbstractRefundRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,6 @@ protected setValidationError(string $value) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-AbstractRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,6 @@ protected setValidationError(string $value) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-AbstractRequestBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,6 @@ Abstract protected initCurrentObject() : \YooKassa\Common\AbstractRequest

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-Exceptions-ApiException.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ public getProperty() : string

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ Constructor

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ public getProperty() : string

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ public getValue() : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ public getType() : string

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ public getRequestObject() : \YooKassa\Common\AbstractRequest|null

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-Exceptions-JsonException.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ public __construct(mixed $message = "", mixed $code, mixed $previous =

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,6 @@ public getResponseHeaders() : string[]

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-HttpVerb.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@ Static public valueExists(mixed $value) : bool

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-LoggerWrapper.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,6 @@ that are not necessarily wrong.

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Common-ResponseObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,6 @@ public getHeaders() : array

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ public load(mixed $filePath = null) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ public load() : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Helpers-ProductCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,6 @@ public validate() : bool

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Helpers-Random.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,6 @@ Static public value(array $values, bool $useBest = true) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
2 changes: 1 addition & 1 deletion docs/classes/YooKassa-Helpers-RawHeadersParser.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ Static public parse(mixed $rawHeaders) : mixed

---

This document was automatically generated from source code comments on 2022-01-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2022-03-02 using [phpDocumentor](http://www.phpdoc.org/)

© 2022 YooMoney
Loading

0 comments on commit b4549b1

Please sign in to comment.