Skip to content

Added deprecation notification on our factories #106

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

Merged
merged 3 commits into from
Dec 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/MessageFactory/DiactorosMessageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
* Creates Diactoros messages.
*
* @author GeLo <geloen.eric@gmail.com>
*
* @deprecated This will be removed in php-http/message2.0. Consider using the official Diactoros PSR-17 factory
*/
final class DiactorosMessageFactory implements MessageFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/MessageFactory/GuzzleMessageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* Creates Guzzle messages.
*
* @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
*
* @deprecated This will be removed in php-http/message2.0. Consider using the official Guzzle PSR-17 factory
*/
final class GuzzleMessageFactory implements MessageFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/MessageFactory/SlimMessageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* Creates Slim 3 messages.
*
* @author Mika Tuupola <tuupola@appelsiini.net>
*
* @deprecated This will be removed in php-http/message2.0. Consider using the official Slim PSR-17 factory
*/
final class SlimMessageFactory implements MessageFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/StreamFactory/DiactorosStreamFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* Creates Diactoros streams.
*
* @author Михаил Красильников <m.krasilnikov@yandex.ru>
*
* @deprecated This will be removed in php-http/message2.0. Consider using the official Diactoros PSR-17 factory
*/
final class DiactorosStreamFactory implements StreamFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/StreamFactory/GuzzleStreamFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* Creates Guzzle streams.
*
* @author Михаил Красильников <m.krasilnikov@yandex.ru>
*
* @deprecated This will be removed in php-http/message2.0. Consider using the official Guzzle PSR-17 factory
*/
final class GuzzleStreamFactory implements StreamFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/StreamFactory/SlimStreamFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* Creates Slim 3 streams.
*
* @author Mika Tuupola <tuupola@appelsiini.net>
*
* @deprecated This will be removed in php-http/message2.0. Consider using the official Slim PSR-17 factory
*/
final class SlimStreamFactory implements StreamFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/UriFactory/DiactorosUriFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* Creates Diactoros URI.
*
* @author David de Boer <david@ddeboer.nl>
*
* @deprecated This will be removed in php-http/message2.0. Consider using the official Diactoros PSR-17 factory
*/
final class DiactorosUriFactory implements UriFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/UriFactory/GuzzleUriFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* Creates Guzzle URI.
*
* @author David de Boer <david@ddeboer.nl>
*
* @deprecated This will be removed in php-http/message2.0. Consider using the official Guzzle PSR-17 factory
*/
final class GuzzleUriFactory implements UriFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/UriFactory/SlimUriFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* Creates Slim 3 URI.
*
* @author Mika Tuupola <tuupola@appelsiini.net>
*
* @deprecated This will be removed in php-http/message2.0. Consider using the official Slim PSR-17 factory
*/
final class SlimUriFactory implements UriFactory
{
Expand Down