<commit_before><?php

namespace Kanbanize\Controller;

use TaskManagement\Controller\TransitionsController;
use Zend\Http\Request;
use Zend\Http\Response;
use Zend\Mvc\MvcEvent;
use Zend\Mvc\Router\RouteMatch;
use PHPUnit_Framework_TestCase;
use Zend\Mvc\Router\Http\TreeRouteStack as HttpRouter;
use Zend\Mvc\Application;
use Zend\Http\Client;
use Zend\ServiceManager\ServiceManager;
use Kanbanize\Service\KanbanizeServiceFactory;
use DoctrineORMModule\Service\EntityManagerFactory;
use Ora\Kanbanize\KanbanizeTask;
use Ora\Kanbanize\Exception\IllegalRemoteStateException;
use Ora\TaskManagement\TaskService;

class KanbanizeControllerTest extends \PHPUnit_Framework_TestCase {
	
	protected $serviceManager;
	/**
	 * 
	 * @var KanbanizeService
	 */
	protected $kanbanizeService;
	protected $controller;
	protected $request;
	protected $response;
	protected $routeMatch;
	protected $event;
	protected $taskService;
	
	protected function setUp() {<commit_msg>Temporary fix for phpunit tests<commit_after><?php

namespace Kanbanize\Controller;

use TaskManagement\Controller\TransitionsController;
use Zend\Http\Request;
use Zend\Http\Response;
use Zend\Mvc\MvcEvent;
use Zend\Mvc\Router\RouteMatch;
use PHPUnit_Framework_TestCase;
use Zend\Mvc\Router\Http\TreeRouteStack as HttpRouter;
use Zend\Mvc\Application;
use Zend\Http\Client;
use Zend\ServiceManager\ServiceManager;
use Kanbanize\Service\KanbanizeServiceFactory;
use DoctrineORMModule\Service\EntityManagerFactory;
use Ora\Kanbanize\KanbanizeTask;
use Ora\Kanbanize\Exception\IllegalRemoteStateException;
use Ora\TaskManagement\TaskService;

class KanbanizeControllerTest extends \PHPUnit_Framework_TestCase {
	
	protected $serviceManager;
	/**
	 * 
	 * @var KanbanizeService
	 */
	protected $kanbanizeService;
	protected $controller;
	protected $request;
	protected $response;
	protected $routeMatch;
	protected $event;
	protected $taskService;
	
	protected function setUp() {
		//TODO: change in acceptance when setup and teardown of db is implemented
		putenv('APPLICATION_ENV=staging');
{'fraction_non_alphanumeric': 0.08549096238397655, 'fraction_numerical': 0.0, 'mean_word_length': 6.474452554744525, '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': '1376896', 'n_tokens_mistral': 645, 'n_tokens_neox': 612, 'n_words': 137}