Skip to content

Commit

Permalink
Merge pull request #97 from square/release/24.0.0.20221116
Browse files Browse the repository at this point in the history
Generated PR for Release: 24.0.0.20221116
  • Loading branch information
steefan-square authored Nov 16, 2022
2 parents 9cc66e4 + c5539fa commit 4aea417
Show file tree
Hide file tree
Showing 521 changed files with 33,199 additions and 6,990 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
restore-keys: |
${{ runner.os }}-php-${{ matrix.php-versions }}-
- name: Install dependencies
run: composer install --no-progress
run: composer install --prefer-dist --no-progress

- name: Run test suite
run: composer run test
Expand Down
14 changes: 10 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "square/square",
"description": "Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.",
"version": "23.0.0.20221019",
"version": "24.0.0.20221116",
"type": "library",
"keywords": [
"Square",
Expand Down Expand Up @@ -42,8 +42,14 @@
"scripts": {
"test": "phpunit",
"test-coverage": "phpunit --coverage-html=coverage",
"lint": "phpcs --standard=phpcs-ruleset.xml src/",
"lint-fix": "phpcbf --standard=phpcs-ruleset.xml src/",
"analyze": "phan --allow-polyfill-parser"
"lint-src": "phpcs --standard=phpcs-ruleset.xml src/",
"lint-src-fix": "phpcbf --standard=phpcs-ruleset.xml src/",
"lint-tests": "phpcs --standard=phpcs-ruleset.xml tests/",
"lint-tests-fix": "phpcbf --standard=phpcs-ruleset.xml tests/",
"analyze": "phan --allow-polyfill-parser",
"lint": [
"@lint-src",
"@lint-tests"
]
}
}
4 changes: 2 additions & 2 deletions doc/api-exception.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Thrown when there is a network error or HTTP response status code is not okay.

| Name | Type | Description |
| --- | --- | --- |
| getHttpRequest() | HttpRequest | Returns the HTTP request. |
| getHttpResponse() | ?HttpResponse | Returns the HTTP response. |
| getHttpRequest() | [`HttpRequest`](http-request.md) | Returns the HTTP request. |
| getHttpResponse() | ?[`HttpResponse`](http-response.md) | Returns the HTTP response. |
| hasResponse() | bool | Is the response available? |

Loading

0 comments on commit 4aea417

Please sign in to comment.