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

[6.x] Adjust is_callable usage where needed for PHP 8 #34999

Merged
merged 2 commits into from Oct 27, 2020
Merged

Conversation

taylorotwell
Copy link
Member

No description provided.

@GrahamCampbell GrahamCampbell changed the title Adjust is_callable usage where needed for php8 [6.x] Adjust is_callable usage where needed for PHP 8 Oct 27, 2020
@taylorotwell taylorotwell merged commit 6611265 into 6.x Oct 27, 2020
@taylorotwell taylorotwell deleted the is_callable branch October 27, 2020 19:50
michaeldyrynda added a commit to thenpingme/thenpingme-laravel that referenced this pull request Nov 17, 2020
@see laravel/framework#34999

The return string was changed from Closure to Callback in order to support PHP 8, which in turn broke how we were identifying closure tasks.
michaeldyrynda added a commit to thenpingme/thenpingme-laravel that referenced this pull request Nov 17, 2020
Use Str to check for empty commands, which will account for the command being null or an empty string.

Also add check for the closure summaryForDisplay output being one of either `Closure` or `Callback`, which was added to support PHP 8

@see laravel/framework#34999
michaeldyrynda added a commit to thenpingme/thenpingme-laravel that referenced this pull request Nov 17, 2020
Use Str to check for empty commands, which will account for the command being null or an empty string.

Also add check for the closure summaryForDisplay output being one of either `Closure` or `Callback`, which was added to support PHP 8

@see laravel/framework#34999
michaeldyrynda added a commit to thenpingme/thenpingme-laravel that referenced this pull request Nov 17, 2020
Use Str to check for empty commands, which will account for the command being null or an empty string.

Also add check for the closure summaryForDisplay output being one of either `Closure` or `Callback`, which was added to support PHP 8

@see laravel/framework#34999
michaeldyrynda added a commit to thenpingme/thenpingme-laravel that referenced this pull request Nov 17, 2020
Use Str to check for empty commands, which will account for the command being null or an empty string.

Also add check for the closure summaryForDisplay output being one of either `Closure` or `Callback`, which was added to support PHP 8

@see laravel/framework#34999
michaeldyrynda added a commit to thenpingme/thenpingme-laravel that referenced this pull request Nov 17, 2020
Laravel changed the return of `getSummaryForDisplay` to be `Callback`,
rather than `Closure`, in order to support PHP 8.

@see laravel/framework#34999
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

2 participants