Skip to content

Commit cbca805

Browse files
committed
make internal classes final and mark other classes that will be final in 2.0
1 parent 3bd469e commit cbca805

18 files changed

+30
-6
lines changed

src/ClientFactory/AutoDiscoveryFactory.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* Use auto discovery to find a HTTP client.
99
*
1010
* @author Tobias Nyholm <[email protected]>
11+
*
12+
* @final
1113
*/
1214
class AutoDiscoveryFactory implements ClientFactory
1315
{

src/ClientFactory/BuzzFactory.php

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* @author Tobias Nyholm <[email protected]>
12+
*
13+
* @final
1214
*/
1315
class BuzzFactory implements ClientFactory
1416
{

src/ClientFactory/CurlFactory.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* @author Tobias Nyholm <[email protected]>
11+
*
12+
* @final
1113
*/
1214
class CurlFactory implements ClientFactory
1315
{

src/ClientFactory/Guzzle5Factory.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* @author Tobias Nyholm <[email protected]>
11+
*
12+
* @final
1113
*/
1214
class Guzzle5Factory implements ClientFactory
1315
{

src/ClientFactory/Guzzle6Factory.php

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
/**
88
* @author Tobias Nyholm <[email protected]>
9+
*
10+
* @final
911
*/
1012
class Guzzle6Factory implements ClientFactory
1113
{

src/ClientFactory/ReactFactory.php

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
/**
99
* @author Tobias Nyholm <[email protected]>
10+
*
11+
* @final
1012
*/
1113
class ReactFactory implements ClientFactory
1214
{

src/ClientFactory/SocketFactory.php

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
/**
99
* @author Tobias Nyholm <[email protected]>
10+
*
11+
* @final
1012
*/
1113
class SocketFactory implements ClientFactory
1214
{

src/Collector/Collector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @internal
2020
*/
21-
class Collector extends DataCollector
21+
final class Collector extends DataCollector
2222
{
2323
/**
2424
* @var Stack|null

src/Collector/Formatter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* @internal
2121
*/
22-
class Formatter implements MessageFormatter
22+
final class Formatter implements MessageFormatter
2323
{
2424
/**
2525
* @var MessageFormatter

src/Collector/ProfileClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @internal
2323
*/
24-
class ProfileClient implements HttpClient, HttpAsyncClient
24+
final class ProfileClient implements HttpClient, HttpAsyncClient
2525
{
2626
use VersionBridgeClient;
2727

src/Collector/ProfileClientFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @internal
1818
*/
19-
class ProfileClientFactory implements ClientFactory
19+
final class ProfileClientFactory implements ClientFactory
2020
{
2121
/**
2222
* @var ClientFactory|callable

src/Collector/ProfilePlugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* @internal
1717
*/
18-
class ProfilePlugin implements Plugin
18+
final class ProfilePlugin implements Plugin
1919
{
2020
use Plugin\VersionBridgePlugin;
2121

src/Collector/StackPlugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* @internal
1717
*/
18-
class StackPlugin implements Plugin
18+
final class StackPlugin implements Plugin
1919
{
2020
use Plugin\VersionBridgePlugin;
2121

src/Collector/Twig/HttpMessageMarkupExtension.php

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/**
66
* @author Tobias Nyholm <[email protected]>
7+
*
8+
* @final
79
*/
810
class HttpMessageMarkupExtension extends \Twig_Extension
911
{

src/DependencyInjection/Configuration.php

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
*
2929
* @author David Buchmann <[email protected]>
3030
* @author Tobias Nyholm <[email protected]>
31+
*
32+
* @final
3133
*/
3234
class Configuration implements ConfigurationInterface
3335
{

src/DependencyInjection/HttplugExtension.php

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
/**
3535
* @author David Buchmann <[email protected]>
3636
* @author Tobias Nyholm <[email protected]>
37+
*
38+
* @final
3739
*/
3840
class HttplugExtension extends Extension
3941
{

src/Discovery/ConfiguredClientsStrategy.php

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* we can use the web debug toolbar for clients found with the discovery.
1515
*
1616
* @author Tobias Nyholm <[email protected]>
17+
*
18+
* @final
1719
*/
1820
class ConfiguredClientsStrategy implements DiscoveryStrategy, EventSubscriberInterface
1921
{

src/HttplugBundle.php

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/**
88
* @author David Buchmann <[email protected]>
99
* @author Tobias Nyholm <[email protected]>
10+
*
11+
* @final
1012
*/
1113
class HttplugBundle extends Bundle
1214
{

0 commit comments

Comments
 (0)