Repository navigation
Conversation
Member
|
For now, this is something I'm going to hold off on. Thanks for suggesting! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I ran LaraBeacon on this repository. It is a free, LGPL-licensed pre-production check for Laravel 12 and 13 that looks for performance, security and reliability issues and runs locally as a dev dependency, next to the
composer auditchecks you already do. No account, license key or paid tier is needed, and your code never leaves the project. The fixes below came from that run.If you'd rather not add a new dev dependency, I'm happy to drop the first commit. The fixes don't depend on it.
Summary
composer.lockonly), clearing all 17 advisories thatcomposer auditreports onmain:private_rangesbypass, client-chosen host in generated URLs, path-rule bypass, HEAD requests bypassingmethodsaccess rules)UploadedFilehandling that can point at local server files)srcsetbypasses)Authenticate::redirectTo()now returnsnullexplicitly for JSON requests instead of falling off the end of the method. Behaviour is unchanged; it just matches the documentedstring|nullreturn type. No risk.require-dev(baer-software/larabeacon^3.4) in its own first commit, so it can be run withphp artisan larabeacon.Validation
composer audit: 17 advisories in 9 packages onmain, none on this branch.composer validatepasses (only the existing warning about the unboundlaravel/fortifyconstraint)../vendor/bin/pest(PHP 8.5, withoutnpm run build): 1032 passed on this branch. The 119 failures are the same on unchangedmainand come from the missing Vite manifest, since I didn't build the frontend locally. CI builds it before running the tests.mainwithout the LaraBeacon commit.Things LaraBeacon reported that I deliberately left alone:
Filament\Forms\Components\Placeholderis deprecated in Filament 5 (used inWidget,ItemResourceand a few other places). Moving toTextEntrychanges the admin UI, so it's better done by someone who can check those screens.return redirect()->route('home');inLoginController::handleProviderCallback()is unreachable, because$useris always set by that point. Harmless, and there are no SSO callback tests to cover a refactor.$fillableforeign keys onChangelog,CommentandItem: review signal only, not a confirmed issue.Model|int|stringrecord type rather than bugs.