<commit_before><?php

/*!
 * CSS Rule Saver - v0.1.0
 *
 * Copyright (c) 2013 <NAME>, http://dmolsen.com
 * Licensed under the MIT license
 *
 */

// load php-selector
require __DIR__."/lib/php-selector/selector.php";

class cssRuleSaver {
	
	// default vars for cssRuleSaver
	protected $htmlData = "";
	protected $ruleSets = array();
	protected $atRules  = array();
	protected $dom;
	
	/**
	* Load the CSS data into the $this->ruleSets and $this->atRules arrays
	* @param  {String}       the filename of the CSS file
	*/
	public function loadCSS($file) {
		
		if (!file_exists($file)) {
			$this->error("The CSS file you supplied doesn't seem to exist. Check the path.");
		}<commit_msg>updated version number<commit_after><?php

/*!
 * CSS Rule Saver - v0.2.0
 *
 * Copyright (c) 2013 <NAME>, http://dmolsen.com
 * Licensed under the MIT license
 *
 */

// load php-selector
require __DIR__."/lib/php-selector/selector.php";

class cssRuleSaver {
	
	// default vars for cssRuleSaver
	protected $htmlData = "";
	protected $ruleSets = array();
	protected $atRules  = array();
	protected $dom;
	
	/**
	* Load the CSS data into the $this->ruleSets and $this->atRules arrays
	* @param  {String}       the filename of the CSS file
	*/
	public function loadCSS($file) {
		
		if (!file_exists($file)) {
			$this->error("The CSS file you supplied doesn't seem to exist. Check the path.");
		}
{'fraction_non_alphanumeric': 0.14151624548736463, 'fraction_numerical': 0.010108303249097473, 'mean_word_length': 3.3448275862068964, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5856214', 'n_tokens_mistral': 475, 'n_tokens_neox': 441, 'n_words': 142}