Skip to content

Remove app helper style recommendation#791

Closed
MuhammedAlkhudiry wants to merge 1 commit intolaravel:mainfrom
MuhammedAlkhudiry:remove-app-helper-style
Closed

Remove app helper style recommendation#791
MuhammedAlkhudiry wants to merge 1 commit intolaravel:mainfrom
MuhammedAlkhudiry:remove-app-helper-style

Conversation

@MuhammedAlkhudiry
Copy link
Copy Markdown

@MuhammedAlkhudiry MuhammedAlkhudiry commented Apr 30, 2026

Summary

  • remove the App::make(Class) to app(Class) shorthand recommendation from the Laravel best practices style guide

Rationale

Constructor injection is recommended elsewhere in the same skill guidance, so this shorthand row can nudge agents toward service-locator usage inside classes.

Verification

  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant