Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Eloquent\Model: sort @property on quick-fix #13

Open
5 tasks
rentalhost opened this issue Jun 1, 2017 · 0 comments
Open
5 tasks

Eloquent\Model: sort @property on quick-fix #13

rentalhost opened this issue Jun 1, 2017 · 0 comments
Milestone

Comments

@rentalhost
Copy link
Owner

rentalhost commented Jun 1, 2017

On apply the "declare @Property" quick-fix, create properties on a common order.

Attention: it should not reorder existent properties.

  • Property $id on most top;
    • Properties suffixed _id after $id on top;
  • Property $created_at, $updated_at and $deleted_at on most bottom;
  • Other properties consider natural sort;
  • Make sure that existent properties are not sorted;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant