<commit_before><?php
/**
 * Created by PhpStorm.
 * User: Omar
 * Date: 4/23/2016
 * Time: 10:42 PM
 */

namespace Demo\CartBundle\Controller;

use Demo\CartBundle\Form\Type\SaleItemType;
use Demo\CartBundle\Util\FormsUtil;
use Symfony\Component\HttpFoundation\Request;
use Demo\CartBundle\Form\Type\ShoppingItemType;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Demo\CartBundle\Entity\ShoppingItem;
use Demo\CartBundle\Entity\SaleItem;
use Symfony\Component\HttpFoundation\Response;

class ProductController extends Controller
{
    public function createAction(Request $request, $type)
    {<commit_msg>Edit product controller to reflect namespace changes<commit_after><?php
/**
 * Created by PhpStorm.
 * User: Omar
 * Date: 4/23/2016
 * Time: 10:42 PM
 */

namespace Demo\CartBundle\Controller;

use Demo\CartBundle\Entity\Product\SaleItem;
use Demo\CartBundle\Entity\Product\ShoppingItem;
use Demo\CartBundle\Form\Type\SaleItemType;
use Symfony\Component\HttpFoundation\Request;
use Demo\CartBundle\Form\Type\ShoppingItemType;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;

use Symfony\Component\HttpFoundation\Response;

class ProductController extends Controller
{
    public function createAction(Request $request, $type)
    {
{'fraction_non_alphanumeric': 0.10284810126582279, 'fraction_numerical': 0.01740506329113924, 'mean_word_length': 5.487179487179487, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4259190', 'n_tokens_mistral': 407, 'n_tokens_neox': 390, 'n_words': 80}