Skip to content

Commit e133330

Browse files
committed
Added deprecation notification on our factories
1 parent 144d13b commit e133330

9 files changed

+9
-0
lines changed

src/MessageFactory/DiactorosMessageFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* Creates Diactoros messages.
1212
*
1313
* @author GeLo <geloen.eric@gmail.com>
14+
* @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory
1415
*/
1516
final class DiactorosMessageFactory implements MessageFactory
1617
{

src/MessageFactory/GuzzleMessageFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Creates Guzzle messages.
1111
*
1212
* @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
13+
* @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory
1314
*/
1415
final class GuzzleMessageFactory implements MessageFactory
1516
{

src/MessageFactory/SlimMessageFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* Creates Slim 3 messages.
1414
*
1515
* @author Mika Tuupola <tuupola@appelsiini.net>
16+
* @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory
1617
*/
1718
final class SlimMessageFactory implements MessageFactory
1819
{

src/StreamFactory/DiactorosStreamFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Creates Diactoros streams.
1111
*
1212
* @author Михаил Красильников <m.krasilnikov@yandex.ru>
13+
* @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory
1314
*/
1415
final class DiactorosStreamFactory implements StreamFactory
1516
{

src/StreamFactory/GuzzleStreamFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* Creates Guzzle streams.
99
*
1010
* @author Михаил Красильников <m.krasilnikov@yandex.ru>
11+
* @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory
1112
*/
1213
final class GuzzleStreamFactory implements StreamFactory
1314
{

src/StreamFactory/SlimStreamFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Creates Slim 3 streams.
1111
*
1212
* @author Mika Tuupola <tuupola@appelsiini.net>
13+
* @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory
1314
*/
1415
final class SlimStreamFactory implements StreamFactory
1516
{

src/UriFactory/DiactorosUriFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Creates Diactoros URI.
1111
*
1212
* @author David de Boer <david@ddeboer.nl>
13+
* @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory
1314
*/
1415
final class DiactorosUriFactory implements UriFactory
1516
{

src/UriFactory/GuzzleUriFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* Creates Guzzle URI.
1010
*
1111
* @author David de Boer <david@ddeboer.nl>
12+
* @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory
1213
*/
1314
final class GuzzleUriFactory implements UriFactory
1415
{

src/UriFactory/SlimUriFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Creates Slim 3 URI.
1111
*
1212
* @author Mika Tuupola <tuupola@appelsiini.net>
13+
* @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory
1314
*/
1415
final class SlimUriFactory implements UriFactory
1516
{

0 commit comments

Comments
 (0)