Skip to content

Commit

Permalink
Mark multiple classes that extend vendor libraries as @internal
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim committed Mar 2, 2022
1 parent e75dd67 commit 1f6dc8d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Laravel/Providers/ScoutApmServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
use function config_path;
use function sprintf;

/** @internal This class extends a third party vendor, so we mark as internal to not expose upstream BC breaks */
final class ScoutApmServiceProvider extends ServiceProvider
{
private const CONFIG_SERVICE_KEY = ScoutApmAgent::class . '_config';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

use function array_key_exists;

/** @internal This class extends a third party vendor, so we mark as internal to not expose upstream BC breaks */
final class ScoutApmExtension extends Extension
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/ScoutApmBundle/ScoutApmBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use function array_map;
use function assert;

/** @internal This class extends a third party vendor, so we mark as internal to not expose upstream BC breaks */
final class ScoutApmBundle extends Bundle
{
private const DOCTRINE_CONNECTIONS = ['doctrine.dbal.default_connection'];
Expand Down
1 change: 1 addition & 0 deletions src/ScoutApmBundle/Twig/TwigDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Twig\Environment as Twig;
use Twig\TemplateWrapper;

/** @internal This class extends a third party vendor, so we mark as internal to not expose upstream BC breaks */
class TwigDecorator extends Twig
{
use TwigMethods;
Expand Down
1 change: 1 addition & 0 deletions src/ScoutApmBundle/symfony-version-compatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
namespace Symfony\Component\HttpKernel\Event
{
if (! class_exists(ControllerEvent::class) && class_exists(FilterControllerEvent::class)) {
/** @internal This class extends a third party vendor, so we mark as internal to not expose upstream BC breaks */
class ControllerEvent extends FilterControllerEvent {
}
}
Expand Down

0 comments on commit 1f6dc8d

Please sign in to comment.