diff --git a/src/Laravel/Providers/ScoutApmServiceProvider.php b/src/Laravel/Providers/ScoutApmServiceProvider.php index f3ab6cef..3d81531c 100644 --- a/src/Laravel/Providers/ScoutApmServiceProvider.php +++ b/src/Laravel/Providers/ScoutApmServiceProvider.php @@ -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'; diff --git a/src/ScoutApmBundle/DependencyInjection/ScoutApmExtension.php b/src/ScoutApmBundle/DependencyInjection/ScoutApmExtension.php index ff86d1cc..7902b716 100644 --- a/src/ScoutApmBundle/DependencyInjection/ScoutApmExtension.php +++ b/src/ScoutApmBundle/DependencyInjection/ScoutApmExtension.php @@ -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 { /** diff --git a/src/ScoutApmBundle/ScoutApmBundle.php b/src/ScoutApmBundle/ScoutApmBundle.php index bb9a19cb..31b1cf78 100644 --- a/src/ScoutApmBundle/ScoutApmBundle.php +++ b/src/ScoutApmBundle/ScoutApmBundle.php @@ -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']; diff --git a/src/ScoutApmBundle/Twig/TwigDecorator.php b/src/ScoutApmBundle/Twig/TwigDecorator.php index f35ca261..7975b015 100644 --- a/src/ScoutApmBundle/Twig/TwigDecorator.php +++ b/src/ScoutApmBundle/Twig/TwigDecorator.php @@ -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; diff --git a/src/ScoutApmBundle/symfony-version-compatibility.php b/src/ScoutApmBundle/symfony-version-compatibility.php index 591f8697..7f8e6fa7 100644 --- a/src/ScoutApmBundle/symfony-version-compatibility.php +++ b/src/ScoutApmBundle/symfony-version-compatibility.php @@ -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 { } }