Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Classes/Command/ApplyTypo3CglCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@
use FriendsOfTYPO3\Kickstarter\Information\ExtensionInformation;
use FriendsOfTYPO3\Kickstarter\Service\Creator\RepositoryCreatorService;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;
use TYPO3\CMS\Core\Core\Environment;
use TYPO3\CMS\Core\Utility\GeneralUtility;

#[AsCommand('make:applycgl', 'Enforces TYPO3 Coding Guidelines (CGL) on extension code. Note: Requires TYPO3 to be installed in Composer mode.')]
#[AsNonSchedulableCommand]
class ApplyTypo3CglCommand extends Command
{
use ExtensionInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/CommandCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:command', 'Add a console command to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class CommandCommand extends Command
{
use AskForExtensionKeyTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/ControllerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\FileStructureBuilderTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:controller', 'Adds a controller to your TYPO3 extension. Supports Extbase and Individual PHP controllers.')]
#[AsNonSchedulableCommand]
class ControllerCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/EventCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@
use FriendsOfTYPO3\Kickstarter\Service\Creator\EventCreatorService;
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:event', 'Create a new Event for your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class EventCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/EventListenerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:eventlistener', 'Create a new Event Listener in your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class EventListenerCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/ExtensionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@
use FriendsOfTYPO3\Kickstarter\Service\Creator\ExtensionCreatorService;
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;
use TYPO3\CMS\Core\Core\Environment;
use TYPO3\CMS\Core\Registry;

#[AsCommand('make:extension', 'Create basic files for a new TYPO3 extension.')]
#[AsNonSchedulableCommand]
class ExtensionCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/LocallangCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@
use FriendsOfTYPO3\Kickstarter\Service\Creator\LocallangCreatorService;
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:locallang', 'Create a locallang_something.xlf file to handle translations.')]
#[AsNonSchedulableCommand]
class LocallangCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/MiddlewareCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,17 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;
use TYPO3\CMS\Core\Http\MiddlewareStackResolver;

#[AsCommand('make:middleware', 'Add a middleware handler to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class MiddlewareCommand extends Command
{
use AskForExtensionKeyTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/ModelCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;
use TYPO3\CMS\Core\Utility\GeneralUtility;

#[AsCommand('make:model', 'Add an Extbase model to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class ModelCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/ModuleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@
use FriendsOfTYPO3\Kickstarter\Traits\AskForExtensionKeyTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;
use TYPO3\CMS\Core\Utility\GeneralUtility;

#[AsCommand('make:module', 'Add an Extbase or native backend module to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class ModuleCommand extends Command
{
use AskForExtensionKeyTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/PluginCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\FileStructureBuilderTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;

#[AsCommand('make:plugin', 'Add a plugin to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class PluginCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/RepositoryCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:repository', 'Add an extbase repository to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class RepositoryCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/ServicesYamlCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:services-yaml', 'Add or update the services.yaml.')]
#[AsNonSchedulableCommand]
class ServicesYamlCommand extends Command
{
use AskForExtensionKeyTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/SitePackageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@
use FriendsOfTYPO3\Kickstarter\Information\SitePackageInformation;
use FriendsOfTYPO3\Kickstarter\Service\Creator\SitePackageCreatorService;
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;
use TYPO3\CMS\Core\Core\Environment;

#[AsCommand('make:site-package', 'Creates a basic site package')]
#[AsNonSchedulableCommand]
class SitePackageCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/SiteSetCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:site-set', 'Adds a site set configuration to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class SiteSetCommand extends Command
{
use AskForExtensionKeyTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/SiteSettingsDefinitionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,20 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Symfony\Component\DependencyInjection\Attribute\AutowireLocator;
use Symfony\Component\DependencyInjection\ServiceLocator;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;
use TYPO3\CMS\Core\Settings\CategoryDefinition;
use TYPO3\CMS\Core\Settings\SettingDefinition;

#[AsCommand('site-settings-definition', 'Adds a site settings definition to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class SiteSettingsDefinitionCommand extends Command
{
use AskForExtensionKeyTrait;
Expand Down
8 changes: 8 additions & 0 deletions Classes/Command/TableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,21 @@
use FriendsOfTYPO3\Kickstarter\Service\Creator\TableCreatorService;
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;
use TYPO3\CMS\Core\Utility\GeneralUtility;

#[AsCommand(
name: 'make:table',
description: 'dd a TCA table to your TYPO3 extension.',
aliases: ['make:tca'],
)]
#[AsNonSchedulableCommand]
class TableCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/TestEnvCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@
use FriendsOfTYPO3\Kickstarter\Service\Creator\TestEnvCreatorService;
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:make:testenv', 'Adds a test environment to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class TestEnvCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/TypeConverterCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:typeconverter', 'Create a new Extbase Type Converter to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class TypeConverterCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/UpgradeWizardCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:upgrade', 'Create a new Upgrade Wizard to your TYPO3 extension.')]
#[AsNonSchedulableCommand]
class UpgradeWizardCommand extends Command
{
use CreatorInformationTrait;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Command/ValidatorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@
use FriendsOfTYPO3\Kickstarter\Traits\CreatorInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\ExtensionInformationTrait;
use FriendsOfTYPO3\Kickstarter\Traits\TryToCorrectClassNameTrait;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use TYPO3\CMS\Core\Attribute\AsNonSchedulableCommand;

#[AsCommand('make:validator', 'Create a new Validator for a property or model. See also https://docs.typo3.org/permalink/t3coreapi:extbase-domain-validator')]
#[AsNonSchedulableCommand]
class ValidatorCommand extends Command
{
use AskForExtensionKeyTrait;
Expand Down
Loading