<commit_before><?php
namespace Profideo\FormulaInterpretor\Command;

use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

/**
 * Change visibility of an PHPExcel_Calculation variable visibility to be able to create custom functions
 *
 * Class ChangePhpExcelAttributeVisibilityCommand
 * @package Profideo\FormulaInterpretor\Command
 */
class ChangePhpExcelAttributeVisibilityCommand extends ContainerAwareCommand
{
    /**
     * @var OutputInterface $output
     */
    private $output;

    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $this
            ->setName('excelformulas:changePhpExcelAttributeVisibility')
            ->setDescription('Change visibility of an PHPExcel_Calculation variable visibility to be able to create custom functions');
    }

    /**
     * {@inheritdoc}
     */
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        /** @var OutputInterface $output */
        $this->output = $output;

        $container = $this->getContainer();

        try {
            $file = $this->getContainer()->get('kernel')->getRootDir() . "/../vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php";
            $fileContent = file_get_contents($file);<commit_msg>Change command name<commit_after><?php
namespace Profideo\FormulaInterpretor\Command;

use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

/**
 * Change visibility of an PHPExcel_Calculation variable visibility to be able to create custom functions
 *
 * Class ChangePhpExcelAttributeVisibilityCommand
 * @package Profideo\FormulaInterpretor\Command
 */
class FormulaInterpreterChangeAttributeVisibilityCommand extends ContainerAwareCommand
{
    /**
     * @var OutputInterface $output
     */
    private $output;

    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $this
            ->setName('formulainterpretor:changeAttributeVisibility')
            ->setDescription('Change visibility of an PHPExcel_Calculation variable visibility to be able to create custom functions');
    }

    /**
     * {@inheritdoc}
     */
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        /** @var OutputInterface $output */
        $this->output = $output;

        $container = $this->getContainer();

        try {
            $file = $this->getContainer()->get('kernel')->getRootDir() . "/../vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php";
            $fileContent = file_get_contents($file);
{'fraction_non_alphanumeric': 0.10628994281870165, 'fraction_numerical': 0.0, 'mean_word_length': 3.5824345146379044, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3516244', 'n_tokens_mistral': 786, 'n_tokens_neox': 760, 'n_words': 161}