From 7f414c8ff6c7ed51781474555ea99e762d6fc57e Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 30 May 2023 11:03:44 -0400 Subject: [PATCH] improvements, fixes and removing experimental from non-experimental classes --- src/StimulusBundle/README.md | 2 +- src/StimulusBundle/doc/index.rst | 3 ++- .../src/DependencyInjection/StimulusExtension.php | 2 -- src/StimulusBundle/src/Dto/StimulusAttributes.php | 2 -- src/StimulusBundle/src/Helper/StimulusHelper.php | 2 -- src/StimulusBundle/src/StimulusBundle.php | 2 -- src/StimulusBundle/src/Twig/StimulusTwigExtension.php | 2 -- 7 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/StimulusBundle/README.md b/src/StimulusBundle/README.md index 1899a5be903..bb3c4b05038 100644 --- a/src/StimulusBundle/README.md +++ b/src/StimulusBundle/README.md @@ -3,7 +3,7 @@ This bundle adds integration between Symfony, Stimulus and Symfony UX: - A) Twig `stimulus_*` functions & filters to add Stimulus controllers, actions & targets in your templates; -- B) Integration with Symfony UX & AssetMapper (this integration is **experimental**) +- B) Integration with Symfony UX & AssetMapper (this integration is [experimental](https://symfony.com/doc/current/contributing/code/experimental.html) - C) A helper service to build the Stimulus data attributes and use them in your services. [Read the documentation][1] diff --git a/src/StimulusBundle/doc/index.rst b/src/StimulusBundle/doc/index.rst index c1f0670f85a..9acac9ddd5d 100644 --- a/src/StimulusBundle/doc/index.rst +++ b/src/StimulusBundle/doc/index.rst @@ -4,7 +4,7 @@ StimulusBundle: Symfony integration with Stimulus This bundle adds integration between Symfony, `Stimulus`_ and Symfony UX: A) Twig `stimulus_*` functions & filters to add Stimulus controllers, actions & targets in your templates; -- B) Integration with Symfony UX & AssetMapper (this integration is **experimental**) +B) Integration with Symfony UX & AssetMapper (this integration is `experimental`_) C) A helper service to build the Stimulus data attributes and use them in your services. Installation @@ -311,3 +311,4 @@ is running in debug mode. .. _`parameters`: https://stimulus.hotwired.dev/reference/actions#action-parameters .. _`Stimulus Targets`: https://stimulus.hotwired.dev/reference/targets .. _`StimulusBundle Flex recipe`: https://github.com/symfony/recipes/tree/main/symfony/stimulus-bundle +.. _`experimental`: https://symfony.com/doc/current/contributing/code/experimental.html diff --git a/src/StimulusBundle/src/DependencyInjection/StimulusExtension.php b/src/StimulusBundle/src/DependencyInjection/StimulusExtension.php index 6e8422fd304..a4d65df2fd0 100644 --- a/src/StimulusBundle/src/DependencyInjection/StimulusExtension.php +++ b/src/StimulusBundle/src/DependencyInjection/StimulusExtension.php @@ -23,8 +23,6 @@ use Symfony\Component\HttpKernel\DependencyInjection\Extension; /** - * @experimental - * * @author Ryan Weaver */ final class StimulusExtension extends Extension implements PrependExtensionInterface, ConfigurationInterface diff --git a/src/StimulusBundle/src/Dto/StimulusAttributes.php b/src/StimulusBundle/src/Dto/StimulusAttributes.php index 6b6f18bab1f..5b2abd01d80 100644 --- a/src/StimulusBundle/src/Dto/StimulusAttributes.php +++ b/src/StimulusBundle/src/Dto/StimulusAttributes.php @@ -16,8 +16,6 @@ /** * Helper to build Stimulus-related HTML attributes. * - * @experimental - * * @author Ryan Weaver */ class StimulusAttributes implements \Stringable, \IteratorAggregate diff --git a/src/StimulusBundle/src/Helper/StimulusHelper.php b/src/StimulusBundle/src/Helper/StimulusHelper.php index 9ea4a5d39c7..9da0fc52592 100644 --- a/src/StimulusBundle/src/Helper/StimulusHelper.php +++ b/src/StimulusBundle/src/Helper/StimulusHelper.php @@ -16,8 +16,6 @@ use Twig\Loader\ArrayLoader; /** - * @experimental - * * @author Ryan Weaver */ final class StimulusHelper diff --git a/src/StimulusBundle/src/StimulusBundle.php b/src/StimulusBundle/src/StimulusBundle.php index 0fef19baf01..e03612a8530 100644 --- a/src/StimulusBundle/src/StimulusBundle.php +++ b/src/StimulusBundle/src/StimulusBundle.php @@ -14,8 +14,6 @@ use Symfony\UX\StimulusBundle\DependencyInjection\Compiler\RemoveAssetMapperServicesCompiler; /** - * @experimental - * * @author Ryan Weaver */ final class StimulusBundle extends Bundle diff --git a/src/StimulusBundle/src/Twig/StimulusTwigExtension.php b/src/StimulusBundle/src/Twig/StimulusTwigExtension.php index 0b78bd4654c..f5bf828ce65 100644 --- a/src/StimulusBundle/src/Twig/StimulusTwigExtension.php +++ b/src/StimulusBundle/src/Twig/StimulusTwigExtension.php @@ -18,8 +18,6 @@ use Twig\TwigFunction; /** - * @experimental - * * @author Ryan Weaver */ final class StimulusTwigExtension extends AbstractExtension