<commit_before><?php
/**
 * @copyright    Copyright (C) 2007 - 2014 <NAME> and Timble CVBA. (http://www.timble.net)
 * @license        Mozilla Public License, version 2.0
 * @link        http://github.com/joomlatools/joomla-console for the canonical source repository
 */

namespace Joomlatools\Console\Command;

use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

use Joomlatools\Console\Joomla\Bootstrapper;

class ExtensionRegister extends SiteAbstract
{
    /**
     * name of extension
     *
     * @var string
     */
    protected $extension = '';
    /**
     * type of extension
     *
     * @var string
     */
    protected $type = '';
    /**
     * File cache
     *
     * @var array
     */
    protected $typeMap = '';
    /**
     * default values
     * @var array
     */
    protected $defaults = '';
    /**
     * extension exceptions
     * @var string
     */
    protected $exceptions = '';

    protected function configure()
    {
        parent::configure();

        $this
            ->setName('extension:register')
            ->setDescription('Register an extension with the with the `#__extensions` table.')
            ->addArgument(
                'extension',
                InputArgument::REQUIRED,
                'The extension name to register'
            )->addArgument(
                'type',
                InputArgument::OPTIONAL,
                'Type of extension being registered. ')
            ->addOption(
                'folder',
                null,
                InputOption::VALUE_OPTIONAL,
                'Specifically for the Plugin typed extension, default "system"'
            )->addOption(<commit_msg>re #141 - fixing typo identified by Mati<commit_after><?php
/**
 * @copyright    Copyright (C) 2007 - 2014 <NAME> and Timble CVBA. (http://www.timble.net)
 * @license        Mozilla Public License, version 2.0
 * @link        http://github.com/joomlatools/joomla-console for the canonical source repository
 */

namespace Joomlatools\Console\Command;

use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

use Joomlatools\Console\Joomla\Bootstrapper;

class ExtensionRegister extends SiteAbstract
{
    /**
     * name of extension
     *
     * @var string
     */
    protected $extension = '';
    /**
     * type of extension
     *
     * @var string
     */
    protected $type = '';
    /**
     * File cache
     *
     * @var array
     */
    protected $typeMap = '';
    /**
     * default values
     * @var array
     */
    protected $defaults = '';
    /**
     * extension exceptions
     * @var string
     */
    protected $exceptions = '';

    protected function configure()
    {
        parent::configure();

        $this
            ->setName('extension:register')
            ->setDescription('Register an extension with the `#__extensions` table.')
            ->addArgument(
                'extension',
                InputArgument::REQUIRED,
                'The extension name to register'
            )->addArgument(
                'type',
                InputArgument::OPTIONAL,
                'Type of extension being registered. ')
            ->addOption(
                'folder',
                null,
                InputOption::VALUE_OPTIONAL,
                'Specifically for the Plugin typed extension, default "system"'
            )->addOption(
{'fraction_non_alphanumeric': 0.1115949918345128, 'fraction_numerical': 0.006260206859009254, 'mean_word_length': 1.9282868525896415, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7244990', 'n_tokens_mistral': 997, 'n_tokens_neox': 951, 'n_words': 235}