Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/.* export-ignore
/Src/Sunra/PhpSimple/simplehtmldom_1_5/app export-ignore
/Src/Sunra/PhpSimple/simplehtmldom_1_5/example export-ignore
/Src/Sunra/PhpSimple/simplehtmldom_1_5/manual export-ignore
/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase export-ignore
/Src/Sunra/PhpSimple/simplehtmldom_1_5/change_log.txt export-ignore
/Src/Sunra/PhpSimple/simplehtmldom_1_8_1/example export-ignore
/Src/Sunra/PhpSimple/simplehtmldom_1_8_1/manual export-ignore
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
php-simple-html-dom-parser
==========================

Version 1.5.2
Version 1.8.1

Adaptation for Composer and PSR-0 of:

Expand All @@ -20,7 +20,7 @@ Install
composer.phar
```json
"require": {
"sunra/php-simple-html-dom-parser": "1.5.2"
"sunra/php-simple-html-dom-parser": "1.8.1"
}
```

Expand Down
10 changes: 5 additions & 5 deletions Src/Sunra/PhpSimple/HtmlDomParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

namespace Sunra\PhpSimple;

require 'simplehtmldom_1_5'.DIRECTORY_SEPARATOR.'simple_html_dom.php';
require 'simplehtmldom_1_8_1'.DIRECTORY_SEPARATOR.'simple_html_dom.php';

class HtmlDomParser {

/**
* @return \simplehtmldom_1_5\simple_html_dom
* @return \simplehtmldom_1_8_1\simple_html_dom
*/
static public function file_get_html() {
return call_user_func_array ( '\simplehtmldom_1_5\file_get_html' , func_get_args() );
return call_user_func_array ( '\simplehtmldom_1_8_1\file_get_html' , func_get_args() );
}

/**
* get html dom from string
* @return \simplehtmldom_1_5\simple_html_dom
* @return \simplehtmldom_1_8_1\simple_html_dom
*/
static public function str_get_html() {
return call_user_func_array ( '\simplehtmldom_1_5\str_get_html' , func_get_args() );
return call_user_func_array ( '\simplehtmldom_1_8_1\str_get_html' , func_get_args() );
}
}
891 changes: 0 additions & 891 deletions Src/Sunra/PhpSimple/simplehtmldom_1_5/app/google.htm

This file was deleted.

144 changes: 0 additions & 144 deletions Src/Sunra/PhpSimple/simplehtmldom_1_5/app/index.php

This file was deleted.

Binary file not shown.
Binary file not shown.
Loading