Skip to content

Commit

Permalink
make internal classes final and mark other classes that will be final…
Browse files Browse the repository at this point in the history
… in 2.0
  • Loading branch information
dbu committed Nov 27, 2019
1 parent 3bd469e commit cbca805
Show file tree
Hide file tree
Showing 18 changed files with 30 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/ClientFactory/AutoDiscoveryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* Use auto discovery to find a HTTP client.
*
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class AutoDiscoveryFactory implements ClientFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/ClientFactory/BuzzFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class BuzzFactory implements ClientFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/ClientFactory/CurlFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class CurlFactory implements ClientFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/ClientFactory/Guzzle5Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class Guzzle5Factory implements ClientFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/ClientFactory/Guzzle6Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class Guzzle6Factory implements ClientFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/ClientFactory/ReactFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class ReactFactory implements ClientFactory
{
Expand Down
2 changes: 2 additions & 0 deletions src/ClientFactory/SocketFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class SocketFactory implements ClientFactory
{
Expand Down
2 changes: 1 addition & 1 deletion src/Collector/Collector.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* @internal
*/
class Collector extends DataCollector
final class Collector extends DataCollector
{
/**
* @var Stack|null
Expand Down
2 changes: 1 addition & 1 deletion src/Collector/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* @internal
*/
class Formatter implements MessageFormatter
final class Formatter implements MessageFormatter
{
/**
* @var MessageFormatter
Expand Down
2 changes: 1 addition & 1 deletion src/Collector/ProfileClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* @internal
*/
class ProfileClient implements HttpClient, HttpAsyncClient
final class ProfileClient implements HttpClient, HttpAsyncClient
{
use VersionBridgeClient;

Expand Down
2 changes: 1 addition & 1 deletion src/Collector/ProfileClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @internal
*/
class ProfileClientFactory implements ClientFactory
final class ProfileClientFactory implements ClientFactory
{
/**
* @var ClientFactory|callable
Expand Down
2 changes: 1 addition & 1 deletion src/Collector/ProfilePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @internal
*/
class ProfilePlugin implements Plugin
final class ProfilePlugin implements Plugin
{
use Plugin\VersionBridgePlugin;

Expand Down
2 changes: 1 addition & 1 deletion src/Collector/StackPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @internal
*/
class StackPlugin implements Plugin
final class StackPlugin implements Plugin
{
use Plugin\VersionBridgePlugin;

Expand Down
2 changes: 2 additions & 0 deletions src/Collector/Twig/HttpMessageMarkupExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class HttpMessageMarkupExtension extends \Twig_Extension
{
Expand Down
2 changes: 2 additions & 0 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
*
* @author David Buchmann <[email protected]>
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class Configuration implements ConfigurationInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/DependencyInjection/HttplugExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
/**
* @author David Buchmann <[email protected]>
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class HttplugExtension extends Extension
{
Expand Down
2 changes: 2 additions & 0 deletions src/Discovery/ConfiguredClientsStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* we can use the web debug toolbar for clients found with the discovery.
*
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class ConfiguredClientsStrategy implements DiscoveryStrategy, EventSubscriberInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/HttplugBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
/**
* @author David Buchmann <[email protected]>
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class HttplugBundle extends Bundle
{
Expand Down

0 comments on commit cbca805

Please sign in to comment.