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

[5.5] Remove usages of the with() helper #17888

Merged
merged 2 commits into from
Feb 12, 2017
Merged

[5.5] Remove usages of the with() helper #17888

merged 2 commits into from
Feb 12, 2017

Conversation

KennedyTedesco
Copy link
Contributor

Now that Laravel 5.5 requires PHP 7 the usage of with() becomes unnecessary.

Now that Laravel 5.5 requires PHP 7 the usage of `with()` becomes
unnecessary.
@@ -924,16 +924,3 @@ function windows_os()
return strtolower(substr(PHP_OS, 0, 3)) === 'win';
}
}

if (! function_exists('with')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't delete this helper yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This helper was built to support some internal needs of the core, wasn't even documented for the users. And, after all, is for the next release. Looks reasonable to me to move forward.

I'll wait for more feedbacks about this. Thanks.

@taylorotwell
Copy link
Member

Yeah, let's leave the helper in place. The rest looks fine.

@KennedyTedesco
Copy link
Contributor Author

@taylorotwell As requested, done.

@taylorotwell taylorotwell merged commit 8e3c031 into laravel:master Feb 12, 2017
@KennedyTedesco KennedyTedesco deleted the with-5.5 branch February 12, 2017 20:49
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