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

Enable PSR-4 autoloading by default for new project #229

Open
maxime-rainville opened this issue May 31, 2018 · 0 comments
Open

Enable PSR-4 autoloading by default for new project #229

maxime-rainville opened this issue May 31, 2018 · 0 comments

Comments

@maxime-rainville
Copy link
Contributor

When you create a new project right now, it is not namespace by default and does not include an autoload.psr-4 key in its composer file.

If we're going to nudge people into pre-adopting PSR-4 before it becomes mandatory in SilverStripe 5, making it the default config for new SilverStripe 4 projects could be a good first step.

silverstripe/recipe-plugin might need some work as well for this to work.

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

2 participants