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

Improve DX: Use default Laravel app namespace for Models, create Application dir #323

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

alies-dev
Copy link
Collaborator

@alies-dev alies-dev commented Feb 4, 2023

I've created Application dir where we can store not Models only, but also configs, routes - everything we need for testing. It also will have a standard Laravel namespaces that will improve DX.

Why it's important: in next PR I'm going to store somewhere config/auth.php, I decided that the default Laravel structure (and default namespaces) will be better for DX.

So, the new file structure looks like:
image

@alies-dev alies-dev added the release:internal for PRs only (used by release-drafter) label Feb 4, 2023
@alies-dev alies-dev self-assigned this Feb 4, 2023
@alies-dev alies-dev changed the title Improve DX: Make test Laravel application namespaces more friendly for devs Improve DX: Use default Laravel app namespace for Models, create Application dir Feb 4, 2023
@alies-dev alies-dev merged commit 0fe0fcd into psalm:master Feb 6, 2023
@alies-dev alies-dev deleted the application-test-dir branch February 6, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:internal for PRs only (used by release-drafter)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant