`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
@ -1120,7 +1117,6 @@ class Readability implements LoggerAwareInterface
}
}
$candidates = $xpath->query('.//*[not(self::body) and (@class or @id or @style) and ((number(@readability) <40)ornot(@readability))]',$page->documentElement);
$candidates = $xpath->query('.//*[not(self::body) and (@class or @id or @style) and ((number(@readability) <40)ornot(@readability))]',$page->documentElement);