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

[Spring cleaning] Refactor migrations #1737

Open
wants to merge 12 commits into
base: 1.x
Choose a base branch
from

Conversation

adevade
Copy link
Contributor

@adevade adevade commented May 10, 2024

Note: This PR is probably easiest reviewed commit by commit instead of all changes at once.

Just some spring cleaning and standardization of the migration classes. I converted all to anonymous classes, like Laravel did during the 10.x releases.

Removed PHPDoc blocks, since they were not always there and less clutter.

All tests still passing locally.

Feel free to request changes or revert single commits if you don't like some of the changes.

Copy link

vercel bot commented May 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 10:07am

@alecritson
Copy link
Collaborator

Thanks @adevade

@glennjacobs This looks like something we should get in (if wanted) before too much else gets merged to give us a good baseline.

@glennjacobs
Copy link
Contributor

@glennjacobs This looks like something we should get in (if wanted) before too much else gets merged to give us a good baseline.

Maybe run this on an existing site to ensure nothing weird happens before merging?

@adevade
Copy link
Contributor Author

adevade commented May 22, 2024

@glennjacobs Yeah, I have not tested for that. I don't believe there should be any problems though.

@alecritson
Copy link
Collaborator

Just ran this on the starter kit and didn't come against any issues so if everyone is happy @glennjacobs I guess it can go in.

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.

None yet

3 participants