Closed curtisdelicata closed 5 months ago
041f27f2a5
)[!TIP] I'll email you at genealogysoftwareuk@gmail.com when I complete this pull request!
Here are the GitHub Actions logs prior to making any changes:
87a7ebc
Checking composer.json for syntax errors... β composer.json has no syntax errors!
1/1 βChecking composer.json for syntax errors... β composer.json has no syntax errors!
Sandbox passed on the latest main
, so sandbox checks will be enabled for this issue.
I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.
composer.json
β https://github.com/liberu-genealogy/genealogy-laravel/commit/d6e4c2b82343d5bc8a26c4a946af01aa69ea753e Edit
Modify composer.json with contents:
β’ Change the version constraint for `laravel/sanctum` from `"dev-master"` to `"^4.0"`. This will ensure that the project uses a stable version of the Sanctum package, which is more reliable for production use. The line to be modified is: - From: `"laravel/sanctum": "dev-master",` - To: `"laravel/sanctum": "^4.0",`
β’ After making this change, run `composer update laravel/sanctum` to update the installed version of Sanctum to the latest version that matches the new constraint. This command should be run in the terminal from the root directory of the project.
β’ It is crucial to test the application thoroughly after making this change to ensure that the update does not introduce any breaking changes or regressions. Pay special attention to authentication features provided by Sanctum, as these are most likely to be affected by the update.
--- +++ @@ -11,7 +11,7 @@ "laravel-liberu/laravel-gedcom": "^3.4", "laravel/framework": "^11.0", "laravel/octane": "^2.3", - "laravel/sanctum": "dev-master", + "laravel/sanctum": "^4.0", "laravel/tinker": "^2.9", "liberusoftware/filament-cashier-billing-provider": "^1.3", "liberusoftware/filament-spatie-roles-permissions": "^2.3"
composer.json
β Edit
Check composer.json with contents:
Ran GitHub Actions for d6e4c2b82343d5bc8a26c4a946af01aa69ea753e:
I have finished reviewing the code for completeness. I did not find errors for sweep/change_composerjson
.
π‘ To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.Something wrong? Let us know.
This is an automated message generated by Sweep AI.
Details
Update composer.json to use sanctum 4 stable version and not dev-master
Checklist
- [X] Modify `composer.json` β https://github.com/liberu-genealogy/genealogy-laravel/commit/d6e4c2b82343d5bc8a26c4a946af01aa69ea753e [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/change_composerjson/composer.json#L13-L13) - [X] Running GitHub Actions for `composer.json` β [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/change_composerjson/composer.json#L13-L13)