1
0
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:
Eugene Molotov
2020-10-15 12:53:19 +05:00
committed by GitHub
parent 64ec488f70
commit 645a8f62c6
14 changed files with 41 additions and 47 deletions

View File

@@ -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'] .= "&nbsp;&nbsp;(" . $listing->priceInfo->priceType .")";
$item['content'] .= "<br>\n<br>\nPrice: " . $listing->priceInfo->priceCents / 100;
$item['content'] .= '&nbsp;&nbsp;(' . $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();
}
}