Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ideas for new Laravel sniffs #5

Open
5 tasks
szepeviktor opened this issue Apr 14, 2023 · 0 comments
Open
5 tasks

Ideas for new Laravel sniffs #5

szepeviktor opened this issue Apr 14, 2023 · 0 comments

Comments

@szepeviktor
Copy link
Contributor

szepeviktor commented Apr 14, 2023

moved from https://github.com/InteractionDesignFoundation/coding-standard/blob/main/docs/ideas.md

  • Validation rule syntax: don’t use user’s input in unique rule (security)
  • Validation rule syntax: prefer an array instead |
  • Facade vs helper classes
  • Security: Don’t use user’s input for column names.
  • Don't allow using mass-assignment from $request->all()
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant