<commit_before><?php

namespace Progi1984;

class YATSPHP {
  private $_docroot;
  private $_template;
  private $_searchpath;
  private $_vars = array();
  private $_hiddenSection = array();
  private $_levelImbrication = 0;

  private $_renderSectionAutohide = 'no';

  public function define($psFilename, $psDocRoot = null, $psSearchPath = null){
    if(is_null($psDocRoot) && substr($psFilename, 0, 1) != DIRECTORY_SEPARATOR){
      $psDocRoot = getcwd().'/';
    }
    if(!is_null($psSearchPath)){
      $this->_searchpath = $psSearchPath;<commit_msg>IMPROVED : Support de Composer<commit_after><?php

namespace YATSPHP;

class YATSPHP {
  private $_docroot;
  private $_template;
  private $_searchpath;
  private $_vars = array();
  private $_hiddenSection = array();
  private $_levelImbrication = 0;

  private $_renderSectionAutohide = 'no';

  public function define($psFilename, $psDocRoot = null, $psSearchPath = null){
    if(is_null($psDocRoot) && substr($psFilename, 0, 1) != DIRECTORY_SEPARATOR){
      $psDocRoot = getcwd().'/';
    }
    if(!is_null($psSearchPath)){
      $this->_searchpath = $psSearchPath;
{'fraction_non_alphanumeric': 0.14108251996450755, 'fraction_numerical': 0.008873114463176575, 'mean_word_length': 4.611940298507463, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2952849', 'n_tokens_mistral': 384, 'n_tokens_neox': 370, 'n_words': 82}