mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
ci: disallow the sizeof function in linter (#4134)
This commit is contained in:
parent
0eac7a0784
commit
206bebc7bd
8 changed files with 28 additions and 20 deletions
|
@ -26,7 +26,7 @@ class VieDeMerdeBridge extends BridgeAbstract
|
|||
|
||||
$html = getSimpleHTMLDOM(self::URI, []);
|
||||
$quotes = $html->find('article.bg-white');
|
||||
if (sizeof($quotes) === 0) {
|
||||
if (count($quotes) === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue