File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77## [ Unreleased]
88
99### Removed
10- - Compatibility with TYPO3 v12
10+ - Compatibility with TYPO3 v12 ( # 38 )
1111
1212## [ 4.2.1] - 2025-10-17
1313
Original file line number Diff line number Diff line change 1212namespace Brotkrueml \CodeHighlight \Preview ;
1313
1414use Brotkrueml \CodeHighlight \Extension ;
15+ use Symfony \Component \DependencyInjection \Attribute \Autoconfigure ;
1516use TYPO3 \CMS \Backend \Preview \StandardContentPreviewRenderer ;
1617use TYPO3 \CMS \Backend \View \BackendLayout \Grid \GridColumnItem ;
1718use TYPO3 \CMS \Core \Service \FlexFormService ;
1819
1920/**
2021 * @internal
2122 */
23+ #[Autoconfigure(public: true )]
2224final class ContentPreviewRenderer extends StandardContentPreviewRenderer
2325{
2426 private const MAX_CODE_SNIPPET_LINES = 20 ;
Original file line number Diff line number Diff line change 1212namespace Brotkrueml \CodeHighlight \Service ;
1313
1414use Brotkrueml \CodeHighlight \Extension ;
15+ use Symfony \Component \DependencyInjection \Attribute \Autoconfigure ;
1516use TYPO3 \CMS \Core \Localization \LanguageService ;
1617
1718/**
1819 * @internal
1920 */
21+ #[Autoconfigure(public: true )]
2022final class ProgrammingLanguages
2123{
2224 /**
Original file line number Diff line number Diff line change 1919use Brotkrueml \CodeHighlight \Event \EnrichCodeSnippetEvent ;
2020use Brotkrueml \CodeHighlight \Extension ;
2121use Psr \Http \Message \ServerRequestInterface ;
22+ use Symfony \Component \DependencyInjection \Attribute \Autoconfigure ;
2223use TYPO3 \CMS \Core \EventDispatcher \EventDispatcher ;
2324use TYPO3 \CMS \Core \Page \PageRenderer ;
2425use TYPO3 \CMS \Core \Service \FlexFormService ;
2728/**
2829 * @internal
2930 */
31+ #[Autoconfigure(public: true )]
3032final class CodeSnippetGenerator
3133{
3234 private const PRE_ID_PREFIX = 'codesnippet ' ;
Original file line number Diff line number Diff line change @@ -7,9 +7,6 @@ services:
77 Brotkrueml\CodeHighlight\ :
88 resource : ' ../Classes/*'
99
10- Brotkrueml\CodeHighlight\UserFunctions\CodeSnippetGenerator :
11- public : true
12-
1310 Brotkrueml\CodeHighlight\EventListener\CommandLine :
1411 tags :
1512 - name : event.listener
@@ -45,9 +42,3 @@ services:
4542 - name : event.listener
4643 identifier : ' codehighlight/treeview'
4744 before : ' codehighlight/language'
48-
49- Brotkrueml\CodeHighlight\Preview\ContentPreviewRenderer :
50- public : true
51-
52- Brotkrueml\CodeHighlight\Service\ProgrammingLanguages :
53- public : true
You can’t perform that action at this time.
0 commit comments