<commit_before><?php

/*
 * This file is part of the Pho package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Pho\Cli;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Filesystem\Filesystem;

use Symfony\Component\Process\Process;
use Symfony\Component\Process\Exception\ProcessFailedException;

class BuildCommand extends Command
{

    protected $compiler, $extension;
    private $remote_api_url = 'https://phonetworks.com/api/compile.php';
    private $remote_download_url = 'http://phonetworks.com/api/';

    protected function configure()
    {
        $this
            ->setName('build')
            ->setDescription('Builds graphql schema into executable Pho')
            ->addArgument('source', InputArgument::OPTIONAL, 'The directory where the graphql schema resides.')
            ->addArgument('destination', InputArgument::OPTIONAL, 'The directory where the compiled Pho files will go.')
            ->addArgument('extension', InputArgument::OPTIONAL, 'The extension to scan for graphql schema files.');
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $source = $input->getArgument('source');
        $destination = $input->getArgument('destination');
        $this->extension = $input->getArgument('extension');
        if(empty($source)) { 
            $source = 'schema';
        }<commit_msg>updated the url<commit_after><?php

/*
 * This file is part of the Pho package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Pho\Cli;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Filesystem\Filesystem;

use Symfony\Component\Process\Process;
use Symfony\Component\Process\Exception\ProcessFailedException;

class BuildCommand extends Command
{

    protected $compiler, $extension;
    private $remote_api_url = 'https://build.phonetworks.com/api/compile.php';
    private $remote_download_url = 'https://build.phonetworks.com/api/';

    protected function configure()
    {
        $this
            ->setName('build')
            ->setDescription('Builds graphql schema into executable Pho')
            ->addArgument('source', InputArgument::OPTIONAL, 'The directory where the graphql schema resides.')
            ->addArgument('destination', InputArgument::OPTIONAL, 'The directory where the compiled Pho files will go.')
            ->addArgument('extension', InputArgument::OPTIONAL, 'The extension to scan for graphql schema files.');
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $source = $input->getArgument('source');
        $destination = $input->getArgument('destination');
        $this->extension = $input->getArgument('extension');
        if(empty($source)) { 
            $source = 'schema';
        }
{'fraction_non_alphanumeric': 0.11743666169895678, 'fraction_numerical': 0.0, 'mean_word_length': 3.66759388038943, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 27, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5404502', 'n_tokens_mistral': 891, 'n_tokens_neox': 873, 'n_words': 234}