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

Depend on Slim-Http #2221

Merged
merged 4 commits into from
May 17, 2017
Merged

Depend on Slim-Http #2221

merged 4 commits into from
May 17, 2017

Conversation

akrabat
Copy link
Member

@akrabat akrabat commented May 8, 2017

Remove Slim\Http from this repository and depend on Slim-Http

Note that this change requires slimphp/Slim-Http#24 to be released as version 0.2, first.

This replaces createFromEnvironment() and also means that we no longer
need the `environment` key in the container.
@akrabat akrabat requested a review from geggleto May 8, 2017 06:48
@akrabat akrabat assigned codeguy and silentworks and unassigned codeguy and silentworks May 8, 2017
@akrabat
Copy link
Member Author

akrabat commented May 8, 2017

Travis is failing as the composer requirement cannot be met yet.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.08%) to 94.138% when pulling a7362be on akrabat:slim-http into 54401a4 on slimphp:4.x.

@akrabat
Copy link
Member Author

akrabat commented May 14, 2017

@codeguy, @silentworks, @geggleto: Travis passes now that Slim-Http 0.2 is released.

Please review.

@@ -57,7 +44,7 @@ public function register($container)
* @return ServerRequestInterface
*/
$container['request'] = function ($container) {
return Request::createFromEnvironment($container->get('environment'));
return Request::createFromGlobals($_SERVER);
Copy link
Member

Choose a reason for hiding this comment

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

grumble

@silentworks silentworks merged commit 72eea92 into slimphp:4.x May 17, 2017
l0gicgate added a commit to l0gicgate/Slim that referenced this pull request May 17, 2017
@akrabat akrabat added this to the 4.0 milestone Aug 24, 2018
@l0gicgate l0gicgate mentioned this pull request Apr 25, 2019
@l0gicgate l0gicgate mentioned this pull request Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants