From e133330c144335ce1887f32a7985608777d91b8a Mon Sep 17 00:00:00 2001 From: Nyholm Date: Wed, 26 Dec 2018 09:57:53 +0100 Subject: [PATCH 1/3] Added deprecation notification on our factories --- src/MessageFactory/DiactorosMessageFactory.php | 1 + src/MessageFactory/GuzzleMessageFactory.php | 1 + src/MessageFactory/SlimMessageFactory.php | 1 + src/StreamFactory/DiactorosStreamFactory.php | 1 + src/StreamFactory/GuzzleStreamFactory.php | 1 + src/StreamFactory/SlimStreamFactory.php | 1 + src/UriFactory/DiactorosUriFactory.php | 1 + src/UriFactory/GuzzleUriFactory.php | 1 + src/UriFactory/SlimUriFactory.php | 1 + 9 files changed, 9 insertions(+) diff --git a/src/MessageFactory/DiactorosMessageFactory.php b/src/MessageFactory/DiactorosMessageFactory.php index 53f08ae..7f4c1ae 100644 --- a/src/MessageFactory/DiactorosMessageFactory.php +++ b/src/MessageFactory/DiactorosMessageFactory.php @@ -11,6 +11,7 @@ * Creates Diactoros messages. * * @author GeLo + * @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory */ final class DiactorosMessageFactory implements MessageFactory { diff --git a/src/MessageFactory/GuzzleMessageFactory.php b/src/MessageFactory/GuzzleMessageFactory.php index 59eb655..236e30d 100644 --- a/src/MessageFactory/GuzzleMessageFactory.php +++ b/src/MessageFactory/GuzzleMessageFactory.php @@ -10,6 +10,7 @@ * Creates Guzzle messages. * * @author Márk Sági-Kazár + * @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleMessageFactory implements MessageFactory { diff --git a/src/MessageFactory/SlimMessageFactory.php b/src/MessageFactory/SlimMessageFactory.php index cdad2ec..e21748e 100644 --- a/src/MessageFactory/SlimMessageFactory.php +++ b/src/MessageFactory/SlimMessageFactory.php @@ -13,6 +13,7 @@ * Creates Slim 3 messages. * * @author Mika Tuupola + * @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory */ final class SlimMessageFactory implements MessageFactory { diff --git a/src/StreamFactory/DiactorosStreamFactory.php b/src/StreamFactory/DiactorosStreamFactory.php index a75ec98..608c8ae 100644 --- a/src/StreamFactory/DiactorosStreamFactory.php +++ b/src/StreamFactory/DiactorosStreamFactory.php @@ -10,6 +10,7 @@ * Creates Diactoros streams. * * @author Михаил Красильников + * @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory */ final class DiactorosStreamFactory implements StreamFactory { diff --git a/src/StreamFactory/GuzzleStreamFactory.php b/src/StreamFactory/GuzzleStreamFactory.php index 10f4d3f..f2a39dc 100644 --- a/src/StreamFactory/GuzzleStreamFactory.php +++ b/src/StreamFactory/GuzzleStreamFactory.php @@ -8,6 +8,7 @@ * Creates Guzzle streams. * * @author Михаил Красильников + * @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleStreamFactory implements StreamFactory { diff --git a/src/StreamFactory/SlimStreamFactory.php b/src/StreamFactory/SlimStreamFactory.php index efcadc4..1e75fb5 100644 --- a/src/StreamFactory/SlimStreamFactory.php +++ b/src/StreamFactory/SlimStreamFactory.php @@ -10,6 +10,7 @@ * Creates Slim 3 streams. * * @author Mika Tuupola + * @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory */ final class SlimStreamFactory implements StreamFactory { diff --git a/src/UriFactory/DiactorosUriFactory.php b/src/UriFactory/DiactorosUriFactory.php index 268c361..18c5645 100644 --- a/src/UriFactory/DiactorosUriFactory.php +++ b/src/UriFactory/DiactorosUriFactory.php @@ -10,6 +10,7 @@ * Creates Diactoros URI. * * @author David de Boer + * @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory */ final class DiactorosUriFactory implements UriFactory { diff --git a/src/UriFactory/GuzzleUriFactory.php b/src/UriFactory/GuzzleUriFactory.php index 4c1c286..42c8cd2 100644 --- a/src/UriFactory/GuzzleUriFactory.php +++ b/src/UriFactory/GuzzleUriFactory.php @@ -9,6 +9,7 @@ * Creates Guzzle URI. * * @author David de Boer + * @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleUriFactory implements UriFactory { diff --git a/src/UriFactory/SlimUriFactory.php b/src/UriFactory/SlimUriFactory.php index c013d54..2c00586 100644 --- a/src/UriFactory/SlimUriFactory.php +++ b/src/UriFactory/SlimUriFactory.php @@ -10,6 +10,7 @@ * Creates Slim 3 URI. * * @author Mika Tuupola + * @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory */ final class SlimUriFactory implements UriFactory { From 15c469b03b67b98d3d17bb04811ac2e8e75c0738 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Thu, 27 Dec 2018 15:44:54 +0100 Subject: [PATCH 2/3] cs --- src/MessageFactory/DiactorosMessageFactory.php | 1 + src/MessageFactory/GuzzleMessageFactory.php | 1 + src/MessageFactory/SlimMessageFactory.php | 1 + src/StreamFactory/DiactorosStreamFactory.php | 1 + src/StreamFactory/GuzzleStreamFactory.php | 1 + src/StreamFactory/SlimStreamFactory.php | 1 + src/UriFactory/DiactorosUriFactory.php | 1 + src/UriFactory/GuzzleUriFactory.php | 1 + src/UriFactory/SlimUriFactory.php | 1 + 9 files changed, 9 insertions(+) diff --git a/src/MessageFactory/DiactorosMessageFactory.php b/src/MessageFactory/DiactorosMessageFactory.php index 7f4c1ae..ce5af36 100644 --- a/src/MessageFactory/DiactorosMessageFactory.php +++ b/src/MessageFactory/DiactorosMessageFactory.php @@ -11,6 +11,7 @@ * Creates Diactoros messages. * * @author GeLo + * * @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory */ final class DiactorosMessageFactory implements MessageFactory diff --git a/src/MessageFactory/GuzzleMessageFactory.php b/src/MessageFactory/GuzzleMessageFactory.php index 236e30d..b61823d 100644 --- a/src/MessageFactory/GuzzleMessageFactory.php +++ b/src/MessageFactory/GuzzleMessageFactory.php @@ -10,6 +10,7 @@ * Creates Guzzle messages. * * @author Márk Sági-Kazár + * * @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleMessageFactory implements MessageFactory diff --git a/src/MessageFactory/SlimMessageFactory.php b/src/MessageFactory/SlimMessageFactory.php index e21748e..f5cfe71 100644 --- a/src/MessageFactory/SlimMessageFactory.php +++ b/src/MessageFactory/SlimMessageFactory.php @@ -13,6 +13,7 @@ * Creates Slim 3 messages. * * @author Mika Tuupola + * * @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory */ final class SlimMessageFactory implements MessageFactory diff --git a/src/StreamFactory/DiactorosStreamFactory.php b/src/StreamFactory/DiactorosStreamFactory.php index 608c8ae..5e97ca9 100644 --- a/src/StreamFactory/DiactorosStreamFactory.php +++ b/src/StreamFactory/DiactorosStreamFactory.php @@ -10,6 +10,7 @@ * Creates Diactoros streams. * * @author Михаил Красильников + * * @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory */ final class DiactorosStreamFactory implements StreamFactory diff --git a/src/StreamFactory/GuzzleStreamFactory.php b/src/StreamFactory/GuzzleStreamFactory.php index f2a39dc..ef44e25 100644 --- a/src/StreamFactory/GuzzleStreamFactory.php +++ b/src/StreamFactory/GuzzleStreamFactory.php @@ -8,6 +8,7 @@ * Creates Guzzle streams. * * @author Михаил Красильников + * * @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleStreamFactory implements StreamFactory diff --git a/src/StreamFactory/SlimStreamFactory.php b/src/StreamFactory/SlimStreamFactory.php index 1e75fb5..dda4633 100644 --- a/src/StreamFactory/SlimStreamFactory.php +++ b/src/StreamFactory/SlimStreamFactory.php @@ -10,6 +10,7 @@ * Creates Slim 3 streams. * * @author Mika Tuupola + * * @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory */ final class SlimStreamFactory implements StreamFactory diff --git a/src/UriFactory/DiactorosUriFactory.php b/src/UriFactory/DiactorosUriFactory.php index 18c5645..9a06de3 100644 --- a/src/UriFactory/DiactorosUriFactory.php +++ b/src/UriFactory/DiactorosUriFactory.php @@ -10,6 +10,7 @@ * Creates Diactoros URI. * * @author David de Boer + * * @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory */ final class DiactorosUriFactory implements UriFactory diff --git a/src/UriFactory/GuzzleUriFactory.php b/src/UriFactory/GuzzleUriFactory.php index 42c8cd2..b5db1cd 100644 --- a/src/UriFactory/GuzzleUriFactory.php +++ b/src/UriFactory/GuzzleUriFactory.php @@ -9,6 +9,7 @@ * Creates Guzzle URI. * * @author David de Boer + * * @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleUriFactory implements UriFactory diff --git a/src/UriFactory/SlimUriFactory.php b/src/UriFactory/SlimUriFactory.php index 2c00586..b288f6d 100644 --- a/src/UriFactory/SlimUriFactory.php +++ b/src/UriFactory/SlimUriFactory.php @@ -10,6 +10,7 @@ * Creates Slim 3 URI. * * @author Mika Tuupola + * * @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory */ final class SlimUriFactory implements UriFactory From af747abec085b285e4975f3859547b3fec4ff9cc Mon Sep 17 00:00:00 2001 From: Nyholm Date: Mon, 16 Dec 2019 22:17:31 +0100 Subject: [PATCH 3/3] updated message --- src/MessageFactory/DiactorosMessageFactory.php | 2 +- src/MessageFactory/GuzzleMessageFactory.php | 2 +- src/MessageFactory/SlimMessageFactory.php | 2 +- src/StreamFactory/DiactorosStreamFactory.php | 2 +- src/StreamFactory/GuzzleStreamFactory.php | 2 +- src/StreamFactory/SlimStreamFactory.php | 2 +- src/UriFactory/DiactorosUriFactory.php | 2 +- src/UriFactory/GuzzleUriFactory.php | 2 +- src/UriFactory/SlimUriFactory.php | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/MessageFactory/DiactorosMessageFactory.php b/src/MessageFactory/DiactorosMessageFactory.php index ce5af36..10a49f2 100644 --- a/src/MessageFactory/DiactorosMessageFactory.php +++ b/src/MessageFactory/DiactorosMessageFactory.php @@ -12,7 +12,7 @@ * * @author GeLo * - * @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory + * @deprecated This will be removed in php-http/message2.0. Consider using the official Diactoros PSR-17 factory */ final class DiactorosMessageFactory implements MessageFactory { diff --git a/src/MessageFactory/GuzzleMessageFactory.php b/src/MessageFactory/GuzzleMessageFactory.php index b61823d..02989d9 100644 --- a/src/MessageFactory/GuzzleMessageFactory.php +++ b/src/MessageFactory/GuzzleMessageFactory.php @@ -11,7 +11,7 @@ * * @author Márk Sági-Kazár * - * @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory + * @deprecated This will be removed in php-http/message2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleMessageFactory implements MessageFactory { diff --git a/src/MessageFactory/SlimMessageFactory.php b/src/MessageFactory/SlimMessageFactory.php index f5cfe71..869cf77 100644 --- a/src/MessageFactory/SlimMessageFactory.php +++ b/src/MessageFactory/SlimMessageFactory.php @@ -14,7 +14,7 @@ * * @author Mika Tuupola * - * @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory + * @deprecated This will be removed in php-http/message2.0. Consider using the official Slim PSR-17 factory */ final class SlimMessageFactory implements MessageFactory { diff --git a/src/StreamFactory/DiactorosStreamFactory.php b/src/StreamFactory/DiactorosStreamFactory.php index 5e97ca9..95bf0ca 100644 --- a/src/StreamFactory/DiactorosStreamFactory.php +++ b/src/StreamFactory/DiactorosStreamFactory.php @@ -11,7 +11,7 @@ * * @author Михаил Красильников * - * @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory + * @deprecated This will be removed in php-http/message2.0. Consider using the official Diactoros PSR-17 factory */ final class DiactorosStreamFactory implements StreamFactory { diff --git a/src/StreamFactory/GuzzleStreamFactory.php b/src/StreamFactory/GuzzleStreamFactory.php index ef44e25..9adeeb5 100644 --- a/src/StreamFactory/GuzzleStreamFactory.php +++ b/src/StreamFactory/GuzzleStreamFactory.php @@ -9,7 +9,7 @@ * * @author Михаил Красильников * - * @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory + * @deprecated This will be removed in php-http/message2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleStreamFactory implements StreamFactory { diff --git a/src/StreamFactory/SlimStreamFactory.php b/src/StreamFactory/SlimStreamFactory.php index dda4633..9274aae 100644 --- a/src/StreamFactory/SlimStreamFactory.php +++ b/src/StreamFactory/SlimStreamFactory.php @@ -11,7 +11,7 @@ * * @author Mika Tuupola * - * @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory + * @deprecated This will be removed in php-http/message2.0. Consider using the official Slim PSR-17 factory */ final class SlimStreamFactory implements StreamFactory { diff --git a/src/UriFactory/DiactorosUriFactory.php b/src/UriFactory/DiactorosUriFactory.php index 9a06de3..f3b73d0 100644 --- a/src/UriFactory/DiactorosUriFactory.php +++ b/src/UriFactory/DiactorosUriFactory.php @@ -11,7 +11,7 @@ * * @author David de Boer * - * @deprecated This will be removed in 2.0. Consider using the official Diactoros PSR-17 factory + * @deprecated This will be removed in php-http/message2.0. Consider using the official Diactoros PSR-17 factory */ final class DiactorosUriFactory implements UriFactory { diff --git a/src/UriFactory/GuzzleUriFactory.php b/src/UriFactory/GuzzleUriFactory.php index b5db1cd..b16ca52 100644 --- a/src/UriFactory/GuzzleUriFactory.php +++ b/src/UriFactory/GuzzleUriFactory.php @@ -10,7 +10,7 @@ * * @author David de Boer * - * @deprecated This will be removed in 2.0. Consider using the official Guzzle PSR-17 factory + * @deprecated This will be removed in php-http/message2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleUriFactory implements UriFactory { diff --git a/src/UriFactory/SlimUriFactory.php b/src/UriFactory/SlimUriFactory.php index b288f6d..e5bef03 100644 --- a/src/UriFactory/SlimUriFactory.php +++ b/src/UriFactory/SlimUriFactory.php @@ -11,7 +11,7 @@ * * @author Mika Tuupola * - * @deprecated This will be removed in 2.0. Consider using the official Slim PSR-17 factory + * @deprecated This will be removed in php-http/message2.0. Consider using the official Slim PSR-17 factory */ final class SlimUriFactory implements UriFactory {