mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-29 02:50:31 +02:00
[.travis] Fix several phpcs and phpunit errors (#1799)
This commit is contained in:
@@ -103,8 +103,8 @@ class MarktplaatsBridge extends BridgeAbstract {
|
||||
$item['content'] .= "<br />\n<br />\n<br />\n" . json_encode($listing);
|
||||
}
|
||||
}
|
||||
$item['content'] .= "<br>\n<br>\nPrice: " . $listing->priceInfo->priceCents/100;
|
||||
$item['content'] .= " (" . $listing->priceInfo->priceType .")";
|
||||
$item['content'] .= "<br>\n<br>\nPrice: " . $listing->priceInfo->priceCents / 100;
|
||||
$item['content'] .= ' (' . $listing->priceInfo->priceType . ')';
|
||||
if(!empty($listing->location->cityName)) {
|
||||
$item['content'] .= "<br><br>\n" . $listing->location->cityName;
|
||||
}
|
||||
@@ -117,11 +117,11 @@ class MarktplaatsBridge extends BridgeAbstract {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function getName(){
|
||||
if(!is_null($this->getInput('q'))) {
|
||||
return $this->getInput('q') . ' - Marktplaats';
|
||||
}
|
||||
return parent::getName();
|
||||
}
|
||||
if(!is_null($this->getInput('q'))) {
|
||||
return $this->getInput('q') . ' - Marktplaats';
|
||||
}
|
||||
return parent::getName();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user