mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-23 15:06:53 +00:00
apply phpcbf to TwitterBridge.php
This commit is contained in:
parent
5ed2f53ddc
commit
4e4dff207c
@ -159,8 +159,7 @@ class TwitterBridge extends BridgeAbstract {
|
|||||||
$item['timestamp'] = $tweet->find('span.js-short-timestamp', 0)->getAttribute('data-time');
|
$item['timestamp'] = $tweet->find('span.js-short-timestamp', 0)->getAttribute('data-time');
|
||||||
// generate the title
|
// generate the title
|
||||||
$item['title'] = strip_tags($this->fixAnchorSpacing($tweet->find('p.js-tweet-text', 0), '<a>'));
|
$item['title'] = strip_tags($this->fixAnchorSpacing($tweet->find('p.js-tweet-text', 0), '<a>'));
|
||||||
|
|
||||||
|
|
||||||
switch($this->queriedContext) {
|
switch($this->queriedContext) {
|
||||||
case 'By list':
|
case 'By list':
|
||||||
// Check if filter applies to list (using raw content)
|
// Check if filter applies to list (using raw content)
|
||||||
@ -172,7 +171,6 @@ class TwitterBridge extends BridgeAbstract {
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$this->processContentLinks($tweet);
|
$this->processContentLinks($tweet);
|
||||||
$this->processEmojis($tweet);
|
$this->processEmojis($tweet);
|
||||||
|
Loading…
Reference in New Issue
Block a user