Jérémy Benoist
c6425cc28b
Merge pull request #58 from j0k3r/fix/test-php8
...
Enable tests for PHP 8
6 years ago
Jeremy Benoist
e6ad806460
Enable tests on PHP 8
6 years ago
Jérémy Benoist
3fa88461a0
Merge pull request #57 from j0k3r/fix/html5-parser
...
Use a new deps for HTML5 parser
6 years ago
Jeremy Benoist
6a8ecf232f
Use a new deps for HTML5 parser
...
`electrolinux/php-html5lib` was quite old and incompatible with the upcoming Composer 2.0.
Jumping to `masterminds/html5` for the same result. Also the lib is maintained.
Also:
- keep README in vendors
- use new Scrutinizer engine
- test with lower deps
- remove php-coveralls dev deps and download the phar during the CI build
6 years ago
Jérémy Benoist
52b1ddba57
Merge pull request #55 from j0k3r/fix/cleanup-travis
...
Cleanup travis
6 years ago
Jeremy Benoist
90c625bb57
Cleanup travis
6 years ago
Jérémy Benoist
4d1c3b1777
Merge pull request #54 from j0k3r/fix/phpstan
...
Fix PHPStan (again)
6 years ago
Jeremy Benoist
d649b59414
Fixing PHPUnit versions
6 years ago
Jeremy Benoist
44bebfc3d6
Only install PHPStan when we need it
...
This is to avoid error when installing it on PHP < 7.1
6 years ago
Jeremy Benoist
b1acc9ed73
Fix PHPStan (again)
...
Also cleanup
6 years ago
Jérémy Benoist
9306996b47
Merge pull request #53 from j0k3r/openload.co
...
Add openload.co to media detection
7 years ago
Jeremy Benoist
bb75b4f089
Fix PHPStan
7 years ago
Jeremy Benoist
11d2946904
Add openload.co to media detection
7 years ago
nicofrand
ff78c63e6d
Skip empty (empty innerHTML) nodes when grabbing article
7 years ago
Jérémy Benoist
f808c1b0a2
Merge pull request #50 from j0k3r/fix/non-well-formed-numeric-value
...
Fix “A non well formed numeric value encountered”
7 years ago
Jeremy Benoist
bb65caf864
Fix “A non well formed numeric value encountered”
7 years ago
Jérémy Benoist
de1b1d9775
Merge pull request #48 from Simounet/feature/out-removed-from-negative
...
\bout removed from negative content
7 years ago
Simounet
2e20f76195
\bout removed from negative content
7 years ago
Jérémy Benoist
3c0289bf89
Merge pull request #46 from j0k3r/phpstan
...
Enable PHPStan
7 years ago
Jeremy Benoist
74d9cc605a
Enable PHPStan
7 years ago
Jérémy Benoist
6a0f3337a6
Merge pull request #45 from j0k3r/fix/update-fixer-rules
...
Update fixer rules
7 years ago
Jeremy Benoist
2dce2879bf
Update fixer rules
...
Following graby, wallabag, etc.
7 years ago
Jérémy Benoist
49ce4233fa
Merge pull request #42 from Kdecherf/fix-tidy
...
tidy: use tidy_repair_string instead of tidy_parse_string+tidy_clean_repair
7 years ago
Kevin Decherf
26c881d864
tidy: use tidy_repair_string instead of tidy_parse_string+tidy_clean_repair
...
A change released in tidy 5.6.0 breaks php-tidy when using
tidy_parse_string+tidy_clean_repair and wrap=0, incorrectly wrapping
every single word. Also it seems that $tidy->value should not be used to
retrieve the repaired html as far as it is undocumented and for internal
use.
We replace the call with tidy_repair_string which directly returns the
repaired string.
Relates to https://github.com/htacg/tidy-html5/issues/673
Relates to https://bugs.php.net/bug.php?id=75947
Tests pass.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
7 years ago
Jérémy Benoist
db69fe59a2
Merge pull request #44 from j0k3r/fix/coveralls-upload
...
Update path to coveralls bin
7 years ago
Jeremy Benoist
a78f01f656
Update path to coveralls bin
7 years ago
Jérémy Benoist
db4508003b
Merge pull request #43 from Kdecherf/composer-bump
...
Composer bump, php-cs bump to v2, travis update
7 years ago
Kevin Decherf
15b12ea2d6
travis: remove PHP < 5.6 and related stuff, phpcs on 7.2, 7.3 not fail
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
7 years ago
Kevin Decherf
694f0308fe
composer: bump dependencies, move to php-cs v2
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
7 years ago
Jérémy Benoist
bbe9021fe7
Merge pull request #36 from Kdecherf/failing-test
...
tests: fix possible typo in testPostFilters() leading to failure
7 years ago
Jérémy Benoist
9dee4a240d
Add some badges
7 years ago
Jérémy Benoist
eef6d6d456
Merge pull request #41 from j0k3r/testing-7.2-7.3
...
Updating to 7.2
7 years ago
Jeremy Benoist
30a577c617
Dumping HHVM
7 years ago
Jeremy Benoist
70b393a2a3
Remove custom stuff for 7.2
7 years ago
Jeremy Benoist
9ab6d0d9e8
Updating to 7.2
7 years ago
Jérémy Benoist
8712db510e
Merge pull request #40 from Simounet/giphy-allowed
...
Giphy added to allowed medias
7 years ago
Simounet
422c74f29c
Giphy added to allowed medias
7 years ago
Jérémy Benoist
ed3393a79f
Merge pull request #38 from Simounet/feature/media-added-to-positive
...
Media class added to positive candidates
8 years ago
Simounet
63cd304dba
Media class added to positive candidates
...
Fix Mediapart images.
8 years ago
Jérémy Benoist
43939f88d9
Merge pull request #37 from Kdecherf/footnotes-candidates
...
Keep elements with 'footnote' as possible candidates
9 years ago
Kevin Decherf
3a7350a8a7
tests: fix possible typo in testPostFilters() leading to failure
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
9 years ago
Kevin Decherf
4c68cc9f09
Keep elements with 'footnote' as possible candidates
...
Should fix https://github.com/wallabag/wallabag/issues/3100
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
9 years ago
Jérémy Benoist
276684ab6d
Merge pull request #35 from j0k3r/travis
...
Fix PHP 5.3 builds
9 years ago
Jeremy Benoist
163058aeff
Fix PHP 5.3 builds
9 years ago
Jérémy Benoist
6427dd7371
Merge pull request #32 from j0k3r/html5
...
Add missing HTML5 class
9 years ago
Jeremy Benoist
613a63c062
CS
9 years ago
Jeremy Benoist
05089bbd03
Add missing HTML5 class
9 years ago
Jérémy Benoist
5ac82f3c87
Merge pull request #30 from j0k3r/avoid-php-warning
...
Avoid php warning
9 years ago
Jeremy Benoist
85fb92a042
Fix tests
9 years ago
Jeremy Benoist
f2a43b476c
Avoid PHP Warning
...
This isn't the best solution but the previous one using `@` wasn't really better.
Appending a string into a fragment might generate some warning if the string contains bad entity.
For example `+`.
9 years ago