Skip to content

Commit

Permalink
[TASK] Declare all classes @internal
Browse files Browse the repository at this point in the history
Styleguide is not API.
  • Loading branch information
lolli42 committed Nov 1, 2023
1 parent 2c104e9 commit 6807ffb
Show file tree
Hide file tree
Showing 92 changed files with 184 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Command/GeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

/**
* Generate TCA for Styleguide backend (create / delete)
*
* @internal
*/
final class GeneratorCommand extends Command
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/Controller/BackendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@

/**
* Styleguide main backend module in the help toolbar
*
* @internal
*/
#[Controller]
final class BackendController
Expand Down
2 changes: 2 additions & 0 deletions Classes/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@

/**
* General styleguide exception
*
* @internal
*/
class Exception extends \Exception {}
2 changes: 2 additions & 0 deletions Classes/Form/Element/User1Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

/**
* A user function rendering a type=user TCA type used in user_1
*
* @internal
*/
final class User1Element extends AbstractFormElement
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/Service/KauderwelschService.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

/**
* Get test strings
*
* @internal
*/
final class KauderwelschService
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/AbstractGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

/**
* Manage a page tree with all test / demo styleguide data.
*
* @internal
*/
abstract class AbstractGenerator
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@

/**
* TcaDataGenerator exception
*
* @internal
*/
class Exception extends \TYPO3\CMS\Styleguide\Exception {}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

/**
* Implement some standard stuff
*
* @internal
*/
abstract class AbstractFieldGenerator
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/ConfigDefault.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Use "default" value if set in config
*
* @internal
*/
final class ConfigDefault extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=check fields
*
* @internal
*/
final class TypeCheck extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeColor.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=color fields
*
* @internal
*/
final class TypeColor extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeDatetime.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=datetime fields
*
* @internal
*/
final class TypeDatetime extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=datetime fields with dbType=datetime
*
* @internal
*/
final class TypeDatetimeDbTypeDatetime extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=datetime fields with format=date
*
* @internal
*/
final class TypeDatetimeFormatDate extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=datetime fields with format=date and dbType=date
*
* @internal
*/
final class TypeDatetimeFormatDateDbTypeDate extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

/**
* Generate data for type=datetime fields with format=time
*
* @internal
*/
final class TypeDatetimeFormatTime extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

/**
* Generate data for type=datetime fields with format=timesec
*
* @internal
*/
final class TypeDatetimeFormatTimesec extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for mandatory type=datetime fields with format=date
*
* @internal
*/
final class TypeDatetimeRequiredFormatDate extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=email fields
*
* @internal
*/
final class TypeEmail extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

/**
* Generate data for type=file fields
*
* @internal
*/
final class TypeFile extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeFlex.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

/**
* Generate data for type=flex fields
*
* @internal
*/
final class TypeFlex extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeFolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

/**
* Generate data for type=folder fields
*
* @internal
*/
final class TypeFolder extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

/**
* Generate data for type=group fields
*
* @internal
*/
final class TypeGroupAllowedBeUsers extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

/**
* Generate data for type=group fields
*
* @internal
*/
final class TypeGroupAllowedBeUsersBeGroups extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

/**
* Generate data for type=group fields
*
* @internal
*/
final class TypeGroupAllowedPages extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

/**
* Generate data for type=group fields
*
* @internal
*/
final class TypeGroupAllowedStaticdata extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

/**
* Generate data for type=group fields
*
* @internal
*/
final class TypeGroupAllowedSysFiles extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeGroupFal.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

/**
* Generate data for type=group fields
*
* @internal
*/
final class TypeGroupFal extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=none fields
*
* @internal
*/
final class TypeImageManipulation extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeInline1n.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

/**
* Generate data for type=inline fields
*
* @internal
*/
final class TypeInline1n extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* Generate data for type=inline fields.
* Special implementation for inline_1 of tx_styleguide_inline_expandsingle creates
* multiple child rows.
*
* @internal
*/
final class TypeInlineExpandsingle extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
/**
* Generate data for fal_1 field of
* tx_styleguide_elements_select_single_12_foreign
*
* @internal
*/
final class TypeInlineFalSelectSingle12Foreign extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* Generate data for type=inline fields.
* Special implementation for inline_1 of
* tx_styleguide_inline_usecombination and tx_styleguide_inline_usecombinationbox
*
* @internal
*/
final class TypeInlineUsecombination extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInput extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
/**
* Generate data for type=input fields
* "lipsum 23" for some special children
*
* @internal
*/
final class TypeInputDynamicTextWithRecordUid extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInputEvalAlphanum extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalIsIn.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInputEvalIsIn extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalMd5.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInputEvalMd5 extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalNum.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInputEvalNum extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInputEvalUpper extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeInputEvalYear.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInputEvalYear extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInputForceL10nParent extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInputMax4 extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
2 changes: 2 additions & 0 deletions Classes/TcaDataGenerator/FieldGenerator/TypeInputMax4Min4.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

/**
* Generate data for type=input fields
*
* @internal
*/
final class TypeInputMax4Min4 extends AbstractFieldGenerator implements FieldGeneratorInterface
{
Expand Down
Loading

0 comments on commit 6807ffb

Please sign in to comment.