Skip to content

Commit

Permalink
annotate classes that are not meant to be extended as final
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Sep 1, 2024
1 parent 87c61d2 commit 745ab83
Show file tree
Hide file tree
Showing 21 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ClientFactory/AutoDiscoveryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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 @@ -11,6 +11,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 @@ -10,6 +10,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 @@ -10,6 +10,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 @@ -8,6 +8,8 @@

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

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class Guzzle7Factory 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 @@ -9,6 +9,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 @@ -9,6 +9,8 @@

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

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class SymfonyFactory implements ClientFactory
{
Expand Down
1 change: 1 addition & 0 deletions src/Collector/Collector.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* @author Fabien Bourigault <[email protected]>
*
* @internal
* @final
*/
class Collector extends DataCollector
{
Expand Down
1 change: 1 addition & 0 deletions src/Collector/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* @author Fabien Bourigault <[email protected]>
*
* @internal
* @final
*/
class Formatter implements MessageFormatter
{
Expand Down
1 change: 1 addition & 0 deletions src/Collector/ProfileClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @author Fabien Bourigault <[email protected]>
*
* @internal
* @final
*/
class ProfileClient implements HttpClient, HttpAsyncClient
{
Expand Down
1 change: 1 addition & 0 deletions src/Collector/ProfileClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* @author Fabien Bourigault <[email protected]>
*
* @internal
* @final
*/
class ProfileClientFactory implements ClientFactory
{
Expand Down
1 change: 1 addition & 0 deletions src/Collector/ProfilePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* @author Fabien Bourigault <[email protected]>
*
* @internal
* @final
*/
class ProfilePlugin implements Plugin
{
Expand Down
1 change: 1 addition & 0 deletions src/Collector/StackPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* @author Fabien Bourigault <[email protected]>
*
* @internal
* @final
*/
class StackPlugin implements Plugin
{
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 @@ -13,6 +13,8 @@

/**
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class HttpMessageMarkupExtension extends AbstractExtension
{
Expand Down
2 changes: 2 additions & 0 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,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 @@ -42,6 +42,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
{
Expand Down
2 changes: 2 additions & 0 deletions src/Discovery/ConfiguredClientsStrategyListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/**
* @author Wouter de Jong <[email protected]>
*
* @final
*/
class ConfiguredClientsStrategyListener implements EventSubscriberInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/HttplugBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
/**
* @author David Buchmann <[email protected]>
* @author Tobias Nyholm <[email protected]>
*
* @final
*/
class HttplugBundle extends Bundle
{
Expand Down

0 comments on commit 745ab83

Please sign in to comment.