Skip to content

Commit

Permalink
update UPGRADE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Nov 25, 2023
1 parent f3241ad commit 5f51ef4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/phpunit.xml
/phpunit.xml export-ignore
/phpstan.neon export-ignore
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Requirements

PHP: >= 7.4
PHP: >= 8.1
Extensions: [Composer](https://getcomposer.org/), [PHP-JSON](https://www.php.net/manual/en/book.json.php)

## Install
Expand Down
12 changes: 11 additions & 1 deletion UPDATE.md → UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ All Classses with started with `\Clicksports\Lexoffice` are now under `\Sysix\Le
In Version `0.x` all Clients had a separate folder/namespace. Now they will all use the namespace
`\Sysix\Lexoffice\Clients`

| Old Class | New Class |
| --- | --- |
| `new \Clicksports\Lexoffice\Country\Client()` | `new \Sysix\Lexoffice\Clients\Country()` |
| `new \Clicksports\Lexoffice\Voucher\Client()` | `new \Sysix\Lexoffice\Clients\Voucher()` |
| ... | ... |

## Cache removed

For settings a Cache Interface check out [guzzle-cache-middleware](https://github.com/Kevinrob/guzzle-cache-middleware).
Expand All @@ -29,4 +35,8 @@ At the moment, it doesn't look like the endpoint will be added soon. So we will
## Exceptions Removed

- `\Sysix\Lexoffice\Exception\CacheException`
- `\Sysix\Lexoffice\Exception\BadMethodException`
- `\Sysix\Lexoffice\Exception\BadMethodException`

## Strict Typed

Every Method is has now strict Parameters and strict Return Types. If you extend some classes, you probably need to update them too.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"phpunit/phpunit": "^10.4"
},
"suggest": {
"kevinrob/guzzle-cache-middleware": "*"
"kevinrob/guzzle-cache-middleware": "*",
"spatie/guzzle-rate-limiter-middleware": "*"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 5f51ef4

Please sign in to comment.