Skip to content

Commit

Permalink
Merge pull request #247 from j0k3r/fix/pdfparser
Browse files Browse the repository at this point in the history
Allow new patch from PDFParser
  • Loading branch information
j0k3r authored Jan 4, 2021
2 parents a0f0e20 + 8db7d59 commit 987aa6c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 39 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
composer-options: "--optimize-autoloader --prefer-dist"

- name: "Run PHP CS Fixer"
run: "php vendor/bin/php-cs-fixer fix --verbose --dry-run --format=checkstyle | cs2pr"
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
composer-options: "--optimize-autoloader --prefer-dist"

- name: "Setup logs"
run: "mkdir -p build/logs"
Expand Down Expand Up @@ -80,8 +78,6 @@ jobs:

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
composer-options: "--optimize-autoloader --prefer-dist"

- name: "Setup logs"
run: "mkdir -p build/logs"
Expand Down Expand Up @@ -129,7 +125,6 @@ jobs:
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
composer-options: "--optimize-autoloader --prefer-dist"
dependency-versions: "lowest"

- name: "Setup logs"
Expand Down Expand Up @@ -166,8 +161,6 @@ jobs:

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
composer-options: "--optimize-autoloader --prefer-dist"

- name: "Setup adapter: Guzzle 5"
run: |
Expand Down Expand Up @@ -208,8 +201,6 @@ jobs:

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
composer-options: "--optimize-autoloader --prefer-dist"

- name: "Setup adapter: Guzzle 7"
run: |
Expand Down Expand Up @@ -250,8 +241,6 @@ jobs:

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
composer-options: "--optimize-autoloader --prefer-dist"

- name: "Setup adapter: cURL"
run: |
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"php-http/httplug": "^2.2",
"php-http/message": "^1.9",
"simplepie/simplepie": "^1.5",
"smalot/pdfparser": "^0.16",
"smalot/pdfparser": "~0.16",
"symfony/options-resolver": "^3.4|^4.0|^5.0",
"true/punycode": "^2.1"
},
Expand Down
25 changes: 0 additions & 25 deletions tests/Extractor/HttpClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,31 +352,6 @@ public function testNbRedirectsReached(): void
public function dataForConditionalComments(): array
{
return [
[
'url' => 'http://osqledaren.se/ol-gor-bangladesh/',
'html' => '<!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" >
<![endif]-->
<!--[if IE 7]>
<html id="ie7" >
<![endif]-->
<!--[if IE 8]>
<html id="ie8" >
<![endif]-->
<!--[if lte IE 8]>
<meta http-equiv="refresh" content="0; url=/ie.html" />
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
<html lang="sv-SE">
<!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta name="description" content="Osqledaren">
<meta name="keywords" content="osqledaren, newspaper">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1, minimum-scale=1, maximum-scale=1">',
'removeData' => '<meta http-equiv="refresh" content="0; url=/ie.html" />',
],
[
'url' => 'http://www.lemonde.fr/actualite-medias/article/2015/04/12/radio-france-vers-une-sortie-du-conflit_4614610_3236.html',
'html' => '<!doctype html>
Expand Down

0 comments on commit 987aa6c

Please sign in to comment.