-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.x] Improve client factory code quality (#200)
* chore(ci): add psalm helper scripts * chore: improve client factory code quality * chore: update pr template * chore(ci): add psalm php unit plugin * chore(client): deprecate $sandbox parameter * Update UPGRADE-2.0.md
- Loading branch information
Showing
8 changed files
with
183 additions
and
119 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 |
---|---|---|
@@ -1,17 +1,6 @@ | ||
| Q | A | | ||
|---------------|----------------------------------------------------------| | ||
| Branch? | 1.x (current) or main (for breaking changes) | | ||
| Deprecations? | yes/no <!-- please update UPGRADE-2.md | | ||
| Tickets | Fix #... <!-- prefix each issue number with "Fix #", --> | | ||
| License | MIT | | ||
| Q | A | | ||
|---------|-------| | ||
| Tickets | Fix # | | ||
| License | MIT | | ||
|
||
<!-- | ||
Replace this notice with a short README for your feature/bugfix. | ||
This will help reviewers and should be a good start for the documentation. | ||
For bug fixes and new features, that does not break BC, please base your PR | ||
on the `release/y.x` branch. For BC breaks, please base your PR on the | ||
`main` branch. | ||
Always add tests and ensure they pass. | ||
--> | ||
<!-- Describe your changes below in as much detail as possible --> |
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# Upgrade from 1.0 to 2.0 | ||
|
||
## Client Factory | ||
|
||
- The `$sandbox` parameter in the `ClientFactory::create()` method is removed, use the `ClientFactory::createSandbox()` | ||
method instead. | ||
|
||
## Value objects | ||
|
||
- [DEPRECATED] use `\Imdhemy\AppStore\ValueObjects\Time::toCarbon` instead | ||
of `\Imdhemy\AppStore\ValueObjects\Time::getCarbon` | ||
- Use `\Imdhemy\AppStore\ValueObjects\Time::toCarbon` instead of `\Imdhemy\AppStore\ValueObjects\Time::getCarbon` |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.