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] Restore Non Static Method Signature to Illuminate\Routing\Router::prepareResponse #21114

Merged
merged 3 commits into from
Sep 11, 2017

Conversation

astorm
Copy link
Contributor

@astorm astorm commented Sep 10, 2017

(This is my first pull request to `laravel/framework, if I'm doing something wrong my apologies --
it's non-intentional!)

This pull request restores the non-static method signature of Illuminate\Routing\Router::prepareResponseObject from previous Laravel versions, adds a new static method named Illuminate\Routing\Router::prepareResponseObject, and then replaces the one explicit static call to prepareResponse in the exception handler.

Reason for this Request: I'm working with/at a company that has a PHP Extension (C code compiled into a .so file and loaded via a php.ini file). The change in this method signature caused a host of problems that makes the .so extension unusable in Laravel 5.5 (happy to discuss these offline). We're working on a fix on our end, but it would be fantastic for our Laravel using customers if we could get the old method signature back.

Also -- acknowledging that the time to bring this up was very likely before Laravel 5.5's release. I'm coming into this process late, but we're working hard on our regression tests so this doesn't happy again :) Thanks for the time/attention!

@taylorotwell taylorotwell merged commit c4fd014 into laravel:5.5 Sep 11, 2017
@GrahamCampbell GrahamCampbell changed the title Restore Non Static Method Signature to Illuminate\Routing\Router::prepareResponse [5.5] Restore Non Static Method Signature to Illuminate\Routing\Router::prepareResponse Sep 16, 2017
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.

2 participants