<commit_before><?php
/**
 * Facade for current module for dependent modules repos.
 * User: <NAME> <<EMAIL>>
 */
namespace Praxigento\Bonus\GlobalSales\Lib\Repo\Def;

use Praxigento\Bonus\Base\Lib\Entity\Compress;
use Praxigento\Bonus\Base\Lib\Repo\IModule as BonusBaseRepo;
use Praxigento\Bonus\GlobalSales\Lib\Entity\Cfg\Param;
use Praxigento\Bonus\GlobalSales\Lib\Entity\Qualification;
use Praxigento\Bonus\GlobalSales\Lib\Repo\decimal;
use Praxigento\Bonus\GlobalSales\Lib\Repo\IModule;
use Praxigento\Bonus\Loyalty\Lib\Repo\IModule as BonusLoyaltyRepo;
use Praxigento\Core\Repo\Def\Base;
use Praxigento\Pv\Data\Entity\Sale as PvSale;

class Module extends Base implements IModule
{
    /** @var BonusBaseRepo */
    protected $_repoBonusBase;
    /** @var BonusLoyaltyRepo */
    protected $_repoBonusLoyalty;
    /** @var  \Praxigento\Core\Tool\IPeriod */
    protected $_toolPeriod;
    /** @var  \Praxigento\Core\Transaction\Database\IManager */
    protected $_manTrans;
    /** @var \Praxigento\Core\Repo\IGeneric */
    protected $_repoBasic;

    public function __construct(
        \Magento\Framework\App\ResourceConnection $resource,
        \Praxigento\Core\Transaction\Database\IManager $manTrans,
        \Praxigento\Core\Repo\IGeneric $repoBasic,
        BonusBaseRepo $repoBonusBase,
        BonusLoyaltyRepo $repoBonusLoyalty,
        \Praxigento\Core\Tool\IPeriod $toolPeriod
    ) {
        parent::__construct($resource);
        $this->_manTrans = $manTrans;
        $this->_repoBasic = $repoBasic;
        $this->_toolPeriod = $toolPeriod;<commit_msg>MOBI-394 - Unit tests for Core module<commit_after><?php
/**
 * Facade for current module for dependent modules repos.
 * User: <NAME> <<EMAIL>>
 */
namespace Praxigento\Bonus\GlobalSales\Lib\Repo\Def;

use Praxigento\Bonus\Base\Lib\Entity\Compress;
use Praxigento\Bonus\Base\Lib\Repo\IModule as BonusBaseRepo;
use Praxigento\Bonus\GlobalSales\Lib\Entity\Cfg\Param;
use Praxigento\Bonus\GlobalSales\Lib\Entity\Qualification;
use Praxigento\Bonus\GlobalSales\Lib\Repo\decimal;
use Praxigento\Bonus\GlobalSales\Lib\Repo\IModule;
use Praxigento\Bonus\Loyalty\Lib\Repo\IModule as BonusLoyaltyRepo;
use Praxigento\Core\Repo\Def\Db;
use Praxigento\Pv\Data\Entity\Sale as PvSale;

class Module extends Db implements IModule
{
    /** @var BonusBaseRepo */
    protected $_repoBonusBase;
    /** @var BonusLoyaltyRepo */
    protected $_repoBonusLoyalty;
    /** @var  \Praxigento\Core\Tool\IPeriod */
    protected $_toolPeriod;
    /** @var  \Praxigento\Core\Transaction\Database\IManager */
    protected $_manTrans;
    /** @var \Praxigento\Core\Repo\IGeneric */
    protected $_repoBasic;

    public function __construct(
        \Magento\Framework\App\ResourceConnection $resource,
        \Praxigento\Core\Transaction\Database\IManager $manTrans,
        \Praxigento\Core\Repo\IGeneric $repoBasic,
        BonusBaseRepo $repoBonusBase,
        BonusLoyaltyRepo $repoBonusLoyalty,
        \Praxigento\Core\Tool\IPeriod $toolPeriod
    ) {
        parent::__construct($resource);
        $this->_manTrans = $manTrans;
        $this->_repoBasic = $repoBasic;
        $this->_toolPeriod = $toolPeriod;
{'fraction_non_alphanumeric': 0.11909262759924386, 'fraction_numerical': 0.000945179584120983, 'mean_word_length': 3.6622613803230544, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, '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': '4092956', 'n_tokens_mistral': 1109, 'n_tokens_neox': 1120, 'n_words': 176}