<commit_before><?php
/**
 * Created by PhpStorm.
 *
 * <NAME> (<EMAIL>)
 *
 * User: ducanh-ki
 * Date: 3/7/17
 * Time: 2:52 PM
 */

namespace CreativeDelta\User\Core\Controller;


use Zend\Authentication\AuthenticationService;
use Zend\Db\Adapter\AdapterInterface;
use Zend\Mvc\Controller\AbstractActionController;

class SecuredActionController extends AbstractActionController
{
    /** @var  AdapterInterface $dbAdapter */
    protected $dbAdapter;

    /**
     * ItemController constructor.
     * @param AdapterInterface $dbAdapter
     */
    public function __construct(AdapterInterface $dbAdapter)
    {
        $this->dbAdapter = $dbAdapter;
    }

    public function getAuthenticationService()
    {
        /** @var AuthenticationService $authService */
        $authService = new AuthenticationService();
        return $authService;
    }
}<commit_msg>Ignored getServiceLocator() deprecation warning exception<commit_after><?php
/**
 * Created by PhpStorm.
 *
 * <NAME> (<EMAIL>)
 *
 * User: ducanh-ki
 * Date: 3/7/17
 * Time: 2:52 PM
 */

namespace CreativeDelta\User\Core\Controller;


use Zend\Authentication\AuthenticationService;
use Zend\Db\Adapter\AdapterInterface;
use Zend\Mvc\Controller\AbstractActionController;

class SecuredActionController extends AbstractActionController
{
    /** @var  AdapterInterface $dbAdapter */
    protected $dbAdapter;

    /**
     * ItemController constructor.
     * @param AdapterInterface $dbAdapter
     */
    public function __construct(AdapterInterface $dbAdapter)
    {
        $this->dbAdapter = $dbAdapter;
    }

    public function getAuthenticationService()
    {
        /** @var AuthenticationService $authService */
        $authService = new AuthenticationService();
        return $authService;
    }

    public function getServiceLocator()
    {
        return $this->serviceLocator;
    }
}
{'fraction_non_alphanumeric': 0.10807918673087212, 'fraction_numerical': 0.00749063670411985, 'mean_word_length': 3.3287037037037037, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '3426610', 'n_tokens_mistral': 540, 'n_tokens_neox': 518, 'n_words': 113}