<commit_before><?php
/**
 * Created by PhpStorm.
 * User: ivan
 * Date: 21.01.15
 * Time: 10:16
 */
namespace AppBundle\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route as Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method as Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template as Template;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use AppBundle\Service\Redmine;

class RedmineController extends Controller
{
    /**
     * @Route("/redmine", name="redmine")
     * @Method({"GET"})
     * @Template()
     */
    public function indexAction()
    {
        $config = array('https://redmine.ekreative.com', '2fda745bb4cdd835fdf41ec1fab82a13ddc1a54c');
        $redmine = new Redmine($config);
        $redmine->getIssues("?query_id=1");
        return array(<commit_msg>chenge congig<commit_after><?php
/**
 * Created by PhpStorm.
 * User: ivan
 * Date: 21.01.15
 * Time: 10:16
 */
namespace AppBundle\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route as Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method as Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template as Template;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use AppBundle\Service\Redmine;

class RedmineController extends Controller
{
    /**
     * @Route("/redmine", name="redmine")
     * @Method({"GET"})
     * @Template()
     */
    public function indexAction()
    {
        $url = 'https://redmine.ekreative.com';
        $apiKey = '2fda745bb4cdd835fdf41ec1fab82a13ddc1a54c';

        $config = array($url, $apiKey);
        $redmine = new Redmine($config);
        $redmine->getIssues("?query_id=1");
        return array(
{'fraction_non_alphanumeric': 0.1311098332374928, 'fraction_numerical': 0.03335250143760782, 'mean_word_length': 3.8739495798319328, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '2486147', 'n_tokens_mistral': 584, 'n_tokens_neox': 553, 'n_words': 100}