Skip to content

Update GetModels action and related configurations#117

Open
ayrtonandino wants to merge 5 commits intofumeapp:masterfrom
ayrtonandino:Update-GetModels
Open

Update GetModels action and related configurations#117
ayrtonandino wants to merge 5 commits intofumeapp:masterfrom
ayrtonandino:Update-GetModels

Conversation

@ayrtonandino
Copy link
Contributor

This pull request tries to solve a problem I’m having when working on Windows and Mac, for some reason the order of models being returned by GetModels.php changes based on the OS.
So when I’m at my windows pc I get interfaces alphabetically ordered, and on mac (I don’t know, by folder name?), this produces changes on git that are not real.

Solution, sort the resulting collection by class name.

But then I noticed that is really hard to understand what GetModels.php is actually doing, so I change the order of thing to be more Laravel like, and added missing types.

Run pint to fix error present in codebase (from other pull requests) and change workflows to fail on pull requests not properly formatted.

Update GetModelsTest.php .

@tcampbPPU
Copy link
Member

oh interesting, thanks for the PR i will look over and review!

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.

2 participants