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

[8.x] Replace direct application class mention by illuminate contract #36105

Merged

Conversation

alexmakii
Copy link
Contributor

This PR replaces Illuminate\Foundation\Application by contract Illuminate\Contracts\Foundation\Application.

Illuminate\Foundation\Application was accidentally added by #35204.

Reasons:
As illuminate/database can be used outside of the Laravel framework - direct mention of Laravel only classes should be replaced by illuminate contracts where it's possible.

Make Eloquent Factory use illuminate contract as reference to application
@alexmakii alexmakii force-pushed the replace-direct-class-by-contract branch from 09f2bd3 to 0d043bf Compare February 1, 2021 08:35
@driesvints driesvints changed the title Replace direct application class mention by illuminate contract [8.x] Replace direct application class mention by illuminate contract Feb 1, 2021
@taylorotwell taylorotwell merged commit c26c78c into laravel:8.x Feb 1, 2021
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