Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotate classes that are not meant to be extended as final #467

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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