Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 921f866

Browse filesBrowse files
Undeprecate DiactorosFactory for 1.1
1 parent 8592ca3 commit 921f866
Copy full SHA for 921f866

File tree

3 files changed

+1
-7
lines changed
Filter options

3 files changed

+1
-7
lines changed

‎Factory/DiactorosFactory.php

Copy file name to clipboardExpand all lines: Factory/DiactorosFactory.php
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Bridge\PsrHttpMessage\Factory;
1313

14-
@trigger_error(sprintf('The "%s" class is deprecated since symfony/psr-http-message-bridge 1.2, use PsrHttpFactory instead.', DiactorosFactory::class), E_USER_DEPRECATED);
15-
1614
use Psr\Http\Message\UploadedFileInterface;
1715
use Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface;
1816
use Symfony\Component\HttpFoundation\BinaryFileResponse;
@@ -30,8 +28,6 @@
3028
* Builds Psr\HttpMessage instances using the Zend Diactoros implementation.
3129
*
3230
* @author Kévin Dunglas <dunglas@gmail.com>
33-
*
34-
* @deprecated since symfony/psr-http-message-bridge 1.2, use PsrHttpFactory instead
3531
*/
3632
class DiactorosFactory implements HttpMessageFactoryInterface
3733
{

‎Tests/Factory/DiactorosFactoryTest.php

Copy file name to clipboardExpand all lines: Tests/Factory/DiactorosFactoryTest.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* @author Kévin Dunglas <dunglas@gmail.com>
1818
* @author Antonio J. García Lagar <aj@garcialagar.es>
19-
*
20-
* @group legacy
2119
*/
2220
class DiactorosFactoryTest extends AbstractHttpMessageFactoryTest
2321
{

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"extra": {
3737
"branch-alias": {
38-
"dev-master": "1.2-dev"
38+
"dev-master": "1.1-dev"
3939
}
4040
}
4141
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.