Skip to content

Commit

Permalink
Rename Zend packages / namespaces to Laminas (#41)
Browse files Browse the repository at this point in the history
In January 2020 Zend has moved on to become the Laminas project.
With this change the old zend packages have become archived and should be changed for the newer Laminas releases.
(See https://framework.zend.com/blog/2019-04-17-announcing-laminas.html for further reference)
  • Loading branch information
Groruk committed Mar 9, 2021
1 parent 5c134ae commit 7542bd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ $serverRequest = $creator->fromGlobals();
## Other packages

* [nyholm/psr7](https://github.com/Nyholm/psr7) - A super fast PSR-7 implementation.
* [zendframework/zend-httphandlerrunner](https://github.com/zendframework/zend-httphandlerrunner) - To send/emit PSR-7 responses
* [laminas/laminas-httphandlerrunner](https://github.com/laminas/laminas-httphandlerrunner) - To send/emit PSR-7 responses
2 changes: 1 addition & 1 deletion src/ServerRequestCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function fromArrays(array $server, array $headers = [], array $cookie = [
}

/**
* Implementation from Zend\Diactoros\marshalHeadersFromSapi().
* Implementation from Laminas\Diactoros\marshalHeadersFromSapi().
*/
public static function getHeadersFromServer(array $server): array
{
Expand Down
4 changes: 2 additions & 2 deletions tests/ServerRequestCreatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ public function testGetUriFromGlobals($expected, $serverParams)
}

/**
* Test from zendframework/zend-diactoros.
* Test from laminas/laminas-diactoros (formerly zendframework/zend-diactoros).
*/
public function testMarshalsExpectedHeadersFromServerArray()
{
Expand Down Expand Up @@ -538,7 +538,7 @@ public function testMarshalsExpectedHeadersFromServerArray()
}

/**
* Test from zendframework/zend-diactoros.
* Test from laminas/laminas-diactoros (formerly zendframework/zend-diactoros).
*/
public function testMarshalsVariablesPrefixedByApacheFromServerArray()
{
Expand Down

0 comments on commit 7542bd7

Please sign in to comment.