<commit_before><?php

/**
 * @package         Billing
 * @copyright       Copyright (C) 2012-2013 S.D.O.C. LTD. All rights reserved.
 * @license         GNU General Public License version 2 or later; see LICENSE.txt
 */
require_once APPLICATION_PATH . '/application/controllers/Action/Api.php';

/**
 * Remove action class
 *
 * @package  Action
 * 
 * @since    2.6
 */
class RemoveAction extends ApiAction {

	/**
	 * method to execute the refund
	 * it's called automatically by the api main controller
	 */
	public function execute() {
		Billrun_Factory::log()->log("Execute remove", Zend_Log::INFO);
		$request = $this->getRequest()->getRequest(); // supports GET / POST requests
		Billrun_Factory::log()->log("Input: " . print_R($request, 1), Zend_Log::INFO);

		$stamps = array();
		foreach ($request['stamps'] as $line_stamp) {<commit_msg>fix phpdoc<commit_after><?php

/**
 * @package         Billing
 * @copyright       Copyright (C) 2012-2013 S.D.O.C. LTD. All rights reserved.
 * @license         GNU General Public License version 2 or later; see LICENSE.txt
 */
require_once APPLICATION_PATH . '/application/controllers/Action/Api.php';

/**
 * Remove action class
 *
 * @package  Action
 * 
 * @since    2.6
 */
class RemoveAction extends ApiAction {

	/**
	 * method to execute remove of billing lines (only credit and active)
	 * it's called automatically by the api main controller
	 */
	public function execute() {
		Billrun_Factory::log()->log("Execute remove", Zend_Log::INFO);
		$request = $this->getRequest()->getRequest(); // supports GET / POST requests
		Billrun_Factory::log()->log("Input: " . print_R($request, 1), Zend_Log::INFO);

		$stamps = array();
		foreach ($request['stamps'] as $line_stamp) {
{'fraction_non_alphanumeric': 0.14459224985540775, 'fraction_numerical': 0.013880855986119144, 'mean_word_length': 3.5767195767195767, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '119646', 'n_tokens_mistral': 557, 'n_tokens_neox': 508, 'n_words': 151}