<commit_before><?php
namespace Application\Plugin;

use \Shareshop\Application;
class Auth extends \Shareshop\Plugin\AbstractPlugin {
	use \Shareshop\Auth;
	
	public function __construct($algorithm = 'md5', $iterations = 1)
	{
		$this->_alg = $algorithm;
		$this->_iter = $iterations;
	}
	
	public function update($event)
	{
		$config = Application::getConfig();
		$state = Application::getPluginManager()->getState();
		/* @var $request \Shareshop\Request */
		$request = $state['request'];
		print_r($request);
		echo '<br />' . $request->getController();
		$controller = $request->getController();
		if (in_array($controller, explode(",", $config->auth->paths))) {
			echo 'auth path';
		}
	}	
}<commit_msg>removing output of auth plugin<commit_after><?php
namespace Application\Plugin;

use \Shareshop\Application;
class Auth extends \Shareshop\Plugin\AbstractPlugin {
	use \Shareshop\Auth;
	
	public function __construct($algorithm = 'md5', $iterations = 1)
	{
		$this->_alg = $algorithm;
		$this->_iter = $iterations;
	}
	
	public function update($event)
	{
		$config = Application::getConfig();
		$state = Application::getPluginManager()->getState();
		/* @var $request \Shareshop\Request */
		$request = $state['request'];
		//print_r($request);
		//echo '<br />' . $request->getController();
		$controller = $request->getController();
		if (in_array($controller, explode(",", $config->auth->paths))) {
			//echo 'auth path';
		}
	}
	
	public function authorize()
	{
		
	}
}
{'fraction_non_alphanumeric': 0.1767881241565452, 'fraction_numerical': 0.002699055330634278, 'mean_word_length': 4.472324723247232, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 19, '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': '2855066', 'n_tokens_mistral': 518, 'n_tokens_neox': 479, 'n_words': 99}