Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Laravel 9 was just released as new LTS version. We should upgrade until Laravel 6.x support is dropped on September 6th, 2022. Also check which new features we could use to simplify code:
Maybe use the new http client instead of Guzzle directly, which could simplify testsMaybe use the newartisan test
commandCheck out and maybe customize the new markdown mail templateMove model classes toapp/Models
Use migration squashingUse the new routing namespace definitionuse
statements in the route file for my taste. We'll keep the namespace and string definitions.Maybe use enum casting for "static models" (e.g. role, shape)Find a way to enable Psalm linting with the Laravel plugin again (it seems to support only Laravel 6.x and 8.x)api
middleware group to the API routes in theRouteServiceProvider