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

Specifically exclude migrations from class mapping #4156

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

paulbalandan
Copy link
Member

Description
With Composer 2, user classes with filenames not conforming to PSR4 will not be autoloaded anymore giving a warning message in the terminal. Since migrations do not need autoloading per se, we can safely dismiss this warning by specifically excluding them in the class map.

Fixes #3195

Checklist:

  • Securely signed commits

@samsonasik samsonasik merged commit 6e356e2 into codeigniter4:develop Jan 27, 2021
@samsonasik
Copy link
Member

Thank you @paulbalandan

@paulbalandan paulbalandan deleted the composer-classmap branch April 27, 2021 16:51
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.

Bug: Migrations Deprecated
3 participants